including warning page
This commit is contained in:
parent
e27a01c1ca
commit
ccb4f82186
|
|
@ -13,6 +13,7 @@ import Cookies from "./pages/Cookies.jsx";
|
||||||
import Confidentiality from "./pages/Confidentiality.jsx";
|
import Confidentiality from "./pages/Confidentiality.jsx";
|
||||||
import Thematiques from "./pages/Thematiques.jsx";
|
import Thematiques from "./pages/Thematiques.jsx";
|
||||||
import PageNotFound from "./pages/PageNotFound.jsx";
|
import PageNotFound from "./pages/PageNotFound.jsx";
|
||||||
|
import Warning from "./pages/Warning.jsx";
|
||||||
|
|
||||||
import { useLocation, Routes, Route } from "react-router-dom";
|
import { useLocation, Routes, Route } from "react-router-dom";
|
||||||
import { AnimatePresence } from "framer-motion";
|
import { AnimatePresence } from "framer-motion";
|
||||||
|
|
@ -33,6 +34,7 @@ function App() {
|
||||||
<AnimatePresence mode='wait'>
|
<AnimatePresence mode='wait'>
|
||||||
<Routes location={location} key={location.pathname}>
|
<Routes location={location} key={location.pathname}>
|
||||||
<Route path='/' element={<Welcome />} />
|
<Route path='/' element={<Welcome />} />
|
||||||
|
<Route path='/warning' element={<Warning />} />
|
||||||
<Route path='/home' element={<Home />} />
|
<Route path='/home' element={<Home />} />
|
||||||
<Route path='/select-profile' element={<Profile />} />
|
<Route path='/select-profile' element={<Profile />} />
|
||||||
<Route path='/select-country' element={<Country />} />
|
<Route path='/select-country' element={<Country />} />
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,7 @@
|
||||||
@import "./components/modals/CookiesModal.scss";
|
@import "./components/modals/CookiesModal.scss";
|
||||||
|
|
||||||
@import "./pages/welcome.scss";
|
@import "./pages/welcome.scss";
|
||||||
|
@import "./pages/Warning.scss";
|
||||||
@import "./pages/Home.scss";
|
@import "./pages/Home.scss";
|
||||||
@import "./pages/Profile.scss";
|
@import "./pages/Profile.scss";
|
||||||
@import "./pages/Game.scss";
|
@import "./pages/Game.scss";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user