🚸 add - grosse refonte du site
No files matched your search
@@ -1,7 +0,0 @@
|
|||||||
{
|
|
||||||
"workbench.colorCustomizations": {
|
|
||||||
"activityBar.background": "#521342",
|
|
||||||
"titleBar.activeBackground": "#731B5D",
|
|
||||||
"titleBar.activeForeground": "#FDF8FC"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,73 @@
|
|||||||
|
import Image from 'next/image'
|
||||||
|
import logo from '../public/images/logo.png';
|
||||||
|
import logoInstagram from '../public/images/logo instagram.png';
|
||||||
|
import logoLinkedin from '../public/images/logo linkedin.png';
|
||||||
|
|
||||||
|
import Link from 'next/link';
|
||||||
|
|
||||||
|
const Footer = () => {
|
||||||
|
return (
|
||||||
|
<footer className="py-3 my-2 my-lg-5 footer">
|
||||||
|
<div className="container border-bottom">
|
||||||
|
<div className="row align-items-center">
|
||||||
|
<div className="col-sm-6 col-md-3 d-flex justify-content-center">
|
||||||
|
<Link href="/" legacyBehavior>
|
||||||
|
<Image
|
||||||
|
src={logo}
|
||||||
|
alt="thetiptop navigation logo"
|
||||||
|
width="110"
|
||||||
|
height="110"
|
||||||
|
/>
|
||||||
|
</Link>
|
||||||
|
</div>
|
||||||
|
<div className="col-sm-6 col-md-3">
|
||||||
|
|
||||||
|
<ul className="nav flex-column justify-content-md-around align-content-center">
|
||||||
|
<li className="nav-item px-2">
|
||||||
|
<p>18 rue Léon Frot, 75 011 Paris</p>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
<li className="nav-item px-2">
|
||||||
|
<p>01.65.38.94.23</p>
|
||||||
|
</li>
|
||||||
|
<li className="nav-item px-2">
|
||||||
|
<p>contact@thetiptop.com</p>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div className="col-sm-6 col-md-3 d-flex justify-content-center align-items-md-baseline align-items-sm-center">
|
||||||
|
|
||||||
|
<ul className="nav flex-md-column">
|
||||||
|
<li className="nav-item py-2 px-2">
|
||||||
|
<Image src={logoInstagram} alt="lien instagram" width="40"
|
||||||
|
height="40" />
|
||||||
|
</li>
|
||||||
|
<li className="nav-item py-2 px-2">
|
||||||
|
<Image src={logoLinkedin} alt="lien linkedin" width="40"
|
||||||
|
height="40" />
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<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>
|
||||||
|
<a className='nav-link px-2 text-muted'>CGU</a>
|
||||||
|
</Link>
|
||||||
|
</li>
|
||||||
|
<li className="nav-item">
|
||||||
|
<Link href="/mentions-legales" legacyBehavior>
|
||||||
|
<a className='nav-link px-2 text-muted'>Mentions légales</a>
|
||||||
|
</Link>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<p className="text-center text-muted">Thé Tip Top © 2022 - projet fictif pour lequel aucun réel
|
||||||
|
achat ou aucune réservation ne pourrait être effectué.</p>
|
||||||
|
</footer>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default Footer;
|
||||||
@@ -1,216 +0,0 @@
|
|||||||
import React from "react";
|
|
||||||
import Link from "next/link";
|
|
||||||
import { useRouter } from "next/router";
|
|
||||||
import { signOut, useSession } from "next-auth/react";
|
|
||||||
|
|
||||||
const Header = () => {
|
|
||||||
const router = useRouter();
|
|
||||||
const isActive: (pathname: string) => boolean = (pathname) =>
|
|
||||||
router.pathname === pathname;
|
|
||||||
|
|
||||||
const { data: session, status } = useSession();
|
|
||||||
|
|
||||||
let left = (
|
|
||||||
<div className="left">
|
|
||||||
<Link href="/" legacyBehavior>
|
|
||||||
<a className="bold" data-active={isActive("/")}>
|
|
||||||
Feed
|
|
||||||
</a>
|
|
||||||
</Link>
|
|
||||||
<style jsx>{`
|
|
||||||
.bold {
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
|
||||||
text-decoration: none;
|
|
||||||
color: #000;
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.left a[data-active="true"] {
|
|
||||||
color: gray;
|
|
||||||
}
|
|
||||||
|
|
||||||
a + a {
|
|
||||||
margin-left: 1rem;
|
|
||||||
}
|
|
||||||
`}</style>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
|
|
||||||
let right = null;
|
|
||||||
|
|
||||||
if (status === 'loading') {
|
|
||||||
left = (
|
|
||||||
<div className="left">
|
|
||||||
<Link href="/" legacyBehavior>
|
|
||||||
<a className="bold" data-active={isActive("/")}>
|
|
||||||
Feed
|
|
||||||
</a>
|
|
||||||
</Link>
|
|
||||||
<style jsx>{`
|
|
||||||
.bold {
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
|
||||||
text-decoration: none;
|
|
||||||
color: #000;
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.left a[data-active="true"] {
|
|
||||||
color: gray;
|
|
||||||
}
|
|
||||||
|
|
||||||
a + a {
|
|
||||||
margin-left: 1rem;
|
|
||||||
}
|
|
||||||
`}</style>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
right = (
|
|
||||||
<div className="right">
|
|
||||||
<p>Validating session ...</p>
|
|
||||||
<style jsx>{`
|
|
||||||
.right {
|
|
||||||
margin-left: auto;
|
|
||||||
}
|
|
||||||
`}</style>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!session) {
|
|
||||||
right = (
|
|
||||||
<div className="right">
|
|
||||||
<Link href="/api/auth/signin" legacyBehavior>
|
|
||||||
<a data-active={isActive("/signup")}>Log in</a>
|
|
||||||
</Link>
|
|
||||||
<style jsx>{`
|
|
||||||
a {
|
|
||||||
text-decoration: none;
|
|
||||||
color: #000;
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
|
|
||||||
a + a {
|
|
||||||
margin-left: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.right {
|
|
||||||
margin-left: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.right a {
|
|
||||||
border: 1px solid black;
|
|
||||||
padding: 0.5rem 1rem;
|
|
||||||
border-radius: 3px;
|
|
||||||
}
|
|
||||||
`}</style>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (session) {
|
|
||||||
left = (
|
|
||||||
<div className="left">
|
|
||||||
<Link href="/" legacyBehavior>
|
|
||||||
<a className="bold" data-active={isActive("/")}>
|
|
||||||
Feed
|
|
||||||
</a>
|
|
||||||
</Link>
|
|
||||||
<Link href="/drafts" legacyBehavior>
|
|
||||||
<a data-active={isActive("/drafts")}>My drafts</a>
|
|
||||||
</Link>
|
|
||||||
<Link href="/profile" legacyBehavior>
|
|
||||||
<a data-active={isActive("/profile")}>
|
|
||||||
Mon Compte
|
|
||||||
</a>
|
|
||||||
</Link>
|
|
||||||
<style jsx>{`
|
|
||||||
.bold {
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
|
||||||
text-decoration: none;
|
|
||||||
color: #000;
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.left a[data-active="true"] {
|
|
||||||
color: gray;
|
|
||||||
}
|
|
||||||
|
|
||||||
a + a {
|
|
||||||
margin-left: 1rem;
|
|
||||||
}
|
|
||||||
`}</style>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
right = (
|
|
||||||
<div className="right">
|
|
||||||
<p>
|
|
||||||
{session.user.name} ({session.user.email})
|
|
||||||
</p>
|
|
||||||
<Link href="/create" legacyBehavior>
|
|
||||||
<button>
|
|
||||||
<a>New post</a>
|
|
||||||
</button>
|
|
||||||
</Link>
|
|
||||||
<button onClick={() => signOut()}>
|
|
||||||
<a>Log out</a>
|
|
||||||
</button>
|
|
||||||
<style jsx>{`
|
|
||||||
a {
|
|
||||||
text-decoration: none;
|
|
||||||
color: #000;
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
|
|
||||||
p {
|
|
||||||
display: inline-block;
|
|
||||||
font-size: 13px;
|
|
||||||
padding-right: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
a + a {
|
|
||||||
margin-left: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.right {
|
|
||||||
margin-left: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.right a {
|
|
||||||
border: 1px solid black;
|
|
||||||
padding: 0.5rem 1rem;
|
|
||||||
border-radius: 3px;
|
|
||||||
}
|
|
||||||
|
|
||||||
button {
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
`}</style>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
return (
|
|
||||||
<nav>
|
|
||||||
{left}
|
|
||||||
{right}
|
|
||||||
<style jsx>{`
|
|
||||||
nav {
|
|
||||||
display: flex;
|
|
||||||
padding: 2rem;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
`}</style>
|
|
||||||
</nav>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
export default Header;
|
|
||||||
@@ -1,50 +1,18 @@
|
|||||||
import React, { ReactNode } from "react";
|
import React, { ReactNode } from "react";
|
||||||
import Header from "./Header";
|
import NavBar from "./NavBar";
|
||||||
|
import Footer from "./Footer";
|
||||||
|
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
children?: React.ReactNode;
|
children?: React.ReactNode;
|
||||||
};
|
};
|
||||||
|
|
||||||
const Layout = ({ children }: Props) => (
|
const Layout = ({ children }: Props) =>
|
||||||
<div>
|
<div>
|
||||||
<Header />
|
<NavBar />
|
||||||
<div className="layout">{children}</div>
|
{children}
|
||||||
<style jsx global>{`
|
<Footer />
|
||||||
html {
|
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
|
||||||
|
|
||||||
*,
|
|
||||||
*:before,
|
|
||||||
*:after {
|
|
||||||
box-sizing: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
font-size: 16px;
|
|
||||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
|
|
||||||
Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
|
|
||||||
"Segoe UI Symbol";
|
|
||||||
background: rgba(0, 0, 0, 0.05);
|
|
||||||
}
|
|
||||||
|
|
||||||
input,
|
|
||||||
textarea {
|
|
||||||
font-size: 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
button {
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
`}</style>
|
|
||||||
<style jsx>{`
|
|
||||||
.layout {
|
|
||||||
padding: 0 2rem;
|
|
||||||
}
|
|
||||||
`}</style>
|
|
||||||
</div>
|
</div>
|
||||||
);
|
|
||||||
|
|
||||||
export default Layout;
|
export default Layout;
|
||||||
|
|
||||||
@@ -0,0 +1,76 @@
|
|||||||
|
import React, { useRef } from "react";
|
||||||
|
import logo from '../public/images/thetiptop_logo.png';
|
||||||
|
import Link from "next/link";
|
||||||
|
import { useRouter } from "next/router";
|
||||||
|
import { signOut, useSession } from "next-auth/react";
|
||||||
|
import style from '../styles/NavBar.module.css';
|
||||||
|
import Image from 'next/image';
|
||||||
|
import { UserProps } from "../types/user";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
const NavBar = ({ role, email }: UserProps) => {
|
||||||
|
|
||||||
|
const navRef = useRef<HTMLInputElement>();
|
||||||
|
|
||||||
|
const router = useRouter();
|
||||||
|
const { data: session, status } = useSession();
|
||||||
|
|
||||||
|
const closeNav = () => {
|
||||||
|
navRef.current.style.height = "0%";
|
||||||
|
}
|
||||||
|
|
||||||
|
const openNav = () => {
|
||||||
|
navRef.current.style.height = "100%";
|
||||||
|
}
|
||||||
|
|
||||||
|
let visitor = (
|
||||||
|
<nav className={`${style.customcss} container-fluid`}>
|
||||||
|
|
||||||
|
<div className="d-flex justify-content-center">
|
||||||
|
<Image
|
||||||
|
src={logo}
|
||||||
|
|
||||||
|
alt="thetiptop navigation logo big"
|
||||||
|
width={250}
|
||||||
|
height={100}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<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="/user" legacyBehavior><a className={style.link} >Connexion</a></Link>
|
||||||
|
</div>
|
||||||
|
<div className={`justify-content-center text-center ${style['show-mobile']}`}>
|
||||||
|
<span className={`${style.burgerButton}`} onClick={openNav}>☰</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div ref={navRef} className={style.overlay} onClick={closeNav}>
|
||||||
|
|
||||||
|
<a href="javascript:void(0)" className={style.closebtn} onClick={closeNav}>×</a>
|
||||||
|
<div className="overlay-content">
|
||||||
|
<a href="#">About</a>
|
||||||
|
<a href="#">Services</a>
|
||||||
|
<a href="#">Clients</a>
|
||||||
|
<a href="#">Contact</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
)
|
||||||
|
|
||||||
|
return (<>
|
||||||
|
{visitor}
|
||||||
|
</>)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
export default NavBar;
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
|
||||||
|
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;
|
||||||
@@ -3,7 +3,8 @@ import { AppProps } from "next/app";
|
|||||||
import { useEffect } from "react";
|
import { useEffect } from "react";
|
||||||
|
|
||||||
import 'bootstrap/dist/css/bootstrap.css'
|
import 'bootstrap/dist/css/bootstrap.css'
|
||||||
import "../css/custom.css";
|
import "../styles/globals.css";
|
||||||
|
import Layout from "../components/Layout";
|
||||||
|
|
||||||
const App = ({ Component, pageProps }: AppProps) => {
|
const App = ({ Component, pageProps }: AppProps) => {
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
@@ -12,7 +13,9 @@ const App = ({ Component, pageProps }: AppProps) => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<SessionProvider session={pageProps.session}>
|
<SessionProvider session={pageProps.session}>
|
||||||
|
<Layout>
|
||||||
<Component {...pageProps} />
|
<Component {...pageProps} />
|
||||||
|
</Layout>
|
||||||
</SessionProvider>
|
</SessionProvider>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -2,10 +2,30 @@ import React from "react";
|
|||||||
import Layout from "../components/Layout";
|
import Layout from "../components/Layout";
|
||||||
import prisma from '../lib/prisma'
|
import prisma from '../lib/prisma'
|
||||||
|
|
||||||
|
import Image from 'next/image';
|
||||||
|
import * as Yup from 'yup';
|
||||||
|
import Head from "next/head";
|
||||||
|
import { useSession } from "next-auth/react";
|
||||||
import { yupResolver } from "@hookform/resolvers/yup";
|
import { yupResolver } from "@hookform/resolvers/yup";
|
||||||
import { useForm } from "react-hook-form";
|
import { useForm } from "react-hook-form";
|
||||||
import * as Yup from 'yup';
|
import Router from "next/router";
|
||||||
import { useSession } from "next-auth/react";
|
|
||||||
|
import Section from '../components/Section';
|
||||||
|
import style from '../styles/Index.module.css';
|
||||||
|
|
||||||
|
import rotatingLeftImage from '../public/images/coffret-degustation-mousselines-individuelles-n3-PhotoRoom.png';
|
||||||
|
import rotatingRightImage from '../public/images/coffret-the-PhotoRoom.png';
|
||||||
|
import Link from "next/link";
|
||||||
|
|
||||||
|
import testerCodeCadeau from '../public/images/testerlecode.png'
|
||||||
|
import feuilleGauche from '../public/images/feuilleGauche.png'
|
||||||
|
import feuilleDroite from '../public/images/feuilleBasDroite.png'
|
||||||
|
import unAnDeThe from '../public/images/unandethé.png'
|
||||||
|
import sablier from '../public/images/sablier.png'
|
||||||
|
import cadeau from '../public/images/cadeau.png'
|
||||||
|
import jeuConcours from '../public/images/jeuconcours.png'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
type CodeSubmitForm = {
|
type CodeSubmitForm = {
|
||||||
codeCadeau: string;
|
codeCadeau: string;
|
||||||
@@ -55,32 +75,146 @@ const MainPage = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Layout>
|
<>
|
||||||
<div className="page">
|
<Head>
|
||||||
<h1>TheTipTop - jeu concours !</h1>
|
<title>Home App</title>
|
||||||
<main>
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="" />
|
||||||
|
</Head>
|
||||||
|
|
||||||
|
<header className={`${style['masthead']} d-flex justify-content-center align-items-center text-center`}>
|
||||||
|
<div className={`${style['feuilleGauche']}`}>
|
||||||
|
<Image
|
||||||
|
src={feuilleGauche}
|
||||||
|
alt="thetiptop feuille Gauche"
|
||||||
|
layout="responsive"
|
||||||
|
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']}`}>
|
||||||
|
<Image
|
||||||
|
src={jeuConcours}
|
||||||
|
alt="thetiptop jeu Concours"
|
||||||
|
layout="responsive"
|
||||||
|
className={`${style['rotatingSlow']}`}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div className={`${style['cadeau']}`}>
|
||||||
|
<Image
|
||||||
|
src={cadeau}
|
||||||
|
alt="thetiptop cadeau"
|
||||||
|
layout="responsive"
|
||||||
|
className={`${style['rotatingSlow']}`}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div className="container align-items-center d-flex flex-column">
|
||||||
|
|
||||||
|
<div className={`${style['bloc-content']} col-12 col-lg-6`}>
|
||||||
|
|
||||||
|
|
||||||
|
<div className={`${style['imageWrapper']}`}>
|
||||||
|
<Image
|
||||||
|
src={testerCodeCadeau}
|
||||||
|
alt="thetiptop navigation logo"
|
||||||
|
layout="responsive"
|
||||||
|
className={`${style['rotatingImage']}`}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<form onSubmit={handleSubmit(onSubmit)}>
|
<form onSubmit={handleSubmit(onSubmit)}>
|
||||||
<div className="form-group">
|
|
||||||
<label>Entre votre code :</label>
|
<div className="form-group mx-auto my-3 w-100">
|
||||||
<input
|
|
||||||
placeholder="A123456B..."
|
|
||||||
type="text"
|
<input type="text"
|
||||||
|
id="codeInput" aria-describedby="codeHelp"
|
||||||
|
placeholder="A293049430..."
|
||||||
{...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>
|
||||||
<div className="invalid-feedback">{errors.codeCadeau?.message}</div>
|
<div className="invalid-feedback">{errors.codeCadeau?.message}</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div className="form-group">
|
<div className="form-group mx-auto my-3 w-100">
|
||||||
<button type="submit" className="btn btn-primary">
|
<button type="submit" className={`${style['aButton']} btn btn-primary`}>Découvrir mon cadeau !</button>
|
||||||
Tester mon code cadeau !
|
|
||||||
</button>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</main>
|
|
||||||
</div>
|
</div>
|
||||||
</Layout>
|
|
||||||
|
{/* <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 `}>
|
||||||
|
<h2 className="col-12 my-2">A gagner</h2>
|
||||||
|
<div className="col d-flex justify-content-center">
|
||||||
|
<div className={`${style['productToGain']}`}>
|
||||||
|
<Image
|
||||||
|
src={rotatingRightImage}
|
||||||
|
alt="coffret de thé marron rempli de sachets de toutes couleurs"
|
||||||
|
fill
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div className="col d-flex justify-content-center">
|
||||||
|
<div className={`${style['productToGain']}`}>
|
||||||
|
<Image
|
||||||
|
src={rotatingRightImage}
|
||||||
|
alt="coffret de thé marron rempli de sachets de toutes couleurs"
|
||||||
|
fill
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div className="col d-flex justify-content-center">
|
||||||
|
<div className={`${style['productToGain']}`}>
|
||||||
|
<Image
|
||||||
|
src={rotatingRightImage}
|
||||||
|
alt="coffret de thé marron rempli de sachets de toutes couleurs"
|
||||||
|
fill
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div className="col-12">
|
||||||
|
<div className='btn btn-primary my-2'>
|
||||||
|
<Link href="shop">Et bien d'autres !</Link>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div> */}
|
||||||
|
</div>
|
||||||
|
</header >
|
||||||
|
|
||||||
|
{/* <Section backgroundImagePath={'/images/three-cups-of-tea-steeping.png'}>
|
||||||
|
<h2>Présentation du jeu concours</h2>
|
||||||
|
<h4 className="fw-light">
|
||||||
|
Gagnez de superbes cadeaux en achetant nos produits !
|
||||||
|
<br />
|
||||||
|
Pour participer, il vous suffit d'effectuer un achat en boutique d'une valeur supérieure à XXX euros. Retrouvez votre code sur la facture !
|
||||||
|
<br />
|
||||||
|
Saisissez votre code ... Félicitations ! Vous avez gagné un cadeau ! Il nous vous reste plus qu'à le récupérer en magasin.
|
||||||
|
<br />
|
||||||
|
Après la [XXX période], vous participerez au jeu concours final afin de gagner XXX. Un participation par personne est comptabilisée pour le concours final.
|
||||||
|
</h4>
|
||||||
|
</Section>
|
||||||
|
<Section backgroundImagePath={'/images/top-view-of-a-tea-towel-and-container-holding-grain.png'}>
|
||||||
|
<h2>Présentation de Thé Tip Top</h2>
|
||||||
|
<h4 className="fw-light">
|
||||||
|
Thé Tip Top est une entreprise de thé [XXX ajouter des spécifications en se basant sur le cahier des charges]
|
||||||
|
</h4>
|
||||||
|
</Section> */}
|
||||||
|
</>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
|
After Width: | Height: | Size: 25 KiB |
|
After Width: | Height: | Size: 16 MiB |
|
After Width: | Height: | Size: 20 MiB |
|
After Width: | Height: | Size: 332 KiB |
|
After Width: | Height: | Size: 60 KiB |
|
After Width: | Height: | Size: 226 KiB |
|
After Width: | Height: | Size: 497 KiB |
|
After Width: | Height: | Size: 713 KiB |
|
After Width: | Height: | Size: 726 KiB |
|
After Width: | Height: | Size: 21 MiB |
|
After Width: | Height: | Size: 10 MiB |
|
After Width: | Height: | Size: 13 MiB |
|
After Width: | Height: | Size: 92 KiB |
|
After Width: | Height: | Size: 452 KiB |
|
After Width: | Height: | Size: 4.3 KiB |
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 9.3 KiB |
|
After Width: | Height: | Size: 549 KiB |
|
After Width: | Height: | Size: 2.7 MiB |
|
After Width: | Height: | Size: 95 KiB |
|
After Width: | Height: | Size: 15 MiB |
|
After Width: | Height: | Size: 12 MiB |
|
After Width: | Height: | Size: 9.5 MiB |
|
After Width: | Height: | Size: 139 KiB |
|
After Width: | Height: | Size: 314 KiB |
|
After Width: | Height: | Size: 81 KiB |
|
After Width: | Height: | Size: 18 MiB |
|
After Width: | Height: | Size: 13 MiB |
|
After Width: | Height: | Size: 20 MiB |
|
After Width: | Height: | Size: 61 KiB |
@@ -0,0 +1,4 @@
|
|||||||
|
<svg width="283" height="64" viewBox="0 0 283 64" fill="none"
|
||||||
|
xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path d="M141.04 16c-11.04 0-19 7.2-19 18s8.96 18 20 18c6.67 0 12.55-2.64 16.19-7.09l-7.65-4.42c-2.02 2.21-5.09 3.5-8.54 3.5-4.79 0-8.86-2.5-10.37-6.5h28.02c.22-1.12.35-2.28.35-3.5 0-10.79-7.96-17.99-19-17.99zm-9.46 14.5c1.25-3.99 4.67-6.5 9.45-6.5 4.79 0 8.21 2.51 9.45 6.5h-18.9zM248.72 16c-11.04 0-19 7.2-19 18s8.96 18 20 18c6.67 0 12.55-2.64 16.19-7.09l-7.65-4.42c-2.02 2.21-5.09 3.5-8.54 3.5-4.79 0-8.86-2.5-10.37-6.5h28.02c.22-1.12.35-2.28.35-3.5 0-10.79-7.96-17.99-19-17.99zm-9.45 14.5c1.25-3.99 4.67-6.5 9.45-6.5 4.79 0 8.21 2.51 9.45 6.5h-18.9zM200.24 34c0 6 3.92 10 10 10 4.12 0 7.21-1.87 8.8-4.92l7.68 4.43c-3.18 5.3-9.14 8.49-16.48 8.49-11.05 0-19-7.2-19-18s7.96-18 19-18c7.34 0 13.29 3.19 16.48 8.49l-7.68 4.43c-1.59-3.05-4.68-4.92-8.8-4.92-6.07 0-10 4-10 10zm82.48-29v46h-9V5h9zM36.95 0L73.9 64H0L36.95 0zm92.38 5l-27.71 48L73.91 5H84.3l17.32 30 17.32-30h10.39zm58.91 12v9.69c-1-.29-2.06-.49-3.2-.49-5.81 0-10 4-10 10V51h-9V17h9v9.2c0-5.08 5.91-9.2 13.2-9.2z" fill="#000"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1,129 @@
|
|||||||
|
.container {
|
||||||
|
padding: 0 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.main {
|
||||||
|
min-height: 100vh;
|
||||||
|
padding: 4rem 0;
|
||||||
|
flex: 1;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer {
|
||||||
|
display: flex;
|
||||||
|
flex: 1;
|
||||||
|
padding: 2rem 0;
|
||||||
|
border-top: 1px solid #eaeaea;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer a {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
flex-grow: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.title a {
|
||||||
|
color: #0070f3;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.title a:hover,
|
||||||
|
.title a:focus,
|
||||||
|
.title a:active {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.title {
|
||||||
|
margin: 0;
|
||||||
|
line-height: 1.15;
|
||||||
|
font-size: 4rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.title,
|
||||||
|
.description {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.description {
|
||||||
|
margin: 4rem 0;
|
||||||
|
line-height: 1.5;
|
||||||
|
font-size: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.code {
|
||||||
|
background: #fafafa;
|
||||||
|
border-radius: 5px;
|
||||||
|
padding: 0.75rem;
|
||||||
|
font-size: 1.1rem;
|
||||||
|
font-family: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono,
|
||||||
|
Bitstream Vera Sans Mono, Courier New, monospace;
|
||||||
|
}
|
||||||
|
|
||||||
|
.grid {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
max-width: 800px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card {
|
||||||
|
margin: 1rem;
|
||||||
|
padding: 1.5rem;
|
||||||
|
text-align: left;
|
||||||
|
color: inherit;
|
||||||
|
text-decoration: none;
|
||||||
|
border: 1px solid #eaeaea;
|
||||||
|
border-radius: 10px;
|
||||||
|
transition: color 0.15s ease, border-color 0.15s ease;
|
||||||
|
max-width: 300px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card:hover,
|
||||||
|
.card:focus,
|
||||||
|
.card:active {
|
||||||
|
color: #0070f3;
|
||||||
|
border-color: #0070f3;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card h2 {
|
||||||
|
margin: 0 0 1rem 0;
|
||||||
|
font-size: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card p {
|
||||||
|
margin: 0;
|
||||||
|
font-size: 1.25rem;
|
||||||
|
line-height: 1.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo {
|
||||||
|
height: 1em;
|
||||||
|
margin-left: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 600px) {
|
||||||
|
.grid {
|
||||||
|
width: 100%;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
.card,
|
||||||
|
.footer {
|
||||||
|
border-color: #222;
|
||||||
|
}
|
||||||
|
.code {
|
||||||
|
background: #111;
|
||||||
|
}
|
||||||
|
.logo img {
|
||||||
|
filter: invert(1);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,197 @@
|
|||||||
|
.masthead {
|
||||||
|
--aButton-base-padding: 0px;
|
||||||
|
--aButton-grow-padding: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.masthead {
|
||||||
|
background-image: url('/images/pageprincipale.png');
|
||||||
|
background-size: cover;
|
||||||
|
background-position: 50% 50%;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
padding-top: 5vh;
|
||||||
|
height: 90vh;
|
||||||
|
position: relative;
|
||||||
|
/* margin-bottom: 10vh;
|
||||||
|
box-shadow: 0px 18px 16px 0px rgba(0, 0, 0, 0.87); */
|
||||||
|
}
|
||||||
|
|
||||||
|
.bloc-content {
|
||||||
|
padding: 10vh;
|
||||||
|
border-radius: 10px;
|
||||||
|
background-image: url('/images/codebackground.png');
|
||||||
|
background-position: 50% 50%;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-size: contain;
|
||||||
|
animation: zoomInOut 4s ease-in-out infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.rotatingImage {
|
||||||
|
animation: 1s ease-in-out infinite alternate rotation;
|
||||||
|
}
|
||||||
|
|
||||||
|
.rotatingSlow {
|
||||||
|
animation: 4s ease-in-out infinite alternate rotation;
|
||||||
|
}
|
||||||
|
|
||||||
|
.blinking {
|
||||||
|
animation: blinking 1s infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes zoomInOut {
|
||||||
|
0% {
|
||||||
|
transform: scale(1, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
50% {
|
||||||
|
transform: scale(1.05, 1.05);
|
||||||
|
}
|
||||||
|
|
||||||
|
to {
|
||||||
|
transform: scale(1, 1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@keyframes rotation {
|
||||||
|
0% {
|
||||||
|
transform: rotate(2deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
50% {
|
||||||
|
transform: rotate(-2deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
to {
|
||||||
|
transform: rotate(2deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes blinking {
|
||||||
|
|
||||||
|
0%,
|
||||||
|
50%,
|
||||||
|
100% {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
25%,
|
||||||
|
75% {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.zoom-in-out-box {
|
||||||
|
animation: zoom-in-zoom-out 1s ease infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
.imageWrapper {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.masthead .aButton {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.masthead .aButton:after {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
|
||||||
|
/* border:1px solid black; */
|
||||||
|
border-radius: 0.375rem;
|
||||||
|
display: none;
|
||||||
|
|
||||||
|
left: var(--aButton-base-padding);
|
||||||
|
top: var(--aButton-base-padding);
|
||||||
|
width: calc(100% + var(--aButton-base-padding));
|
||||||
|
height: calc(100% + var(--aButton-base-padding));
|
||||||
|
}
|
||||||
|
|
||||||
|
.masthead .aButton:hover:after {
|
||||||
|
display: block;
|
||||||
|
animation: 0.7s linear infinite alternate expand;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes expand {
|
||||||
|
to {
|
||||||
|
left: calc(var(--aButton-base-padding) - var(--aButton-grow-padding));
|
||||||
|
top: calc(var(--aButton-base-padding) - var(--aButton-grow-padding));
|
||||||
|
width: calc(100% + var(--aButton-base-padding) + 2 * var(--aButton-grow-padding));
|
||||||
|
height: calc(100% + var(--aButton-base-padding) + 2 * var(--aButton-grow-padding));
|
||||||
|
border: 3px solid var(--color3);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.productToGain {
|
||||||
|
background-color: var(--color1);
|
||||||
|
width: 20vw;
|
||||||
|
height: 20vw;
|
||||||
|
border-radius: 50%;
|
||||||
|
padding: 10px;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@media (min-width: 992px) {
|
||||||
|
.productToGain {
|
||||||
|
width: 13vw;
|
||||||
|
height: 13vw;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*mobile*/
|
||||||
|
@media only screen and (max-width: 767px) {
|
||||||
|
.feuilleGauche {
|
||||||
|
position: absolute;
|
||||||
|
top: 1px;
|
||||||
|
left: 1px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.feuilleDroite {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 10px;
|
||||||
|
right: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cadeau {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0px;
|
||||||
|
left: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.jeuConcours {
|
||||||
|
position: absolute;
|
||||||
|
top: 1px;
|
||||||
|
right: 1px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*grand écran*/
|
||||||
|
@media only screen and (min-width: 767px) {
|
||||||
|
.feuilleGauche {
|
||||||
|
position: absolute;
|
||||||
|
top: 1px;
|
||||||
|
left: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.feuilleDroite {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 10px;
|
||||||
|
right: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cadeau {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0px;
|
||||||
|
left: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.jeuConcours {
|
||||||
|
position: absolute;
|
||||||
|
top: 1px;
|
||||||
|
right: 1px;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
.custom-control-label {
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
|
|
||||||
|
.forgot-password,
|
||||||
|
.forgot-password a {
|
||||||
|
text-align: right;
|
||||||
|
font-size: 13px;
|
||||||
|
padding-top: 10px;
|
||||||
|
color: #7f7d7d;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.forgot-password a {
|
||||||
|
color: #167bff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.masthead {
|
||||||
|
height: 100vh;
|
||||||
|
min-height: 500px;
|
||||||
|
background-image: url('/images/brick-wall-with-tea-written-on-it.png');
|
||||||
|
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);
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo {
|
||||||
|
position: relative;
|
||||||
|
bottom: 1px;
|
||||||
|
right: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.loginButton {
|
||||||
|
background-color: #dd4b39;
|
||||||
|
border: 0px;
|
||||||
|
box-shadow: 2px 2px 2px #00000047;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
@@ -0,0 +1,103 @@
|
|||||||
|
.customcss {
|
||||||
|
background-color: transparent !important;
|
||||||
|
z-index: 2000;
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
|
|
||||||
|
.link {
|
||||||
|
margin: 0 1vw;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**************************/
|
||||||
|
|
||||||
|
.overlay {
|
||||||
|
height: 0;
|
||||||
|
width: 100%;
|
||||||
|
bottom: 100%;
|
||||||
|
position: fixed;
|
||||||
|
z-index: 1;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
background-color: rgb(0, 0, 0);
|
||||||
|
background-color: rgba(0, 0, 0, 0.9);
|
||||||
|
overflow-x: hidden;
|
||||||
|
transition: 1s;
|
||||||
|
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.overlay-content {
|
||||||
|
position: relative;
|
||||||
|
top: 25%;
|
||||||
|
width: 100%;
|
||||||
|
text-align: center;
|
||||||
|
margin-top: 30px;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
margin-top: 20vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
.overlay a {
|
||||||
|
padding: 8px;
|
||||||
|
text-decoration: none;
|
||||||
|
font-size: 36px;
|
||||||
|
color: #818181;
|
||||||
|
display: block;
|
||||||
|
transition: 0.2s;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.overlay a:hover,
|
||||||
|
.overlay a:focus {
|
||||||
|
color: #f1f1f1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.overlay .closebtn {
|
||||||
|
position: absolute;
|
||||||
|
right: 25px;
|
||||||
|
top: -20px;
|
||||||
|
font-size: 60px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-height: 450px) {
|
||||||
|
.overlay a {
|
||||||
|
font-size: 20px
|
||||||
|
}
|
||||||
|
|
||||||
|
.overlay .closebtn {
|
||||||
|
font-size: 40px;
|
||||||
|
top: 15px;
|
||||||
|
right: 35px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.burgerButton {
|
||||||
|
font-size: 30px;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* cache ou affiche un élement si mobile */
|
||||||
|
@media only screen and (max-width: 767px) {
|
||||||
|
.hidden-mobile {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.show-mobile {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media only screen and (min-width: 767px) {
|
||||||
|
.hidden-mobile {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.show-mobile {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,38 @@
|
|||||||
|
.custom-control-label {
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
|
|
||||||
|
.forgot-password,
|
||||||
|
.forgot-password a {
|
||||||
|
text-align: right;
|
||||||
|
font-size: 13px;
|
||||||
|
padding-top: 10px;
|
||||||
|
color: #7f7d7d;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.forgot-password a {
|
||||||
|
color: #167bff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.masthead {
|
||||||
|
height: 100vh;
|
||||||
|
min-height: 500px;
|
||||||
|
background-image: url('/images/brick-wall-with-tea-written-on-it.png');
|
||||||
|
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);
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo {
|
||||||
|
position: relative;
|
||||||
|
bottom: 1px;
|
||||||
|
right: 4px;
|
||||||
|
}
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
.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,54 @@
|
|||||||
|
.custom-control-label {
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
|
|
||||||
|
.forgot-password,
|
||||||
|
.forgot-password a {
|
||||||
|
text-align: right;
|
||||||
|
font-size: 13px;
|
||||||
|
padding-top: 10px;
|
||||||
|
color: #7f7d7d;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.forgot-password a {
|
||||||
|
color: #167bff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.masthead {
|
||||||
|
height: 100vh;
|
||||||
|
min-height: 500px;
|
||||||
|
background-image: url('/images/jars-in-a-blue-furniture.png');
|
||||||
|
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);
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo {
|
||||||
|
position: relative;
|
||||||
|
bottom: 1px;
|
||||||
|
right: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.userUl {
|
||||||
|
list-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.userUl li {
|
||||||
|
position: relative;
|
||||||
|
right: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.codeCol {
|
||||||
|
background-color: white;
|
||||||
|
border-left: "solid grey";
|
||||||
|
border-radius: 2px;
|
||||||
|
box-shadow: inset 2px 2px 2px black;
|
||||||
|
}
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
html,
|
||||||
|
body {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
|
||||||
|
Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
a, a:hover {
|
||||||
|
color: inherit;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
:root{
|
||||||
|
--color1 : #C0D8F0;
|
||||||
|
--color2 : #76AE0D;
|
||||||
|
--color3 : #4C6D0C;
|
||||||
|
--color4 : #F0F0F0;
|
||||||
|
}
|
||||||
|
|
||||||
|
img{
|
||||||
|
/* min-width: 0%!important;
|
||||||
|
min-height: 0%!important; */
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-primary {
|
||||||
|
--bs-btn-color: #fff;
|
||||||
|
--bs-btn-bg: var(--color2);
|
||||||
|
--bs-btn-border-color: var(--color2);
|
||||||
|
--bs-btn-hover-color: #fff;
|
||||||
|
--bs-btn-hover-bg: var(--color3);
|
||||||
|
--bs-btn-hover-border-color: var(--color3);
|
||||||
|
--bs-btn-focus-shadow-rgb: 49,132,253;
|
||||||
|
--bs-btn-active-color: #fff;
|
||||||
|
--bs-btn-active-bg: var(--color3);
|
||||||
|
--bs-btn-active-border-color: var(--color3);
|
||||||
|
--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
||||||
|
--bs-btn-disabled-color: #fff;
|
||||||
|
--bs-btn-disabled-bg: var(--color2);
|
||||||
|
--bs-btn-disabled-border-color: var(--color2);
|
||||||
|
}
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
export type UserProps = {
|
||||||
|
role?: string;
|
||||||
|
email?: string
|
||||||
|
}
|
||||||