merging the game views

This commit is contained in:
Kbz-8
2024-03-26 17:26:33 +01:00
committed by AdrienLSH
parent 0bc5d275d9
commit b2076fcd08
3 changed files with 324 additions and 463 deletions

View File

@ -4,8 +4,7 @@ import Search from "./views/Search.js";
import HomeView from "./views/HomeView.js";
import LogoutView from "./views/accounts/LogoutView.js";
import GameOfflineView from "./views/GameOfflineView.js";
import GameView2D from "./views/GameView.js";
import GameView3D from "./views/GameView3D.js";
import GameView from "./views/GameView.js";
import PageNotFoundView from './views/PageNotFoundView.js' ;
@ -92,7 +91,7 @@ const router = async(uri) => {
{ path: "/matchmaking", view: MatchMakingView },
{ path: "/games/offline", view: GameOfflineView },
{ path: "/tictactoe", view: TicTacToeView },
{ path: "/games/pong/:id", view: GameView2D },
{ path: "/games/pong/:id", view: GameView },
{ path: "/games/tictactoe/:id", view: TicTacToeOnlineView },
];