File tree Expand file tree Collapse file tree 3 files changed +43
-0
lines changed
src/components/atoms/EmptyBasket Expand file tree Collapse file tree 3 files changed +43
-0
lines changed Original file line number Diff line number Diff line change
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
+ }
Original file line number Diff line number Diff line change
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
+ }
Original file line number Diff line number Diff line change
1
+ export * from './EmptyBasket'
You can’t perform that action at this time.
0 commit comments