parent
1e8b08fa11
commit
ef7fbf4636
@ -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 Contact = () => {
|
||||
|
||||
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 Contact;
|
||||
@ -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);
|
||||
}
|
||||
Loading…
Reference in new issue