From 6d023729214fe472182d4093a5a2f8df0228f2e6 Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Thu, 19 Mar 2026 18:32:35 +0200 Subject: [PATCH] Add LUTI to top nav --- app/components/layout/TopNavMenus.tsx | 3 +++ types/vite.d.ts | 1 + 2 files changed, 4 insertions(+) diff --git a/app/components/layout/TopNavMenus.tsx b/app/components/layout/TopNavMenus.tsx index 438844298..18b40a493 100644 --- a/app/components/layout/TopNavMenus.tsx +++ b/app/components/layout/TopNavMenus.tsx @@ -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 }] + : []), ], }, { diff --git a/types/vite.d.ts b/types/vite.d.ts index c33792832..280a7a023 100644 --- a/types/vite.d.ts +++ b/types/vite.d.ts @@ -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; }