generated from IvettaGoIT/react_vite
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
27 changed files
with
249 additions
and
71 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import {TextContainer, MainText, AccentText } from './EmptyProductList.styled'; | ||
|
||
import PropTypes from 'prop-types'; | ||
|
||
const EmptyProductList = () => { | ||
return ( | ||
<TextContainer> | ||
<MainText> <AccentText>Sorry, no results were found</AccentText> for the product filters you selected. You may want to consider other search options to find the product you want. Our range is wide and you have the opportunity to find more options that suit your needs.</MainText> | ||
<AccentText>Try changing the search parameters.</AccentText> | ||
</TextContainer> | ||
); | ||
}; | ||
|
||
|
||
|
||
export default EmptyProductList; |
38 changes: 38 additions & 0 deletions
38
src/components/EmptyProductList/EmptyProductList.styled.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import styled from '@emotion/styled'; | ||
import { mq } from '../../utils'; | ||
|
||
export const TextContainer = styled.div` | ||
${mq.tablet} { | ||
width: 580px; | ||
margin-top: 45px; | ||
} | ||
${mq.desktop} { | ||
margin-top: 100px; | ||
} | ||
`; | ||
export const MainText = styled.p` | ||
color: rgba(239, 237, 232, 0.30); | ||
margin-bottom: 16px; | ||
font-size: 14px; | ||
line-height: 1.28; | ||
${mq.tablet} { | ||
} | ||
${mq.desktop} { | ||
} | ||
`; | ||
export const AccentText = styled.span` | ||
color: #E6533C; | ||
font-size: 14px; | ||
line-height: 1.28; | ||
${mq.tablet} { | ||
gap: 32px; | ||
} | ||
${mq.desktop} { | ||
} | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.