mirror of
https://github.com/bubblecup-12/VogelSocialMedia.git
synced 2025-07-08 13:38:47 +00:00
start of lazy loading
This commit is contained in:
parent
32490bed89
commit
b27d45c965
12 changed files with 68 additions and 93 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue