Rename LegalNotices page component files
This commit is contained in:
@@ -30,7 +30,7 @@ export default function Footer(){
|
|||||||
Fiche RGPD
|
Fiche RGPD
|
||||||
</Link>
|
</Link>
|
||||||
<span className={styles.separator}></span>
|
<span className={styles.separator}></span>
|
||||||
<Link to="/legalNotices" className={styles.link} onClick={scrollToTop}>
|
<Link to="/legalNoticesPage" className={styles.link} onClick={scrollToTop}>
|
||||||
Mentions légales
|
Mentions légales
|
||||||
</Link>
|
</Link>
|
||||||
<span className={styles.separator}></span>
|
<span className={styles.separator}></span>
|
||||||
|
|||||||
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
import styles from "./LegalNotices.module.css";
|
import styles from "./LegalNoticesPage.module.css";
|
||||||
import {Link} from "react-router";
|
import {Link} from "react-router";
|
||||||
|
|
||||||
export default function legalNotices() {
|
export default function legalNoticesPage() {
|
||||||
return (
|
return (
|
||||||
<div className={`${styles.legalNotices} glassCard`}>
|
<div className={`${styles.legalNotices} glassCard`}>
|
||||||
<h1>Mentions Légales</h1>
|
<h1>Mentions Légales</h1>
|
||||||
+1
-1
@@ -10,7 +10,7 @@ import AdminPage from "./pages/Admin/AdminPage.jsx";
|
|||||||
import ValidationErrorPage from "./pages/waitValidationPage/ValidationErrorPage.jsx";
|
import ValidationErrorPage from "./pages/waitValidationPage/ValidationErrorPage.jsx";
|
||||||
import PageNotFound from "./pages/PageNotFound/PageNotFound.jsx";
|
import PageNotFound from "./pages/PageNotFound/PageNotFound.jsx";
|
||||||
import eventDetail from "./pages/EventDetail/EventDetailPage.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";
|
import RGPD from "./pages/RGPD/RGPD.jsx";
|
||||||
|
|
||||||
const router = createBrowserRouter([
|
const router = createBrowserRouter([
|
||||||
|
|||||||
Reference in New Issue
Block a user