+
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user