Merge branch 'feature/cedric' of https://github.com/Eric-ciccotti/rest-nextjs-api-routes-auth into feature/eric
commit
99ac2e0b79
@ -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;
|
||||||
@ -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;
|
||||||
@ -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;
|
||||||
@ -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;
|
|
||||||
}
|
}
|
||||||
@ -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;
|
||||||
|
}
|
||||||
Loading…
Reference in new issue