start of lazy loading

This commit is contained in:
luisa.bellitto 2025-06-19 09:48:24 +02:00 committed by Rudi Regentonne
parent 32490bed89
commit b27d45c965
12 changed files with 68 additions and 93 deletions

View file

@ -5,6 +5,7 @@ import LoginAndSignUpPage from "./pages/LoginAndSignUpPage";
import Footer from "./components/Footer";
import Header from "./components/header";
import { BrowserRouter as Router, Routes, Route } from "react-router-dom";
import Profile from "./pages/Profile";
function App() {
return (
@ -20,6 +21,7 @@ function App() {
path="/register"
element={<LoginAndSignUpPage signupProp={true} />}
></Route>
<Route path="/profile" element={<Profile />}></Route>
</Routes>
<Footer />
</div>