diff --git a/client/components/Layout.tsx b/client/components/Layout.tsx index bf9cf5f3..c54f880e 100644 --- a/client/components/Layout.tsx +++ b/client/components/Layout.tsx @@ -16,6 +16,10 @@ export default function Layout({ children }: LayoutProps) { { name: "Contact", href: "/contact" }, ]; + const scrollToTop = () => { + window.scrollTo({ top: 0, behavior: 'smooth' }); + }; + return (