Merge branch 'feature/cedric' of https://github.com/Eric-ciccotti/rest-nextjs-api-routes-auth into feature/eric

feature/page-admin
Eric 4 years ago
commit 99ac2e0b79

@ -9,6 +9,7 @@ import Link from 'next/link';
const Footer = () => { const Footer = () => {
return ( return (
<footer className={`${style.footer}`}> <footer className={`${style.footer}`}>
<div className={`${style['footerContent']}`}>
<div className="container border-bottom"> <div className="container border-bottom">
<div className="row align-items-center"> <div className="row align-items-center">
<div className="col-sm-6 col-md-3 d-flex justify-content-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"> <div className="col-sm-6 col-md-3">
<ul className="nav flex-column justify-content-md-around justify-content-sm-center mx-5"> <ul className="nav flex-column justify-content-md-around justify-content-sm-center mx-5">
<li className="nav-item"> <li className="nav-item">
<Link href="/CGU" legacyBehavior > <Link href="/cgu" legacyBehavior >
<a className='px-2'>CGU</a> <a className='px-2'>CGU</a>
</Link> </Link>
</li> </li>
@ -64,9 +65,10 @@ const Footer = () => {
</ul> </ul>
</div> </div>
</div> </div>
</div>
<p className="text-center">Thé Tip Top © 2022 - projet fictif pour lequel aucun réel <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> achat ou aucune réservation ne pourrait être effectué.</p>
</div>
</div>
</footer> </footer>
); );
} }

@ -1,19 +1,13 @@
import React, { ReactNode } from "react"; import React, { ReactNode } from "react";
import NavBar from "./NavBar"; import NavBar from "./NavBar";
import Footer from "./Footer"; import Footer from "./Footer";
import Content from "./Content";
type Props = { type Props = {
children?: React.ReactNode; children?: React.ReactNode;
}; };
const layoutStyle = {
height: "100vh"
}
const Layout = ({ children }: Props) => const Layout = ({ children }: Props) =>
<div style={layoutStyle}> <div className="layout-container">
<NavBar /> <NavBar />
{children} {children}
<Footer /> <Footer />

@ -25,7 +25,7 @@ const NavBar = () => {
} }
let visitor = ( let visitor = (
<nav className={`${style.customcss} container-fluid`}> <nav className={`${style['navbar']}`}>
<div className="d-flex justify-content-center"> <div className="d-flex justify-content-center">
<Image <Image
@ -41,8 +41,8 @@ const NavBar = () => {
<div className={`justify-content-center text-center ${style['hidden-mobile']}`}> <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} >Accueil</a></Link> |
<Link href="/contact" legacyBehavior><a className={style.link} >Nos produits</a></Link> | <Link href="/" legacyBehavior><a className={style.link} >Nos produits</a></Link> |
<Link href="/" legacyBehavior><a className={style.link} >Contactez-nous</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} >Connexion</a></Link>}
{session && <Link href="/connexion" legacyBehavior><a className={style.link} >Mon compte</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>} {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}>&times;</a> <a className={style.closebtn} onClick={closeNav}>&times;</a>
<div className="overlay-content"> <div className="overlay-content">
<Link href="/" legacyBehavior><a className={style.link} >Accueil</a></Link> | <Link href="/contact" 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} >Nos produits</a></Link> |
<Link href="/" legacyBehavior><a className={style.link} >Contactez-nous</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&apos;existe pas.</h4>
</div>
</div>
</>
);
};
export default NotFound;

@ -15,8 +15,8 @@ const Cgu = () => {
<link rel="preconnect" href="https://fonts.googleapis.com" /> <link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="" /> <link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="" />
</Head> </Head>
<div className="container py-2 py-lg-3"> <div className="container py-2 py-md-3">
<h1 className="text-center py-2 py-lg-3">Conditions générales d’utilisation du site et des services proposés.</h1> <h1 className="text-center py-2 py-md-3">Conditions générales d’utilisation du site et des services proposés.</h1>
<p> <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. 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 /> <br /><br />

@ -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> <h1 className="fw-light">Connexion</h1>
<SiGnuprivacyguard size={50} /> <SiGnuprivacyguard size={50} />
@ -171,6 +171,7 @@ const MainPage = ({ csrfToken }: Props) => {
className={`form-check-input ${errors.acceptTerms ? 'is-invalid' : ''}`} className={`form-check-input ${errors.acceptTerms ? 'is-invalid' : ''}`}
{...register("acceptTerms")} {...register("acceptTerms")}
name="acceptTerms" name="acceptTerms"
id="acceptTerms"
/> />
</div> </div>
</form> </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;

@ -23,12 +23,16 @@ import feuilleDroite from '../public/images/feuilleBasDroite.webp'
import unAnDeThe from '../public/images/unandethé.webp' import unAnDeThe from '../public/images/unandethé.webp'
import sablier from '../public/images/sablier.webp' import sablier from '../public/images/sablier.webp'
import cadeau from '../public/images/cadeau.webp' import cadeau from '../public/images/cadeau.webp'
import footerGrass from '../public/images/footer_image.webp'
import jeuConcours from '../public/images/jeuconcours.webp' import jeuConcours from '../public/images/jeuconcours.webp'
import { GetServerSideProps } from "next"; import { GetServerSideProps } from "next";
import { toast } from "react-toastify"; 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 = { type CodeSubmitForm = {
codeCadeau: string; codeCadeau: string;
@ -124,8 +128,9 @@ const MainPage = () => {
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="" /> <link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="" />
</Head> </Head>
<div className={`${style['masthead']} d-flex justify-content-center align-items-center text-center`}> <div className={`${style['masthead']} body-content`}>
<div className={`${style['feuilleGauche']}`}> <div className="d-flex flex-wrap justify-content-center align-items-center text-center">
<div className={`${style['feuilleGauche']} ${style['imageContainer']}`}>
<Image <Image
src={feuilleGauche} src={feuilleGauche}
alt="thetiptop feuille Gauche" alt="thetiptop feuille Gauche"
@ -133,15 +138,7 @@ const MainPage = () => {
className={`${style['rotatingSlow']}`} className={`${style['rotatingSlow']}`}
/> />
</div> </div>
<div className={`${style['feuilleDroite']}`}> <div className={`${style['jeuConcours']} ${style['imageContainer']}`}>
<Image
src={feuilleDroite}
alt="thetiptop feuille Droite"
layout="responsive"
className={`${style['rotatingSlow']}`}
/>
</div>
<div className={`${style['jeuConcours']}`}>
<Image <Image
src={jeuConcours} src={jeuConcours}
alt="thetiptop jeu Concours" alt="thetiptop jeu Concours"
@ -149,7 +146,7 @@ const MainPage = () => {
className={`${style['zoomInOutCadeau']}`} className={`${style['zoomInOutCadeau']}`}
/> />
</div> </div>
<div className={`${style['cadeau']}`}> <div className={`${style['cadeau']} ${style['imageContainer']}`}>
<Image <Image
src={cadeau} src={cadeau}
alt="thetiptop cadeau" alt="thetiptop cadeau"
@ -157,8 +154,17 @@ const MainPage = () => {
className={`${style['zoomInOutJeuConcours']}`} className={`${style['zoomInOutJeuConcours']}`}
/> />
</div> </div>
<div className="container align-items-center d-flex flex-column"> <div className={`${style['feuilleDroite']} ${style['imageContainer']}`}>
<div className={`${style['bloc-content']} col-12 col-lg-6`}> <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']}`}> <div className={`${style['imageWrapper']}`}>
<Image <Image
src={testerCodeCadeau} src={testerCodeCadeau}
@ -172,19 +178,26 @@ const MainPage = () => {
<input type="text" <input type="text"
id="codeInput" aria-describedby="codeHelp" id="codeInput" aria-describedby="codeHelp"
placeholder="A293049430..." placeholder="A293049430..."
minLength={10}
maxLength={10}
{...register('codeCadeau')} {...register('codeCadeau')}
className={`form-control ${errors.codeCadeau ? 'is-invalid' : ''}`} className={`form-control ${errors.codeCadeau ? 'is-invalid' : ''}`}
/> />
<small id="codeHelp" className="form-text text-muted">Code à usage unique</small> <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>
<div className="form-group mx-auto my-3 w-100"> <div className="form-group mx-auto my-3 w-100">
<button type="submit" className={`${style['aButton']} btn btn-primary`}>Découvrir mon cadeau !</button> <button type="submit" className={`${style['aButton']} btn btn-primary`}>Découvrir mon cadeau !</button>
</div> </div>
</form> </form>
</div> </div>
<div className={`${style['footerGrass']}`}>
</div>
</div>
<div className={`${style['footerGrass']} position-absolute`}>
<Image <Image
src={footerGrass} src={footerGrass}
alt="thetiptop feuille Gauche" alt="thetiptop feuille Gauche"
@ -193,7 +206,6 @@ const MainPage = () => {
/> />
</div> </div>
</div> </div>
</div>
</> </>
); );
}; };

@ -1,5 +1,6 @@
import React from "react"; import React from "react";
import Head from "next/head"; import Head from "next/head";
import style from "styled-jsx/style";
const MentionsLegales = () => { const MentionsLegales = () => {
@ -16,8 +17,9 @@ const MentionsLegales = () => {
<link rel="preconnect" href="https://fonts.googleapis.com" /> <link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="" /> <link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="" />
</Head> </Head>
<div className="container py-2 py-lg-3"> <div className={`${style['navbar']}`}>
<h1 className="text-center py-2 py-lg-3">Mentions légales</h1> <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> <h2>Définitions</h2>
<p> <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. 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. 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> </p>
</div> </div>
</div>
</> </>
); );
}; };

@ -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> <h2 className="col-12 my-2">A gagner</h2>
<div className="col d-flex justify-content-center"> <div className="col d-flex justify-content-center">
<div className={`${style['productToGain']}`}> <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="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> <h1 className="fw-light">Un email a été envoyé</h1>
<GrValidate size={100} /> <GrValidate size={100} />
<div className="d-grid mt-4"> <div className="d-grid mt-4">

@ -19,12 +19,7 @@
} }
.masthead { .masthead {
background-image: url('/images/pageprincipale.webp');
background-size: cover;
background-position: 50% 50%;
background-repeat: no-repeat;
padding-top: 5vh; padding-top: 5vh;
height: 90vh;
position: relative; position: relative;
} }

@ -1,5 +1,10 @@
.footer { .footer {
color: white;
/* margin-top:auto; */
width:100%;
display: table-footer-group;
}
.footerContent{
background-color: #006600e6; background-color: #006600e6;
color: white !important;
padding-top: 20px;
} }

@ -4,35 +4,9 @@
} }
.masthead { .masthead {
padding-top: 5vh;
height: 90vh;
position: relative; 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 { .bloc-content {
padding: 10vh; padding: 10vh;
@ -97,7 +71,6 @@
} }
@keyframes blinking { @keyframes blinking {
0%, 0%,
50%, 50%,
100% { 100% {
@ -168,81 +141,91 @@
} }
} }
.imageContainer {
z-index: 1;
width: 20vw;
}
/*mobile*/
@media only screen and (max-width: 767px) { .feuilleGauche, .feuilleDroite, .cadeau, .jeuConcours {
.feuilleGauche {
position: absolute; position: absolute;
}
.feuilleGauche {
top: 0px; top: 0px;
left: 0px; left: 0px;
z-index: 9000; }
width: 25vw;
}
.feuilleDroite { .feuilleDroite {
position: absolute;
bottom: 0px; bottom: 0px;
right: 0px; right: 0px;
z-index: 9000; }
width: 25vw;
}
.cadeau { .cadeau {
position: absolute;
bottom: 0px; bottom: 0px;
left: 0px; left: 0px;
z-index: 9000; }
}
.jeuConcours { .jeuConcours {
position: absolute;
top: 0px; top: 0px;
right: 0px; right: 0px;
z-index: 9000; }
}
.footerGrass {
position: absolute;
background-image: url('/image/footer_image.webp');
background-size: contain;
width: 100vw;
bottom: -10px;
@media only screen and (min-width: 768px) {
.imageContainer {
width: 10vw;
} }
} }
/*grand écran*/ /*grand écran*/
@media only screen and (min-width: 767px) { @media only screen and (min-width: 768px) {
.feuilleGauche { .feuilleGauche {
position: absolute; position: absolute;
top: 1px; top: 1px;
left: 1px; left: 1px;
z-index: 9000;
width: 25vw;
} }
.feuilleDroite { .feuilleDroite {
position: absolute; position: absolute;
bottom: 15px; bottom: 15px;
right: 15px; right: 15px;
z-index: 9000;
width: 25vw;
} }
.cadeau { .cadeau {
position: absolute; position: absolute;
bottom: 0px; bottom: 0px;
left: 0px; left: 0px;
z-index: 9000;
} }
.jeuConcours { .jeuConcours {
position: absolute; position: absolute;
top: 15px; top: 15px;
right: 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 { .navbar{
background-color: transparent !important; display: table-header-group;
z-index: 9001;
position: absolute;
} }
.link { .link {
@ -22,7 +20,7 @@
width: 100%; width: 100%;
bottom: 100%; bottom: 100%;
position: fixed; position: fixed;
z-index: 1; z-index: 9001;
top: 0; top: 0;
left: 0; left: 0;
background-color: rgb(0, 0, 0); background-color: rgb(0, 0, 0);
@ -88,7 +86,7 @@
} }
/* cache ou affiche un élement si mobile */ /* cache ou affiche un élement si mobile */
@media only screen and (max-width: 767px) { @media only screen and (max-width: 768px) {
.hidden-mobile { .hidden-mobile {
display: none; display: none;
} }
@ -98,7 +96,7 @@
} }
} }
@media only screen and (min-width: 767px) { @media only screen and (min-width: 768px) {
.hidden-mobile { .hidden-mobile {
display: flex; 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;
}

@ -6,10 +6,25 @@ body {
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
font-size: small; font-size: small;
}
body{
background-image: url(/images/pageprincipale.webp); background-image: url(/images/pageprincipale.webp);
background-size: cover; background-size: cover;
background-position: 50% 50%; background-position: 50% 50%;
background-repeat: no-repeat; 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, a,
@ -18,10 +33,6 @@ a:hover {
text-decoration: none; text-decoration: none;
} }
* {
box-sizing: border-box;
}
:root { :root {
--color1: #C0D8F0; --color1: #C0D8F0;
--color2: #76AE0D; --color2: #76AE0D;

Loading…
Cancel
Save