Rename LegalNotices page component files

This commit is contained in:
2026-03-12 14:58:22 +01:00
parent c973834133
commit 7dc1048a2a
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ export default function Footer(){
Fiche RGPD
</Link>
<span className={styles.separator}></span>
<Link to="/legalNotices" className={styles.link} onClick={scrollToTop}>
<Link to="/legalNoticesPage" className={styles.link} onClick={scrollToTop}>
Mentions légales
</Link>
<span className={styles.separator}></span>
@@ -1,7 +1,7 @@
import styles from "./LegalNotices.module.css";
import styles from "./LegalNoticesPage.module.css";
import {Link} from "react-router";
export default function legalNotices() {
export default function legalNoticesPage() {
return (
<div className={`${styles.legalNotices} glassCard`}>
<h1>Mentions Légales</h1>
+1 -1
View File
@@ -10,7 +10,7 @@ import AdminPage from "./pages/Admin/AdminPage.jsx";
import ValidationErrorPage from "./pages/waitValidationPage/ValidationErrorPage.jsx";
import PageNotFound from "./pages/PageNotFound/PageNotFound.jsx";
import eventDetail from "./pages/EventDetail/EventDetailPage.jsx";
import legalNotices from "./pages/LegalNotices/LegalNotices.jsx";
import legalNotices from "./pages/LegalNotices/LegalNoticesPage.jsx";
import RGPD from "./pages/RGPD/RGPD.jsx";
const router = createBrowserRouter([