From 6b2819aa2083f24139b0ae0831e1434f500c02c1 Mon Sep 17 00:00:00 2001 From: openhands Date: Wed, 22 Jul 2026 18:40:09 +0200 Subject: [PATCH] Hide all top bars for unauthenticated users --- src/app/(site)/layout.tsx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/app/(site)/layout.tsx b/src/app/(site)/layout.tsx index cbfe07a6..bb7d38bb 100644 --- a/src/app/(site)/layout.tsx +++ b/src/app/(site)/layout.tsx @@ -16,9 +16,13 @@ export default async function SiteLayout({ children }: { children: ReactNode }) return ( <> - - - {session?.user?.id ? : null} + {session?.user?.id ? ( + <> + + + + + ) : null}