Convert PageNotFoundPage to Typescript
This commit is contained in:
+4
-4
@@ -1,4 +1,4 @@
|
|||||||
import Background from "../../components/Background/Background.jsx";
|
import Background from "../../components/Background/Background";
|
||||||
import styles from "./PageNotFoundPage.module.css"
|
import styles from "./PageNotFoundPage.module.css"
|
||||||
import { useNavigate } from "react-router";
|
import { useNavigate } from "react-router";
|
||||||
import { APP_CONFIG } from "../../config/appConfig.js";
|
import { APP_CONFIG } from "../../config/appConfig.js";
|
||||||
@@ -12,10 +12,10 @@ export default function PageNotFoundPage() {
|
|||||||
<h1 className={styles.title}> Page non trouvée </h1>
|
<h1 className={styles.title}> Page non trouvée </h1>
|
||||||
<div className={`${styles.container} glassCard`}>
|
<div className={`${styles.container} glassCard`}>
|
||||||
<p>
|
<p>
|
||||||
Désolé, la page que vous recherchez n’existe pas ou n’est plus disponible. <br/>
|
Désolé, la page que vous recherchez n'existe pas ou n'est plus disponible. <br/>
|
||||||
Vous pouvez : <br/>
|
Vous pouvez : <br/>
|
||||||
- Vérifier l’URL pour une éventuelle erreur de saisie. <br/>
|
- Vérifier l'URL pour une éventuelle erreur de saisie. <br/>
|
||||||
- Revenir à l’accueil <span onClick={() => navigate("/")} className={styles.redirectSpan}>ici.</span> <br/>
|
- Revenir à l'accueil <span onClick={() => navigate("/")} className={styles.redirectSpan}>ici.</span> <br/>
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
<p> Contact : {APP_CONFIG.contactEmail} </p>
|
<p> Contact : {APP_CONFIG.contactEmail} </p>
|
||||||
Reference in New Issue
Block a user