1
1
import { Text , Grid , Center , Button } from "@mantine/core" ;
2
+ import BaseButton from "@/src/components/baseButton" ;
2
3
import { VenteCard } from "@/src/components/productsComponents/mainProd2" ;
3
4
import Head from "next/head" ;
4
5
import { CardsCarousel } from "@/src/components/carousel" ;
@@ -34,7 +35,7 @@ const Events = ({ bestSelling }) => {
34
35
fontSize : "18px"
35
36
} ,
36
37
wrapper : {
37
- margin : "0 15px "
38
+ margin : "10px 55px "
38
39
}
39
40
}
40
41
@@ -55,7 +56,7 @@ const Events = ({ bestSelling }) => {
55
56
< div >
56
57
< CardsCarousel />
57
58
< div style = { styles . wrapper } >
58
- < h1 > Meilleurs Ventes </ h1 >
59
+ < h2 style = { { marginTop : "20px" , color : "#937b44" } } > NOS MEILLEURS VENTES </ h2 >
59
60
< Grid style = { { padding : "30px" } } >
60
61
{ bestSelling &&
61
62
bestSelling . map ( ( product ) => {
@@ -70,18 +71,19 @@ const Events = ({ bestSelling }) => {
70
71
< Grid . Col sm = { 10 } offset = { 1 } md = { 5 } >
71
72
< Image src = { "/VIT_D.jpg" } style = { { borderRadius : "32px" } } width = { 500 } height = { 380 } />
72
73
</ Grid . Col >
73
- < Grid . Col sm = { 10 } md = { 5 } >
74
- < h1 > DÉCOUVREZ Les Vitamines D3 a plusieurs dosages </ h1 >
74
+ < Grid . Col style = { { margin : "50px" } } sm = { 10 } md = { 5 } >
75
+ < h2 > DÉCOUVREZ Les Vitamines D3 a plusieurs dosages </ h2 >
75
76
< p > Dosée à 500,1000,4000,50.000 UI par comprimé, elles est très agréable à utiliser au quotidien. La vitamine D contribue au fonctionnement normal du système immunitaire. Elles contribue également à maintenir une ossature et une fonction musculaire normale.</ p >
76
- < Link href = { "/products/d3" } > Découvrir le produit</ Link >
77
+ < Link href = { "/products/d3" } > </ Link >
78
+ < BaseButton link = { "/products/d3" } text = { "Découvrir le produit" } />
77
79
</ Grid . Col >
78
80
</ Grid >
79
81
80
- < Grid >
81
- < Grid . Col offset = { 1 } sm = { 10 } md = { 5 } >
82
- < h1 > apple cider complex newgate </ h1 >
82
+ < Grid style = { { marginTop : "20px" } } >
83
+ < Grid . Col style = { { paddingLeft : "50px" , display : "flex" , justifyContent : "center" , flexDirection : "column" } } offset = { 1 } sm = { 10 } md = { 5 } >
84
+ < h1 style = { { textTransform : "uppercase" } } > Apple Cider Complex < br /> Newgate </ h1 >
83
85
< p > lorem ipsum </ p >
84
- < Link href = { "/products/1" } > Découvrir le produit</ Link >
86
+ < BaseButton link = { "/products/1" } text = { " Découvrir le produit" } / >
85
87
</ Grid . Col >
86
88
< Grid . Col sm = { 10 } md = { 5 } >
87
89
< Image src = { "/appl2.jpg" } width = { 500 } height = { 500 } />
@@ -99,23 +101,28 @@ const Events = ({ bestSelling }) => {
99
101
</ Grid >
100
102
</ section >
101
103
102
- < Center > < h1 > Découvrez nos offres du moment</ h1 > </ Center >
104
+ < section style = { { margin : "40px 0" , textTransform : "uppercase" } } >
105
+ < Center > < h2 > Découvrez nos offres du moment</ h2 > </ Center >
103
106
< Center > < Text > Profitez de nos promotions pour essayer quelque chose de nouveau!</ Text > </ Center >
104
-
107
+ </ section >
105
108
< Grid >
106
- < Grid . Col style = { { border : "1px solid #ccc" } } offset = { 1 } sm = { 10 } md = { 4 } >
109
+ < Grid . Col style = { { border : "1px solid #ccc" , padding : "40px" } } offset = { 1 } sm = { 10 } md = { 4 } >
107
110
< Center >
108
111
< Image src = { "/NG.jpg" } width = { 350 } height = { 350 } />
109
- </ Center >
110
- < h1 > DISPONNIBLE DANS LES PHARMACIES </ h1 >
112
+ </ Center >
113
+ < Center >
114
+ < h3 style = { { textAlign : "center" } } > DISPONNIBLE DANS LES PHARMACIES </ h3 >
115
+ </ Center >
111
116
</ Grid . Col >
112
- < Grid . Col style = { { border : "1px solid #ccc" } } offset = { 1 } sm = { 10 } md = { 4 } >
117
+ < Grid . Col style = { { border : "1px solid #ccc" , padding : "40px" } } offset = { 1 } sm = { 10 } md = { 4 } >
113
118
< Center >
114
119
< Image src = { "/az3.jpg" } width = { 350 } height = { 350 } />
115
- </ Center >
116
- < h1 > nos Meilleurs ventes</ h1 >
120
+ </ Center >
121
+ < div style = { { textAlign : "Center" } } >
122
+ < h3 style = { { textTransform : "uppercase" , marginTop :"10px" } } > nos Meilleurs ventes</ h3 >
117
123
< Text > Découvrez vos produits préférés dès maintenant sur notre site</ Text >
118
- < Link href = { "/products/8" } > Découvrir</ Link >
124
+ < BaseButton link = { "/products/8" } text = { "Découvrir" } />
125
+ </ div >
119
126
</ Grid . Col >
120
127
</ Grid >
121
128
</ div >
0 commit comments