This commit is contained in:
sebvtl728
2025-01-18 17:42:28 +01:00
parent 2d4341311d
commit dc3c6a566b
3 changed files with 54 additions and 1 deletions
+3 -1
View File
@@ -5,9 +5,10 @@ import { ThemeProvider } from "@mui/material/styles";
import theme from "./theme";
import { HelmetProvider } from "react-helmet-async";
import SimpleReactLightbox from "simple-react-lightbox";
import NotFound from "./components/Pages/NotFound.jsx";
// Lazy loading des pages
const Home = lazy(() => import('./components/pages/Home.jsx'));
const Home = lazy(() => import('./components/Pages/Home.jsx'));
const About = lazy(() => import('./components/Pages/About'));
const Contact = lazy(() => import('./components/Pages/Contact'));
const Post = lazy(() => import('./components/Pages/Post'));
@@ -37,6 +38,7 @@ function YourApp() {
<Route path="/services/prestation-maitrise-oeuvre" element={<ServiceUn />} />
<Route path="/services/formation-ia" element={<ServiceDeux />} />
<Route path="/services/formation-video" element={<ServiceTrois />} />
<Route path="*" element={<NotFound />} />
</Routes>
<Footer />
</Router>