website refactor

This commit is contained in:
2026-01-20 22:31:14 +01:00
parent 51288234f4
commit 7cbec00474
52 changed files with 577 additions and 146 deletions

View File

@@ -93,6 +93,7 @@ export interface RouteGroup {
leaderboards: {
root: string;
drivers: string;
teams: string;
};
error: {
notFound: string;
@@ -119,7 +120,7 @@ export interface RouteGroup {
* }
* ```
*/
export const routes: RouteGroup & { leaderboards: { root: string; drivers: string } } = {
export const routes: RouteGroup & { leaderboards: { root: string; drivers: string; teams: string } } = {
auth: {
login: '/auth/login',
signup: '/auth/signup',
@@ -192,6 +193,7 @@ export const routes: RouteGroup & { leaderboards: { root: string; drivers: strin
leaderboards: {
root: '/leaderboards',
drivers: '/leaderboards/drivers',
teams: '/leaderboards/teams',
},
error: {
notFound: '/404',