Get contact email from appConf file

This commit is contained in:
T'JAMPENS QUENTIN p2406187
2026-01-12 21:56:22 +01:00
parent ac21cadf4a
commit 49c2347931
+2 -1
View File
@@ -1,6 +1,7 @@
import Background from "../../components/background/background.jsx";
import styles from "./PageNotFound.module.css"
import { useNavigate } from "react-router";
import { APP_CONFIG } from "../../config/appConfig.js";
export default function PageNotFound() {
@@ -17,7 +18,7 @@ export default function PageNotFound() {
- Revenir à laccueil <span onClick={() => navigate("/")} className={styles.redirectSpan}>ici.</span> <br/>
</p>
<p> Contact : contact@example.com </p>
<p> Contact : {APP_CONFIG.contactEmail} </p>
</div>
</div>
</Background>