add - 404
This commit is contained in:
1 parent
1e8b08fa11
commit
ef7fbf4636
5 files changed
+32
-35
No files matched your search
@@ -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;
|
||||
@@ -173,6 +173,7 @@ const MainPage = ({ csrfToken }: Props) => {
|
||||
className={`form-check-input ${errors.acceptTerms ? 'is-invalid' : ''}`}
|
||||
{...register("acceptTerms")}
|
||||
name="acceptTerms"
|
||||
id="acceptTerms"
|
||||
/>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ const Contact = () => {
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="" />
|
||||
</Head>
|
||||
<div className="container py-2 py-md-3">
|
||||
<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">
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
Reference in new issue
Block a user