website refactor
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user