introducing not found
This commit is contained in:
parent
f679f873fa
commit
86f5dae21e
|
|
@ -12,6 +12,7 @@ import ConditionsOfUse from "./pages/ConditionsOfUse.jsx";
|
||||||
import Cookies from "./pages/Cookies.jsx";
|
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 { 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";
|
||||||
|
|
@ -40,6 +41,7 @@ function App() {
|
||||||
<Route path='/themes' element={<Thematiques />} />
|
<Route path='/themes' element={<Thematiques />} />
|
||||||
<Route path='/confidentiality' element={<Confidentiality />} />
|
<Route path='/confidentiality' element={<Confidentiality />} />
|
||||||
<Route path='/test' element={<Test />} />
|
<Route path='/test' element={<Test />} />
|
||||||
|
<Route path='*' element={<PageNotFound />} />
|
||||||
</Routes>
|
</Routes>
|
||||||
</AnimatePresence>
|
</AnimatePresence>
|
||||||
</>
|
</>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user