Update PageNotFound.jsx

This commit is contained in:
T'JAMPENS QUENTIN p2406187
2025-12-17 15:10:58 +01:00
parent fa9298a334
commit 883d19d7c4
2 changed files with 49 additions and 2 deletions
+16 -2
View File
@@ -1,10 +1,24 @@
import Background from "../../components/background/background.jsx";
import styles from "./PageNotFound.module.css"
import { useNavigate } from "react-router";
export default function PageNotFound() {
const navigate = useNavigate();
return <Background>
<div className={styles.content}>
<h1 className={styles.title}> Page non trouvée </h1>
<div className={`${styles.container} glassCard`}>
<p>
Désolé, la page que vous recherchez nexiste pas ou nest plus disponible. <br/>
Vous pouvez : <br/>
- Vérifier lURL pour une éventuelle erreur de saisie. <br/>
- Revenir à laccueil <span onClick={() => navigate("/")} className={styles.redirectSpan}>ici.</span> <br/>
<h1>404</h1>
</p>
<p> Contact : contact@example.com </p>
</div>
</div>
</Background>
}