diff --git a/data/products.json b/data/products.json index 1555d97..58f413e 100644 --- a/data/products.json +++ b/data/products.json @@ -172,7 +172,7 @@ }, { "id": 5, - "title": "VITAMINE D3 5,000 UI", + "title": "VITAMINE D3 50,000 UI", "desc": "VITAMINE D3", "category": ["Compléments Alimentaires" , "Gynecologie"] , "price": 720, @@ -197,7 +197,7 @@ "composantes": [ { "composanteActive": "Vitamine D", - "concentration": "5,000 IU" + "concentration": "50,000 IU" } ], "image": "/vit_d3_5000.png" @@ -881,6 +881,70 @@ } + ], + "composantes": [ + { + "composanteActive": "Vitamine B3", + "concentration": "16 mg" + }, + { + "composanteActive": "Vitamine B5", + "concentration": "6 mg" + }, + { + "composanteActive": "Vitamine B6", + "concentration": "1.4 mg" + }, + { + "composanteActive": "Vitamine B1 (Thiamin)", + "concentration": "1.1 mg" + }, + { + "composanteActive": "Vitamine B2 (Riboflavin)", + "concentration": "1.4 mg" + }, + { + "composanteActive": "Vitamine B12", + "concentration": "2.5 ug" + }, + { + "composanteActive": "Vitamine B9 (Folic Acid)", + "concentration": "200 ug" + }, + { + "composanteActive": "Vitamine B8 (Biotin)", + "concentration": "50 ug" + } + + ], + "image": "/b_complex.png" + },{ + "id": 19, + "title": "COMPLEX B", + "desc": "COMPLEX B", + "category": ["Compléments Alimentaires", "Dermatologie", "Gynecologie", "Pediatrie"] , + "price": 949.98, + "comprimes": "30 comprimes", + "utilisation": "6 ans et plus", + "mode d'emploi": "1 à 2 comprimés par jour a croquer ou selon les recommandations de votre médecin ou de votre pharmacien.", + "indications":[ + { + "name": "Prévention des malformations congénitales" + }, + { + "name": "Prévention d’anémie par carence en B9 et B12" + }, + { + "name": "Améliore les signes cutanéo-muqueax telle que: dermite séborréhéique, chéilite stomatite" + }, + { + "name": "Protège des neurones et réduit les douleurs neuropathiques" + }, + { + "name": "Augmente le métabolisme énergétique" + } + + ], "composantes": [ { diff --git a/pages/products/[id].js b/pages/products/[id].js index ef3f15b..8134ed0 100644 --- a/pages/products/[id].js +++ b/pages/products/[id].js @@ -1,4 +1,5 @@ import { useEffect, useState } from "react"; +import { IconCheck } from '@tabler/icons-react'; import { Text, Button, Grid, Kbd, Center, createStyles, Title, Divider} from "@mantine/core"; import { BadgeCard } from "@/src/components/productsComponents/mainProd"; import Link from "next/link"; @@ -10,18 +11,35 @@ import Head from "next/head"; import AgrandirImg from "@/src/components/ProdImgAgr"; const useStyles = createStyles((theme) => ({ + hip:{ + padding: "5px", + margin: '3px', + backgroundColor: "white", + color: "black", + borderRadius: "14px" + + }, kbd: { fontSize: "23px", color: "black", fontWeight: "bold", letterSpacing: "1px" }, - + Link: { + textDecoration: "none", + color: "white", + backgroundColor: "black", + fontWeight: "bold", + textTransform: "uppercase", + padding: "15px 40px", + width: "100%", + [theme.fn.smallerThan("sm")]: { + display: "block" + } + }, button: { - backgroundImage: `linear-gradient(135deg, ${theme.colors.teal[9]} 0%, ${ - theme.colors.teal[4] - } 100%)`, - marginLeft: "8px" + backgroundColor: "#5f594f", + marginLeft: "8px" } })) @@ -39,6 +57,8 @@ const Product = ({ id, data, similarProds }) => { }, wrapper: { margin: "20px auto", + display: "flex", + alignItems: "center" } } const [quantity, setQuantity] = useState(1); @@ -105,39 +125,42 @@ const Product = ({ id, data, similarProds }) => {
Vegan
-Végétarien
-Sans gluten
-Vegan
+Végétarien
+Sans gluten
+