Add navItems constant

cgen-d6361447b6cf4916b9ebc0c1a76f322c
This commit is contained in:
Builder.io 2025-10-04 00:55:24 +00:00
parent 45aa593a7c
commit 55e471767b

View file

@ -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" });
};