Files
SAE-BUT2/src/pages/PageNotFound/PageNotFoundPage.jsx
T

25 lines
1016 B
React
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import Background from "../../components/Background/Background.jsx";
import styles from "./PageNotFoundPage.module.css"
import { useNavigate } from "react-router";
import { APP_CONFIG } from "../../config/appConfig.js";
export default function PageNotFoundPage() {
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 n’existe pas ou n’est plus disponible. <br/>
Vous pouvez : <br/>
- Vérifier l’URL pour une éventuelle erreur de saisie. <br/>
- Revenir à l’accueil <span onClick={() => navigate("/")} className={styles.redirectSpan}>ici.</span> <br/>
</p>
<p> Contact : {APP_CONFIG.contactEmail} </p>
</div>
</div>
</Background>
}