Finish implementing game requests

This commit is contained in:
grimsi
2025-09-03 00:41:52 +02:00
parent ae7a65ccbc
commit 2f54cb49e6
21 changed files with 460 additions and 74 deletions
+6
View File
@@ -24,6 +24,7 @@ import RecentlyAddedView from "Frontend/views/RecentlyAddedView";
import LibraryView from "Frontend/views/LibraryView";
import {RouterConfigurationBuilder} from "@vaadin/hilla-file-router/runtime.js";
import ErrorView from "Frontend/views/ErrorView";
import GameRequestView from "Frontend/views/GameRequestView";
export const {router, routes} = new RouterConfigurationBuilder()
.withReactRoutes([
@@ -47,6 +48,11 @@ export const {router, routes} = new RouterConfigurationBuilder()
element: <RecentlyAddedView/>,
handle: {title: 'Recently Added'}
},
{
path: '/requests',
element: <GameRequestView/>,
handle: {title: 'Game requests'}
},
{
path: 'library/:libraryId',
element: <LibraryView/>