Merge branch 'master' of https://git.dsp-archiwebo21-ad-ec-cb-mt.fr/cedric/The_Tip_Top into feature/page-admin
This commit is contained in:
commit
39e2ed4fce
11 files changed
+96
-121
No files matched your search
+13
-10
@@ -4,7 +4,7 @@ import Head from "next/head";
|
||||
import style from '../styles/ToutSavoir.module.css'
|
||||
|
||||
|
||||
import test from '../public/images/coffret-the-PhotoRoom.webp';
|
||||
import test from '../public/images/tea-with-three-jars.webp';
|
||||
import prisma from "../lib/prisma";
|
||||
import Link from "next/link";
|
||||
|
||||
@@ -56,7 +56,7 @@ const ToutSavoir = ({ produits }: Props) => {
|
||||
<h2 className="text-center">Le gros lot</h2>
|
||||
<div className="row">
|
||||
<div className="col-12 col-lg-4">
|
||||
Image
|
||||
Image
|
||||
</div>
|
||||
<div className="col-12 col-lg-8">
|
||||
En participant au moins une fois à notre jeu concours, vous vous qualifiez pour gagner le gros lot : <b>1 an de thé</b> d'une valeur de 360€ !
|
||||
@@ -67,16 +67,19 @@ const ToutSavoir = ({ produits }: Props) => {
|
||||
return <div className="col-6 col-lg-3 d-flex justify-content-center my-2 my-lg-3" key={produit.id}>
|
||||
<div className={`${style.aCard} card`}>
|
||||
<div className="d-flex justify-content-center p-3">
|
||||
<Image
|
||||
className="card-img-top" src={produit.image}
|
||||
width="286"
|
||||
height="180"
|
||||
alt="produit"
|
||||
/>
|
||||
<Image
|
||||
className="card-img-top" src={produit.image}
|
||||
width="286"
|
||||
height="180"
|
||||
alt="produit"
|
||||
/>
|
||||
</div>
|
||||
<div className="card-body">
|
||||
<div className="card-body d-flex flex-column h-100">
|
||||
<h5 className="card-title">{produit.nomProduit}</h5>
|
||||
<p className="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
|
||||
<p className="card-text d-flex flex-column h-100">{produit.description}
|
||||
<br />
|
||||
<b className="mt-auto pt-2">Prix conseillé : {produit.prixTtc} €</b>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user