including warning page

This commit is contained in:
Antoine M 2024-06-24 14:47:48 +02:00
parent e27a01c1ca
commit ccb4f82186
2 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,7 @@ import Cookies from "./pages/Cookies.jsx";
import Confidentiality from "./pages/Confidentiality.jsx";
import Thematiques from "./pages/Thematiques.jsx";
import PageNotFound from "./pages/PageNotFound.jsx";
import Warning from "./pages/Warning.jsx";
import { useLocation, Routes, Route } from "react-router-dom";
import { AnimatePresence } from "framer-motion";
@ -33,6 +34,7 @@ function App() {
<AnimatePresence mode='wait'>
<Routes location={location} key={location.pathname}>
<Route path='/' element={<Welcome />} />
<Route path='/warning' element={<Warning />} />
<Route path='/home' element={<Home />} />
<Route path='/select-profile' element={<Profile />} />
<Route path='/select-country' element={<Country />} />

View File

@ -35,6 +35,7 @@
@import "./components/modals/CookiesModal.scss";
@import "./pages/welcome.scss";
@import "./pages/Warning.scss";
@import "./pages/Home.scss";
@import "./pages/Profile.scss";
@import "./pages/Game.scss";