Merge branch 'feature/cedric' of https://github.com/Eric-ciccotti/rest-nextjs-api-routes-auth into feature/eric
This commit is contained in:
commit
99ac2e0b79
20 files changed
+315
-169
No files matched your search
@@ -9,6 +9,7 @@ import Link from 'next/link';
|
||||
const Footer = () => {
|
||||
return (
|
||||
<footer className={`${style.footer}`}>
|
||||
<div className={`${style['footerContent']}`}>
|
||||
<div className="container border-bottom">
|
||||
<div className="row align-items-center">
|
||||
<div className="col-sm-6 col-md-3 d-flex justify-content-center">
|
||||
@@ -52,7 +53,7 @@ const Footer = () => {
|
||||
<div className="col-sm-6 col-md-3">
|
||||
<ul className="nav flex-column justify-content-md-around justify-content-sm-center mx-5">
|
||||
<li className="nav-item">
|
||||
<Link href="/CGU" legacyBehavior >
|
||||
<Link href="/cgu" legacyBehavior >
|
||||
<a className='px-2'>CGU</a>
|
||||
</Link>
|
||||
</li>
|
||||
@@ -64,9 +65,10 @@ const Footer = () => {
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<p className="text-center">Thé Tip Top © 2022 - projet fictif pour lequel aucun réel
|
||||
achat ou aucune réservation ne pourrait être effectué.</p>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,19 +1,13 @@
|
||||
import React, { ReactNode } from "react";
|
||||
import NavBar from "./NavBar";
|
||||
import Footer from "./Footer";
|
||||
import Content from "./Content";
|
||||
|
||||
type Props = {
|
||||
children?: React.ReactNode;
|
||||
};
|
||||
|
||||
|
||||
const layoutStyle = {
|
||||
height: "100vh"
|
||||
}
|
||||
|
||||
const Layout = ({ children }: Props) =>
|
||||
<div style={layoutStyle}>
|
||||
<div className="layout-container">
|
||||
<NavBar />
|
||||
{children}
|
||||
<Footer />
|
||||
|
||||
@@ -25,7 +25,7 @@ const NavBar = () => {
|
||||
}
|
||||
|
||||
let visitor = (
|
||||
<nav className={`${style.customcss} container-fluid`}>
|
||||
<nav className={`${style['navbar']}`}>
|
||||
|
||||
<div className="d-flex justify-content-center">
|
||||
<Image
|
||||
@@ -41,8 +41,8 @@ const NavBar = () => {
|
||||
|
||||
<div className={`justify-content-center text-center ${style['hidden-mobile']}`}>
|
||||
<Link href="/" legacyBehavior><a className={style.link} >Accueil</a></Link> |
|
||||
<Link href="/contact" legacyBehavior><a className={style.link} >Nos produits</a></Link> |
|
||||
<Link href="/" legacyBehavior><a className={style.link} >Contactez-nous</a></Link> |
|
||||
<Link href="/" legacyBehavior><a className={style.link} >Nos produits</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>}
|
||||
{session && <Link href="/" legacyBehavior><a onClick={() => signOut()} className={style.link} >Se déconnecter</a></Link>}
|
||||
@@ -65,8 +65,8 @@ const NavBar = () => {
|
||||
|
||||
<a className={style.closebtn} onClick={closeNav}>×</a>
|
||||
<div className="overlay-content">
|
||||
<Link href="/" legacyBehavior><a className={style.link} >Accueil</a></Link> |
|
||||
<Link href="/contact" legacyBehavior><a className={style.link} >Nos produits</a></Link> |
|
||||
<Link href="/contact" legacyBehavior><a className={style.link} >Accueil</a></Link> |
|
||||
<Link href="/" legacyBehavior><a className={style.link} >Nos produits</a></Link> |
|
||||
|
||||
|
||||
<Link href="/" legacyBehavior><a className={style.link} >Contactez-nous</a></Link> |
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
|
||||
import style from "../styles/Section.module.css"
|
||||
|
||||
const Section = ({ children, backgroundImagePath, customClass = "d-flex justify-content-center text-center align-items-center" }) => {
|
||||
const isImagePath = backgroundImagePath ? { backgroundImage: `url(${backgroundImagePath})` } : { backgroundColor: 'white' }
|
||||
return (
|
||||
<section
|
||||
className={`${style.section} ${customClass}`}
|
||||
style={isImagePath}
|
||||
>
|
||||
<div className="container">
|
||||
<div className={`${style['bloc-content']}`}>
|
||||
{children}
|
||||
</div>
|
||||
</div>
|
||||
</section >
|
||||
);
|
||||
};
|
||||
|
||||
export default Section;
|
||||
@@ -0,0 +1,30 @@
|
||||
import React from "react";
|
||||
import Head from "next/head";
|
||||
|
||||
const NotFound = () => {
|
||||
|
||||
return (
|
||||
<>
|
||||
<Head>
|
||||
<title>Page introuvable</title>
|
||||
<meta name="description" content="Page introuvable" />
|
||||
<meta name="robots" content="index, follow" />
|
||||
<meta name="googlebot" content="index, follow" />
|
||||
<meta name="googlebot-news" content="index, follow" />
|
||||
<meta name="slurp" content="index, follow" />
|
||||
<meta name="msnbot" content="index, follow" />
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="" />
|
||||
</Head>
|
||||
{/* backgroundImagePath={'/images/ugh.png'} */}
|
||||
<div className="body-content position-relative">
|
||||
<div className="position-absolute top-50 start-50 translate-middle">
|
||||
<h1 className="">Page introuvable</h1>
|
||||
<h4 className="fw-light">La page recherchée n'existe pas.</h4>
|
||||
</div>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
export default NotFound;
|
||||
+2
-2
@@ -15,8 +15,8 @@ const Cgu = () => {
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="" />
|
||||
</Head>
|
||||
<div className="container py-2 py-lg-3">
|
||||
<h1 className="text-center py-2 py-lg-3">Conditions générales d’utilisation du site et des services proposés.</h1>
|
||||
<div className="container py-2 py-md-3">
|
||||
<h1 className="text-center py-2 py-md-3">Conditions générales d’utilisation du site et des services proposés.</h1>
|
||||
<p>
|
||||
Le Site constitue une œuvre de l’esprit protégée par les dispositions du Code de la Propriété Intellectuelle et des Réglementations Internationales applicables. Le Client ne peut en aucune manière réutiliser, céder ou exploiter pour son propre compte tout ou partie des éléments ou travaux du Site.
|
||||
<br /><br />
|
||||
|
||||
+2
-1
@@ -134,7 +134,7 @@ const MainPage = ({ csrfToken }: Props) => {
|
||||
|
||||
|
||||
|
||||
<div className={`${style['bloc-content']} col-12 col-lg-6`}>
|
||||
<div className={`${style['bloc-content']} col-12 col-md-6`}>
|
||||
<h1 className="fw-light">Connexion</h1>
|
||||
|
||||
<SiGnuprivacyguard size={50} />
|
||||
@@ -171,6 +171,7 @@ const MainPage = ({ csrfToken }: Props) => {
|
||||
className={`form-check-input ${errors.acceptTerms ? 'is-invalid' : ''}`}
|
||||
{...register("acceptTerms")}
|
||||
name="acceptTerms"
|
||||
id="acceptTerms"
|
||||
/>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
import React from "react";
|
||||
import Head from "next/head";
|
||||
|
||||
|
||||
const Contact = () => {
|
||||
|
||||
return (
|
||||
<>
|
||||
<Head>
|
||||
<title>Contact</title>
|
||||
<meta name="description" content="Contact" />
|
||||
<meta name="robots" content="index, follow" />
|
||||
<meta name="googlebot" content="index, follow" />
|
||||
<meta name="googlebot-news" content="index, follow" />
|
||||
<meta name="slurp" content="index, follow" />
|
||||
<meta name="msnbot" content="index, follow" />
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="" />
|
||||
</Head>
|
||||
<div className="container">
|
||||
<h1 className="text-center py-2 py-md-3">Contactez nous</h1>
|
||||
<div className="row pt-2 pb-3">
|
||||
<div className="col-12 col-md-6">
|
||||
<h2 className="text-center pb-4">Nos coordonées</h2>
|
||||
<div className="px-2">
|
||||
<h2>Par téléphone</h2>
|
||||
<a href="tel:0165389423">01.65.38.94.23</a>
|
||||
<h2 className="mt-3">Par mail</h2>
|
||||
<a href="mailto:contact@thetiptop.com">contact@thetiptop.com</a>
|
||||
<h2 className="mt-3">Sur nos réseaux</h2>
|
||||
<div>Réseau 1</div>
|
||||
<div>Réseau 2</div>
|
||||
<div>Réseau 3</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className="col-12 col-md-6 text-center">
|
||||
<h2 className="text-center pb-3">Notre siège</h2>
|
||||
<iframe width="300" height="300" id="gmap_canvas" src="https://maps.google.com/maps?q=18%20rue%20L%C3%A9on%20Frot,%2075%20011%20Paris&t=&z=17&ie=UTF8&iwloc=&output=embed" frameBorder="0" scrolling="no" marginHeight={0} marginWidth={0}>
|
||||
</iframe>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
export default Contact;
|
||||
+30
-18
@@ -23,12 +23,16 @@ import feuilleDroite from '../public/images/feuilleBasDroite.webp'
|
||||
import unAnDeThe from '../public/images/unandethé.webp'
|
||||
import sablier from '../public/images/sablier.webp'
|
||||
import cadeau from '../public/images/cadeau.webp'
|
||||
import footerGrass from '../public/images/footer_image.webp'
|
||||
import jeuConcours from '../public/images/jeuconcours.webp'
|
||||
import { GetServerSideProps } from "next";
|
||||
|
||||
import { toast } from "react-toastify";
|
||||
|
||||
import footerGrass from '../public/images/footer_image.webp'
|
||||
|
||||
// // doesn't do anything, supposed to add the land in <html>
|
||||
// import "next.config.mjs";
|
||||
|
||||
|
||||
type CodeSubmitForm = {
|
||||
codeCadeau: string;
|
||||
@@ -124,8 +128,9 @@ const MainPage = () => {
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="" />
|
||||
</Head>
|
||||
|
||||
<div className={`${style['masthead']} d-flex justify-content-center align-items-center text-center`}>
|
||||
<div className={`${style['feuilleGauche']}`}>
|
||||
<div className={`${style['masthead']} body-content`}>
|
||||
<div className="d-flex flex-wrap justify-content-center align-items-center text-center">
|
||||
<div className={`${style['feuilleGauche']} ${style['imageContainer']}`}>
|
||||
<Image
|
||||
src={feuilleGauche}
|
||||
alt="thetiptop feuille Gauche"
|
||||
@@ -133,15 +138,7 @@ const MainPage = () => {
|
||||
className={`${style['rotatingSlow']}`}
|
||||
/>
|
||||
</div>
|
||||
<div className={`${style['feuilleDroite']}`}>
|
||||
<Image
|
||||
src={feuilleDroite}
|
||||
alt="thetiptop feuille Droite"
|
||||
layout="responsive"
|
||||
className={`${style['rotatingSlow']}`}
|
||||
/>
|
||||
</div>
|
||||
<div className={`${style['jeuConcours']}`}>
|
||||
<div className={`${style['jeuConcours']} ${style['imageContainer']}`}>
|
||||
<Image
|
||||
src={jeuConcours}
|
||||
alt="thetiptop jeu Concours"
|
||||
@@ -149,7 +146,7 @@ const MainPage = () => {
|
||||
className={`${style['zoomInOutCadeau']}`}
|
||||
/>
|
||||
</div>
|
||||
<div className={`${style['cadeau']}`}>
|
||||
<div className={`${style['cadeau']} ${style['imageContainer']}`}>
|
||||
<Image
|
||||
src={cadeau}
|
||||
alt="thetiptop cadeau"
|
||||
@@ -157,8 +154,17 @@ const MainPage = () => {
|
||||
className={`${style['zoomInOutJeuConcours']}`}
|
||||
/>
|
||||
</div>
|
||||
<div className="container align-items-center d-flex flex-column">
|
||||
<div className={`${style['bloc-content']} col-12 col-lg-6`}>
|
||||
<div className={`${style['feuilleDroite']} ${style['imageContainer']}`}>
|
||||
<Image
|
||||
src={feuilleDroite}
|
||||
alt="thetiptop feuille Droite"
|
||||
layout="responsive"
|
||||
className={`${style['rotatingSlow']}`}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div className="col-12 align-items-center d-flex flex-column">
|
||||
<div className={`${style['bloc-content']} col-12 col-md-6`}>
|
||||
<div className={`${style['imageWrapper']}`}>
|
||||
<Image
|
||||
src={testerCodeCadeau}
|
||||
@@ -172,19 +178,26 @@ const MainPage = () => {
|
||||
<input type="text"
|
||||
id="codeInput" aria-describedby="codeHelp"
|
||||
placeholder="A293049430..."
|
||||
minLength={10}
|
||||
maxLength={10}
|
||||
{...register('codeCadeau')}
|
||||
className={`form-control ${errors.codeCadeau ? 'is-invalid' : ''}`}
|
||||
|
||||
/>
|
||||
<small id="codeHelp" className="form-text text-muted">Code à usage unique</small>
|
||||
<div className="invalid-feedback">{errors.codeCadeau?.message}</div>
|
||||
<div className="invalid-feedback alert alert-danger">{errors.codeCadeau?.message}</div>
|
||||
</div>
|
||||
<div className="form-group mx-auto my-3 w-100">
|
||||
<button type="submit" className={`${style['aButton']} btn btn-primary`}>Découvrir mon cadeau !</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div className={`${style['footerGrass']}`}>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<div className={`${style['footerGrass']} position-absolute`}>
|
||||
<Image
|
||||
src={footerGrass}
|
||||
alt="thetiptop feuille Gauche"
|
||||
@@ -193,7 +206,6 @@ const MainPage = () => {
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import React from "react";
|
||||
import Head from "next/head";
|
||||
import style from "styled-jsx/style";
|
||||
|
||||
const MentionsLegales = () => {
|
||||
|
||||
@@ -16,8 +17,9 @@ const MentionsLegales = () => {
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="" />
|
||||
</Head>
|
||||
<div className="container py-2 py-lg-3">
|
||||
<h1 className="text-center py-2 py-lg-3">Mentions légales</h1>
|
||||
<div className={`${style['navbar']}`}>
|
||||
<div className="container py-2 py-md-3">
|
||||
<h1 className="text-center py-2 py-md-3">Mentions légales</h1>
|
||||
<h2>Définitions</h2>
|
||||
<p>
|
||||
Client : tout professionnel ou personne physique capable au sens des articles 1123 et suivants du Code civil, ou personne morale, qui visite le Site objet des présentes conditions générales.
|
||||
@@ -184,6 +186,7 @@ const MentionsLegales = () => {
|
||||
Tout litige en relation avec l’utilisation du site https://www.furiousducks.fr est soumis au droit français. En dehors des cas où la loi ne le permet pas, il est fait attribution exclusive de juridiction aux tribunaux compétents de Paris.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
{/* <div className={`${style['bloc-content']} col-12 col-lg-10 d-flex row my-2 mx-0 py-2 py-lg-2 px-0 px-lg-3 `}>
|
||||
{/* <div className={`${style['bloc-content']} col-12 col-md-10 d-flex row my-2 mx-0 py-2 py-md-2 px-0 px-md-3 `}>
|
||||
<h2 className="col-12 my-2">A gagner</h2>
|
||||
<div className="col d-flex justify-content-center">
|
||||
<div className={`${style['productToGain']}`}>
|
||||
|
||||
@@ -0,0 +1,95 @@
|
||||
import React from "react";
|
||||
import Image from 'next/image';
|
||||
import Head from "next/head";
|
||||
import style from '../styles/ToutSavoir.module.css'
|
||||
|
||||
|
||||
import test from '../public/images/coffret-the-PhotoRoom.webp';
|
||||
|
||||
const ToutSavoir = () => {
|
||||
|
||||
return (
|
||||
<>
|
||||
<Head>
|
||||
<title>Tout savoir</title>
|
||||
<meta name="description" content="Tout savoir" />
|
||||
<meta name="robots" content="index, follow" />
|
||||
<meta name="googlebot" content="index, follow" />
|
||||
<meta name="googlebot-news" content="index, follow" />
|
||||
<meta name="slurp" content="index, follow" />
|
||||
<meta name="msnbot" content="index, follow" />
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="" />
|
||||
</Head>
|
||||
{/* backgroundImagePath={'/images/ugh.png'} */}
|
||||
<div className="body-content">
|
||||
<h1 className="text-center mt-3">Tout savoir sur le jeu concours</h1>
|
||||
<div className="container">
|
||||
<p className="mt-5 text-center">
|
||||
Le jeu concours vous est proposé à l'occasion de ...
|
||||
</p>
|
||||
<div className="row">
|
||||
<div className="col-6 col-lg-3 d-flex justify-content-center my-2 my-lg-3">
|
||||
<div className={`${style.aCard} card`}>
|
||||
<Image
|
||||
className="card-img-top" src={test}
|
||||
width="286"
|
||||
height="180"
|
||||
alt="produit"
|
||||
/>
|
||||
<div className="card-body">
|
||||
<h5 className="card-title">Card title</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>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className="col-6 col-lg-3 d-flex justify-content-center my-2 my-lg-3">
|
||||
<div className={`${style.aCard} card`}>
|
||||
<Image
|
||||
className="card-img-top" src={test}
|
||||
width="286"
|
||||
height="180"
|
||||
alt="produit"
|
||||
/>
|
||||
<div className="card-body">
|
||||
<h5 className="card-title">Card title</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>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className="col-6 col-lg-3 d-flex justify-content-center my-2 my-lg-3">
|
||||
<div className={`${style.aCard} card`}>
|
||||
<Image
|
||||
className="card-img-top" src={test}
|
||||
width="286"
|
||||
height="180"
|
||||
alt="produit"
|
||||
/>
|
||||
<div className="card-body">
|
||||
<h5 className="card-title">Card title</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>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className="col-6 col-lg-3 d-flex justify-content-center my-2 my-lg-3">
|
||||
<div className={`${style.aCard} card`}>
|
||||
<Image
|
||||
className="card-img-top" src={test}
|
||||
width="286"
|
||||
height="180"
|
||||
alt="produit"
|
||||
/>
|
||||
<div className="card-body">
|
||||
<h5 className="card-title">Card title</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>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
export default ToutSavoir;
|
||||
@@ -49,7 +49,7 @@ const VerifyRequest = () => {
|
||||
<div className="container align-items-center d-flex flex-column">
|
||||
|
||||
|
||||
<div className={`${style['bloc-content']} col-12 col-lg-6`}>
|
||||
<div className={`${style['bloc-content']} col-12 col-md-6`}>
|
||||
<h1 className="fw-light">Un email a été envoyé</h1>
|
||||
<GrValidate size={100} />
|
||||
<div className="d-grid mt-4">
|
||||
|
||||
@@ -19,12 +19,7 @@
|
||||
}
|
||||
|
||||
.masthead {
|
||||
background-image: url('/images/pageprincipale.webp');
|
||||
background-size: cover;
|
||||
background-position: 50% 50%;
|
||||
background-repeat: no-repeat;
|
||||
padding-top: 5vh;
|
||||
height: 90vh;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
.footer {
|
||||
color: white;
|
||||
/* margin-top:auto; */
|
||||
width:100%;
|
||||
display: table-footer-group;
|
||||
}
|
||||
|
||||
.footerContent{
|
||||
background-color: #006600e6;
|
||||
color: white !important;
|
||||
padding-top: 20px;
|
||||
}
|
||||
+61
-78
@@ -4,35 +4,9 @@
|
||||
}
|
||||
|
||||
.masthead {
|
||||
padding-top: 5vh;
|
||||
height: 90vh;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.footerGrass {
|
||||
position: absolute;
|
||||
background-image: url('/image/footer_image.webp');
|
||||
background-repeat: repeat-x;
|
||||
background-size: contain;
|
||||
width: 100vw;
|
||||
/* animation: moveLeftRight 2s infinite; */
|
||||
position: absolute;
|
||||
bottom: -20px;
|
||||
}
|
||||
|
||||
@keyframes moveLeftRight {
|
||||
|
||||
|
||||
0%,
|
||||
100% {
|
||||
left: 10%;
|
||||
}
|
||||
|
||||
50% {
|
||||
right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.bloc-content {
|
||||
padding: 10vh;
|
||||
@@ -97,7 +71,6 @@
|
||||
}
|
||||
|
||||
@keyframes blinking {
|
||||
|
||||
0%,
|
||||
50%,
|
||||
100% {
|
||||
@@ -168,81 +141,91 @@
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*mobile*/
|
||||
@media only screen and (max-width: 767px) {
|
||||
.feuilleGauche {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
z-index: 9000;
|
||||
width: 25vw;
|
||||
}
|
||||
|
||||
.feuilleDroite {
|
||||
position: absolute;
|
||||
bottom: 0px;
|
||||
right: 0px;
|
||||
z-index: 9000;
|
||||
width: 25vw;
|
||||
}
|
||||
|
||||
.cadeau {
|
||||
position: absolute;
|
||||
bottom: 0px;
|
||||
left: 0px;
|
||||
z-index: 9000;
|
||||
}
|
||||
|
||||
.jeuConcours {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
right: 0px;
|
||||
z-index: 9000;
|
||||
}
|
||||
|
||||
.footerGrass {
|
||||
position: absolute;
|
||||
background-image: url('/image/footer_image.webp');
|
||||
background-size: contain;
|
||||
width: 100vw;
|
||||
bottom: -10px;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
.imageContainer {
|
||||
z-index: 1;
|
||||
width: 20vw;
|
||||
}
|
||||
|
||||
|
||||
.feuilleGauche, .feuilleDroite, .cadeau, .jeuConcours {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.feuilleGauche {
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
}
|
||||
|
||||
.feuilleDroite {
|
||||
bottom: 0px;
|
||||
right: 0px;
|
||||
}
|
||||
|
||||
.cadeau {
|
||||
bottom: 0px;
|
||||
left: 0px;
|
||||
}
|
||||
|
||||
.jeuConcours {
|
||||
top: 0px;
|
||||
right: 0px;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
.imageContainer {
|
||||
width: 10vw;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*grand écran*/
|
||||
@media only screen and (min-width: 767px) {
|
||||
@media only screen and (min-width: 768px) {
|
||||
.feuilleGauche {
|
||||
position: absolute;
|
||||
top: 1px;
|
||||
left: 1px;
|
||||
z-index: 9000;
|
||||
width: 25vw;
|
||||
}
|
||||
|
||||
.feuilleDroite {
|
||||
position: absolute;
|
||||
bottom: 15px;
|
||||
right: 15px;
|
||||
z-index: 9000;
|
||||
width: 25vw;
|
||||
}
|
||||
|
||||
.cadeau {
|
||||
position: absolute;
|
||||
bottom: 0px;
|
||||
left: 0px;
|
||||
z-index: 9000;
|
||||
}
|
||||
|
||||
.jeuConcours {
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
right: 15px;
|
||||
z-index: 9000;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.footerGrass {
|
||||
bottom: -5px;
|
||||
background-image: url('/image/footer_image.webp');
|
||||
background-repeat: repeat-x;
|
||||
background-size: contain;
|
||||
width: 100vw;
|
||||
/* animation: moveLeftRight 2s infinite; */
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
.footerGrass {
|
||||
bottom: -20px;
|
||||
}
|
||||
}
|
||||
/* @keyframes moveLeftRight {
|
||||
0%,
|
||||
100% {
|
||||
left: 10%;
|
||||
}
|
||||
50% {
|
||||
right: 0;
|
||||
}
|
||||
} */
|
||||
@@ -1,7 +1,5 @@
|
||||
.customcss {
|
||||
background-color: transparent !important;
|
||||
z-index: 9001;
|
||||
position: absolute;
|
||||
.navbar{
|
||||
display: table-header-group;
|
||||
}
|
||||
|
||||
.link {
|
||||
@@ -22,7 +20,7 @@
|
||||
width: 100%;
|
||||
bottom: 100%;
|
||||
position: fixed;
|
||||
z-index: 1;
|
||||
z-index: 9001;
|
||||
top: 0;
|
||||
left: 0;
|
||||
background-color: rgb(0, 0, 0);
|
||||
@@ -88,7 +86,7 @@
|
||||
}
|
||||
|
||||
/* cache ou affiche un élement si mobile */
|
||||
@media only screen and (max-width: 767px) {
|
||||
@media only screen and (max-width: 768px) {
|
||||
.hidden-mobile {
|
||||
display: none;
|
||||
}
|
||||
@@ -98,7 +96,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 767px) {
|
||||
@media only screen and (min-width: 768px) {
|
||||
.hidden-mobile {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
.section {
|
||||
height: 100vh;
|
||||
min-height: 500px;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
/* box-shadow: 5px 5px 15px 5px #000000; */
|
||||
}
|
||||
|
||||
.bloc-content {
|
||||
padding: 5vh;
|
||||
border-radius: 10px;
|
||||
background-color: rgba(255, 255, 255, 0.8);
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
.aCard {
|
||||
width:200px;
|
||||
}
|
||||
+15
-4
@@ -6,10 +6,25 @@ body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
|
||||
Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
|
||||
font-size: small;
|
||||
}
|
||||
|
||||
body{
|
||||
background-image: url(/images/pageprincipale.webp);
|
||||
background-size: cover;
|
||||
background-position: 50% 50%;
|
||||
background-repeat: no-repeat;
|
||||
background-attachment: fixed;
|
||||
}
|
||||
|
||||
.layout-container{
|
||||
display : table;
|
||||
width: 100%;
|
||||
position:relative;
|
||||
min-height:100vh;
|
||||
}
|
||||
|
||||
.body-content{
|
||||
display: table-row-group;
|
||||
}
|
||||
|
||||
a,
|
||||
@@ -18,10 +33,6 @@ a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
:root {
|
||||
--color1: #C0D8F0;
|
||||
--color2: #76AE0D;
|
||||
|
||||
Reference in new issue
Block a user