From 6cbd47d6209cbfca3ac8c794515c87482db568a3 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Sun, 19 Oct 2025 17:11:59 +0000 Subject: [PATCH] Hide top nav menu links and enhance homepage hero CTAs cgen-4ac1a7efba074525a501ce6df9674f51 --- client/components/Layout.tsx | 50 +++--------------------------------- 1 file changed, 3 insertions(+), 47 deletions(-) diff --git a/client/components/Layout.tsx b/client/components/Layout.tsx index 1f016f8d..2314e35c 100644 --- a/client/components/Layout.tsx +++ b/client/components/Layout.tsx @@ -72,7 +72,7 @@ export default function CodeLayout({ children, hideFooter }: LayoutProps) { ? `/passport/${profile.username}` : "/passport/me"; - const navItems = user ? userNavigation : navigation; + const navItems: { name: string; href: string }[] = []; const scrollToTop = () => { window.scrollTo({ top: 0, behavior: "smooth" }); @@ -100,29 +100,7 @@ export default function CodeLayout({ children, hideFooter }: LayoutProps) { {/* Navigation */} - +