2020-07-09 13:00:42 +02:00
|
|
|
import React, { FunctionComponent } from "react";
|
|
|
|
import { Link } from 'react-router-dom';
|
2020-04-22 22:07:52 +02:00
|
|
|
import style from "./style.module.css";
|
2023-09-01 06:11:13 +02:00
|
|
|
import { useTitle } from "../../hooks/use-title";
|
2020-04-20 11:14:46 +02:00
|
|
|
|
2020-07-09 13:00:42 +02:00
|
|
|
const NotFound: FunctionComponent = () => {
|
2023-09-01 06:11:13 +02:00
|
|
|
useTitle("Page non trouvée")
|
|
|
|
|
|
|
|
return (
|
|
|
|
<div className={style.notFound}>
|
|
|
|
<h1>Erreur 404</h1>
|
|
|
|
<p>Cette page n'existe pas</p>
|
|
|
|
<Link to="/"><h4>Retour à la page d'accueil</h4></Link>
|
|
|
|
</div>
|
|
|
|
);
|
2020-04-20 11:14:46 +02:00
|
|
|
};
|
|
|
|
|
2020-07-09 13:00:42 +02:00
|
|
|
export default NotFound;
|