Get contact email from appConf file
This commit is contained in:
1 parent
ac21cadf4a
commit
49c2347931
1 file changed
+2
-1
@@ -1,6 +1,7 @@
|
|||||||
import Background from "../../components/background/background.jsx";
|
import Background from "../../components/background/background.jsx";
|
||||||
import styles from "./PageNotFound.module.css"
|
import styles from "./PageNotFound.module.css"
|
||||||
import { useNavigate } from "react-router";
|
import { useNavigate } from "react-router";
|
||||||
|
import { APP_CONFIG } from "../../config/appConfig.js";
|
||||||
|
|
||||||
export default function PageNotFound() {
|
export default function PageNotFound() {
|
||||||
|
|
||||||
@@ -17,7 +18,7 @@ export default function PageNotFound() {
|
|||||||
- 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 : contact@example.com </p>
|
<p> Contact : {APP_CONFIG.contactEmail} </p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</Background>
|
</Background>
|
||||||
|
|||||||
Reference in new issue
Block a user