ajout modif du github
This commit is contained in:
1 parent
5927d8e937
commit
e3ede7484e
7 files changed
+7672
-9
No files matched your search
@@ -10,7 +10,7 @@ const Footer = () => {
|
||||
return (
|
||||
<footer className={`${style.footer}`}>
|
||||
<div className={`${style['footerContent']}`}>
|
||||
<div className="container border-bottom">
|
||||
<div className="container p-3">
|
||||
<div className="row align-items-center">
|
||||
<div className="col-sm-6 col-md-3 d-flex justify-content-center">
|
||||
<Link href="/" passHref >
|
||||
|
||||
@@ -41,7 +41,7 @@ const NavBar = () => {
|
||||
|
||||
<div className={`justify-content-center text-center ${style['hidden-mobile']}`}>
|
||||
<Link href="/" legacyBehavior><a className={style.link} >Accueil</a></Link> |
|
||||
<Link href="/" legacyBehavior><a className={style.link} >Nos produits</a></Link> |
|
||||
<Link href="/tout-savoir" legacyBehavior><a className={style.link} >Tout Savoir</a></Link> |
|
||||
<Link href="/contact" legacyBehavior><a className={style.link} >Contactez-nous</a></Link> |
|
||||
{!session && <Link href="/connexion" legacyBehavior><a className={style.link} >Connexion</a></Link>}
|
||||
{session && <Link href="/connexion" legacyBehavior><a className={style.link} >Mon compte</a></Link>}
|
||||
@@ -66,7 +66,7 @@ const NavBar = () => {
|
||||
<a className={style.closebtn} onClick={closeNav}>×</a>
|
||||
<div className="overlay-content">
|
||||
<Link href="/contact" legacyBehavior><a className={style.link} >Accueil</a></Link> |
|
||||
<Link href="/" legacyBehavior><a className={style.link} >Nos produits</a></Link> |
|
||||
<Link href="/tout-savoir" legacyBehavior><a className={style.link} >Tout savoir</a></Link> |
|
||||
|
||||
|
||||
<Link href="/" legacyBehavior><a className={style.link} >Contactez-nous</a></Link> |
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ import rotatingLeftImage from '../public/images/coffret-degustation-mousselines-
|
||||
import rotatingRightImage from '../public/images/coffret-the-PhotoRoom.webp';
|
||||
import Link from "next/link";
|
||||
|
||||
import testerCodeCadeau from '../public/images/testerlecode.webp'
|
||||
import testerCodeCadeau from '../public/images/svg/testerlecode.svg'
|
||||
import feuilleGauche from '../public/images/feuilleGauche.webp'
|
||||
import feuilleDroite from '../public/images/feuilleBasDroite.webp'
|
||||
import unAnDeThe from '../public/images/unandethé.webp'
|
||||
|
||||
+12
-2
@@ -6,6 +6,7 @@ import style from '../styles/ToutSavoir.module.css'
|
||||
|
||||
import test from '../public/images/coffret-the-PhotoRoom.webp';
|
||||
import prisma from "../lib/prisma";
|
||||
import Link from "next/link";
|
||||
|
||||
export async function getStaticProps() {
|
||||
const produits = await prisma.produit.findMany();
|
||||
@@ -47,10 +48,19 @@ const ToutSavoir = ({ produits }: Props) => {
|
||||
{/* backgroundImagePath={'/images/ugh.png'} */}
|
||||
<div className="body-content">
|
||||
<h1 className="text-center mt-3">Tout savoir sur le jeu concours</h1>
|
||||
<div className="container">
|
||||
<div className="container mt-3">
|
||||
<p className="mt-5 text-center">
|
||||
Le jeu concours vous est proposé à l'occasion de ...
|
||||
Le jeu concours vous est proposé à l'occasion de l'ouverture de notre 10e boutique à Nice ! Pour participer, il vous suffit de faire un achat supérieur à 49€, un code vous sera fourni sur votre facture à saisir <Link href="/"><a>ici</a></Link>
|
||||
</p>
|
||||
<h2 className="text-center">Le gros lot</h2>
|
||||
<div className="row">
|
||||
<div className="col-12 col-lg-4">
|
||||
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€ !
|
||||
</div>
|
||||
</div>
|
||||
<div className="row">
|
||||
{produits.map((produit: Produit) => {
|
||||
return <div className="col-6 col-lg-3 d-flex justify-content-center my-2 my-lg-3" key={produit.id}>
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
|
After Width: | Height: | Size: 2.1 MiB |
File diff suppressed because it is too large.
Load diff
|
After Width: | Height: | Size: 2.0 MiB |
@@ -3,8 +3,9 @@
|
||||
/* margin-top:auto; */
|
||||
width:100%;
|
||||
display: table-footer-group;
|
||||
}
|
||||
|
||||
.footerContent{
|
||||
background-color: #006600e6;
|
||||
}
|
||||
|
||||
/* .footerContent{
|
||||
background-color: #006600e6;
|
||||
} */
|
||||
Reference in new issue
Block a user