Initial frontend draft

This commit is contained in:
Fishandchips321 2025-12-22 18:10:28 +00:00
parent 1606d1faf0
commit b6293beeec
21 changed files with 4105 additions and 150 deletions

View file

@ -1,3 +1,8 @@
import { type RouteConfig, index } from "@react-router/dev/routes";
import { type RouteConfig, index, route } from "@react-router/dev/routes";
export default [index("routes/home.tsx")] satisfies RouteConfig;
export default [
index("routes/home.tsx"),
route("/Libraries", "routes/Libraries.tsx"),
route("/Library:libraryId", "routes/LibraryItems.tsx"),
route("/Library/:libraryId/Item/:item", "routes/Item.tsx"),
] satisfies RouteConfig;