adding game mode button to matchmaking view

This commit is contained in:
Kbz-8
2024-02-21 16:34:50 +01:00
parent f7fbfcad15
commit de2488589c
3 changed files with 23 additions and 171 deletions

View File

@ -5,8 +5,8 @@ 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 GameView from "./views/GameView.js";
import GameView from "./views/GameView3D.js";
import GameView2D from "./views/GameView.js";
import GameView3D from "./views/GameView3D.js";
import PageNotFoundView from './views/PageNotFoundView.js'
@ -88,7 +88,8 @@ const router = async(uri) => {
{ path: "/settings", view: SettingsView },
{ path: "/matchmaking", view: MatchMakingView },
{ path: "/games/offline", view: GameOfflineView },
{ path: "/games/:id", view: GameView },
{ path: "/games/0/:id", view: GameView2D },
{ path: "/games/1/:id", view: GameView3D },
];
// Test each route for potential match