From e48566ca9e20a29dca5ded2884e7d26e207aac2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20F=C3=B6rtsch?= Date: Thu, 12 Mar 2026 15:13:29 +0100 Subject: [PATCH] hide nav bar on root loading screen, show branded splash instead of "Laden" Co-Authored-By: Claude Opus 4.6 --- src/routes/__root.tsx | 4 +++- src/routes/index.tsx | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/routes/__root.tsx b/src/routes/__root.tsx index bd61c30..547a474 100644 --- a/src/routes/__root.tsx +++ b/src/routes/__root.tsx @@ -10,13 +10,15 @@ export const Route = createRootRoute({ component: () => { const matchRoute = useMatchRoute(); const isOnboarding = matchRoute({ to: "/onboarding" }); + const isRoot = matchRoute({ to: "/" }); + const hideNav = isOnboarding || isRoot; return (
- {!isOnboarding && ( + {!hideNav && (