From 55e471767bc12d5738513eeac66e63998c875637 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Sat, 4 Oct 2025 00:55:24 +0000 Subject: [PATCH] Add navItems constant cgen-d6361447b6cf4916b9ebc0c1a76f322c --- client/components/Layout.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/components/Layout.tsx b/client/components/Layout.tsx index 53992e70..8ebef55c 100644 --- a/client/components/Layout.tsx +++ b/client/components/Layout.tsx @@ -58,6 +58,8 @@ export default function Layout({ children }: LayoutProps) { { name: "Contact", href: "/contact" }, ]; + const navItems = user ? userNavigation : navigation; + const scrollToTop = () => { window.scrollTo({ top: 0, behavior: "smooth" }); };