File tree 3 files changed +12
-38
lines changed
3 files changed +12
-38
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ const skeletonAnimation = keyframes({
10
10
} ) ;
11
11
12
12
export const ProductSkeletonContainer = styled ( "div" , {
13
- width : " 100%" ,
13
+ width : ' 100%' ,
14
14
height : "70vh" ,
15
15
display : "grid" ,
16
16
gridTemplateRows : "1fr 2rem" ,
Original file line number Diff line number Diff line change @@ -3,8 +3,18 @@ import { Swiper } from 'swiper/react';
3
3
4
4
5
5
export const SliderContainer = styled ( Swiper , {
6
+ '.swiper-wrapper' : {
7
+ display : 'flex' ,
8
+ gap : 1 , // só para o ProductSkeleton aparecer
9
+ } ,
10
+
11
+ ".swiper-slide" : {
12
+ maxWidth : 696 ,
13
+ } ,
14
+
6
15
'.swiper-button-prev' : {
7
- color : '$white'
16
+ // backgroundColor: 'red',
17
+ color : '$white' ,
8
18
} ,
9
19
'.swiper-button-next' : {
10
20
color : '$white' ,
Original file line number Diff line number Diff line change @@ -5,19 +5,7 @@ export const HomeContainer = styled("main", {
5
5
width : '100%' ,
6
6
maxWidth : 'calc(100vw - ((100vw - 1180px) / 2))' , // 1180 + ((largura da tela - 1180) / 2)
7
7
marginLeft : 'auto' ,
8
- // minHeight: 'calc(2rem - 100vh)',
9
8
marginBottom : '1rem' ,
10
- // overflow: 'hidden',
11
- } )
12
-
13
- export const SliderContainer = styled ( "div" , {
14
- position : "relative" ,
15
- display : "flex" ,
16
- gap : "3rem" ,
17
- margin : "0 auto" ,
18
- ".embla__slide" : {
19
-
20
- }
21
9
} ) ;
22
10
23
11
export const Product = styled ( "div" , {
@@ -85,27 +73,3 @@ export const ProductFooter = styled("footer", {
85
73
lineHeight : '140%' ,
86
74
} ,
87
75
} ) ;
88
-
89
-
90
- export const ArrowButton = styled ( "button" , {
91
- position : 'absolute' ,
92
- top : '50%' ,
93
- transform : 'translateY(-50%)' ,
94
- color : '$white' ,
95
- zIndex : 999 ,
96
- backgroundColor : 'transparent' ,
97
- border : 'none' ,
98
- outline : 'none' ,
99
-
100
- variants : {
101
- direction : {
102
- left : {
103
- left : 0 ,
104
- } ,
105
-
106
- right : {
107
- right : 0 ,
108
- }
109
- }
110
- }
111
- } )
You can’t perform that action at this time.
0 commit comments