Add LUTI to top nav

This commit is contained in:
Kalle 2026-03-19 18:32:35 +02:00
parent 10293df596
commit 6d02372921
2 changed files with 4 additions and 0 deletions

View File

@ -17,6 +17,9 @@ const NAV_CATEGORIES = [
{ name: "lfg", url: "lfg" },
{ name: "calendar", url: "calendar" },
{ name: "leaderboards", url: "leaderboards" },
...(import.meta.env.VITE_SHOW_LUTI_NAV_ITEM === "true"
? [{ name: "luti" as const, url: "luti" as const }]
: []),
],
},
{

1
types/vite.d.ts vendored
View File

@ -1,6 +1,7 @@
interface ImportMetaEnv {
VITE_SKALOP_WS_URL?: string;
VITE_FUSE_ENABLED?: string;
VITE_SHOW_LUTI_NAV_ITEM?: string;
VITE_SITE_DOMAIN: string;
VITE_TOURNAMENT_DEFAULT_LOGO: string;
}