-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: relocate EmptyBasket atom from WEB
- Loading branch information
1 parent
e524c38
commit eee03b6
Showing
3 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
src/components/atoms/EmptyBasket/EmptyBasket.styles.module.scss
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,27 @@ | ||
.container { | ||
display: flex; | ||
width: 100%; | ||
flex-wrap: wrap; | ||
justify-content: center; | ||
align-items: center; | ||
padding: 0 120px; | ||
} | ||
|
||
.cart { | ||
margin-top: 200px; | ||
height: 128px; | ||
width: 1182px; | ||
border-radius: 12px; | ||
background: #2c2238; | ||
text-align: center; | ||
} | ||
|
||
.text { | ||
padding-top: 50px; | ||
font-size: 20px; | ||
font-style: normal; | ||
font-weight: 500; | ||
line-height: 24px; | ||
letter-spacing: 0; | ||
text-align: center; | ||
} |
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,15 @@ | ||
import React from 'react' | ||
|
||
import cx from 'classnames' | ||
|
||
import css from './EmptyBasket.styles.module.scss' | ||
|
||
export const EmptyBasket = () => { | ||
return ( | ||
<div className={cx(css.container)}> | ||
<div className={cx(css.cart)}> | ||
<span className={cx(css.text)}>Ваша корзина пуста</span> | ||
</div> | ||
</div> | ||
) | ||
} |
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 @@ | ||
export * from './EmptyBasket' |