diff --git a/frontend/src/components/Pages/NotFound.css b/frontend/src/components/Pages/NotFound.css new file mode 100644 index 0000000..5ec1bea --- /dev/null +++ b/frontend/src/components/Pages/NotFound.css @@ -0,0 +1,35 @@ +.notfound-container { + text-align: center; + padding: 50px; +} + +.notfound-container h1 { + font-size: 100px; + color: red; + margin-bottom: 10px; +} + +.notfound-container h2 { + font-size: 30px; + margin-bottom: 10px; +} + +.notfound-container p { + font-size: 18px; + margin-bottom: 20px; +} + +.back-home { + display: inline-block; + padding: 10px 20px; + background-color: #007BFF; + color: white; + text-decoration: none; + border-radius: 5px; + font-size: 18px; + transition: background 0.3s ease; +} + +.back-home:hover { + background-color: #0056b3; +} \ No newline at end of file diff --git a/frontend/src/components/Pages/NotFound.jsx b/frontend/src/components/Pages/NotFound.jsx new file mode 100644 index 0000000..7f53c6c --- /dev/null +++ b/frontend/src/components/Pages/NotFound.jsx @@ -0,0 +1,16 @@ +import React from "react"; +import { Link } from "react-router-dom"; +import "./NotFound.css"; // Style dédié + +const NotFound = () => { + return ( +
Il semble que la page que vous recherchez n'existe pas.
+ Retour à l'accueil +