Initialize League GUI prototype
All checks were successful
Release Dry Run / release-dry-run (push) Successful in 12s
Codex Template Compliance / template-compliance (push) Successful in 6s

This commit is contained in:
ToxicCrzay270
2026-05-15 00:41:38 +02:00
commit 45b96ec20f
62 changed files with 5924 additions and 0 deletions

49
src/config/routes.tsx Normal file
View File

@@ -0,0 +1,49 @@
import type { ComponentType } from "react";
import { ChampionDetailPage } from "../pages/ChampionDetailPage";
import { ChampionsPage } from "../pages/ChampionsPage";
import { HomePage } from "../pages/HomePage";
import { PlayPage } from "../pages/PlayPage";
import { ProfilePage } from "../pages/ProfilePage";
import { SettingsPage } from "../pages/SettingsPage";
import type { AppRoute } from "../types/navigation";
type RouteComponent = ComponentType;
export const appRoutes: Array<AppRoute & { component: RouteComponent }> = [
{
id: "home",
title: "Home",
path: "/",
component: HomePage
},
{
id: "play",
title: "Play",
path: "/play",
component: PlayPage
},
{
id: "champions",
title: "Champions",
path: "/champions",
component: ChampionsPage
},
{
id: "champion-detail",
title: "Champion Detail",
path: "/champions/:championId",
component: ChampionDetailPage
},
{
id: "profile",
title: "Profile",
path: "/profile",
component: ProfilePage
},
{
id: "settings",
title: "Settings",
path: "/settings",
component: SettingsPage
}
];