Skip to content

Commit eee03b6

Browse files
Uzhastin-Nikitathe-homeless-god
authored andcommitted
feat: relocate EmptyBasket atom from WEB
1 parent e524c38 commit eee03b6

File tree

3 files changed

+43
-0
lines changed

3 files changed

+43
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
.container {
2+
display: flex;
3+
width: 100%;
4+
flex-wrap: wrap;
5+
justify-content: center;
6+
align-items: center;
7+
padding: 0 120px;
8+
}
9+
10+
.cart {
11+
margin-top: 200px;
12+
height: 128px;
13+
width: 1182px;
14+
border-radius: 12px;
15+
background: #2c2238;
16+
text-align: center;
17+
}
18+
19+
.text {
20+
padding-top: 50px;
21+
font-size: 20px;
22+
font-style: normal;
23+
font-weight: 500;
24+
line-height: 24px;
25+
letter-spacing: 0;
26+
text-align: center;
27+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import React from 'react'
2+
3+
import cx from 'classnames'
4+
5+
import css from './EmptyBasket.styles.module.scss'
6+
7+
export const EmptyBasket = () => {
8+
return (
9+
<div className={cx(css.container)}>
10+
<div className={cx(css.cart)}>
11+
<span className={cx(css.text)}>Ваша корзина пуста</span>
12+
</div>
13+
</div>
14+
)
15+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './EmptyBasket'

0 commit comments

Comments
 (0)