Added Profile
Updated Backend
This commit is contained in:
Marces Zastrow
2025-01-08 12:07:27 +01:00
parent 1cbe8b9d94
commit 2091ce9e0f
10 changed files with 526 additions and 14 deletions
+6 -1
View File
@@ -8,6 +8,7 @@ import Login from './pages/login';
import Register from './pages/register';
import JoinGame from './pages/joinGame';
import StartGame from './pages/startGame';
import Profile from './pages/profile';
import { UserProvider } from './context/UserContext.jsx';
function App() {
@@ -47,13 +48,17 @@ function App() {
}} />}
/>
<Route
path="joinGame"
path="/joinGame"
element={<JoinGame isLoggedIn={isLoggedIn} />}
/>
<Route
path="/startGame"
element={<StartGame isLoggedIn={isLoggedIn} />}
/>
<Route
path="/profile"
element={<Profile isLoggedIn={isLoggedIn} />}
/>
</Routes>
</div>
</Router>