This commit is contained in:
Marces Zastrow
2025-01-17 08:10:15 +01:00
parent d0dd69e9b5
commit a3bf8064d9
7 changed files with 681 additions and 10 deletions
+11
View File
@@ -10,6 +10,8 @@ import JoinGame from './pages/joinGame';
import StartGame from './pages/startGame';
import Profile from './pages/profile';
import Games from './pages/games.jsx';
import GameMasterPage from './pages/gameMasterPage.jsx';
import CreateItem from './pages/createItem.jsx';
import CreateCharacter from './pages/createCharacter.jsx';
import { UserProvider } from './context/UserContext.jsx';
@@ -61,6 +63,10 @@ function App() {
path="/profile"
element={<Profile isLoggedIn={isLoggedIn} />}
/>
<Route
path='/games/:gameId/master'
element={<GameMasterPage isLoggedIn={isLoggedIn} />}
/>
<Route
path='/games/:gameId'
element={<Games isLoggedIn={isLoggedIn} />}
@@ -69,6 +75,11 @@ function App() {
path='/create-Character'
element={<CreateCharacter isLoggedIn={isLoggedIn} />}
/>
<Route
path='/create-item'
element={<CreateItem isLoggedIn={isLoggedIn} />}
/>
</Routes>
</div>
</Router>