diff --git a/apps/web/src/components/landing-sections/navbar.tsx b/apps/web/src/components/landing-sections/navbar.tsx index 8fc44cd..3a2e595 100644 --- a/apps/web/src/components/landing-sections/navbar.tsx +++ b/apps/web/src/components/landing-sections/navbar.tsx @@ -48,6 +48,13 @@ const Navbar = () => { } }); + const scrollToTop = () => { + window.scrollTo({ + top: 0, + behavior: "smooth" + }) + } + const links = [ { name: "Pricing", href: "/pricing" }, { name: "Testimonials", href: "/testimonials" }, @@ -78,7 +85,7 @@ const Navbar = () => { > {isOpen ? : } -
+