diff --git a/src/components/NavbarMobileOverlay.res b/src/components/NavbarMobileOverlay.res index b0dde37a6..362a22473 100644 --- a/src/components/NavbarMobileOverlay.res +++ b/src/components/NavbarMobileOverlay.res @@ -22,6 +22,7 @@ module MobileNav = { prefetch={#intent} to=#"/blog" className={linkOrActiveLinkSubroute(~target=#"/blog", ~route)} + onClick=toggleMobileOverlay > {React.string("Blog")} @@ -31,6 +32,7 @@ module MobileNav = { prefetch={#intent} to=#"/community/overview" className={linkOrActiveLink(~target=#"/community/overview", ~route)} + onClick=toggleMobileOverlay > {React.string("Community")} @@ -40,6 +42,7 @@ module MobileNav = { prefetch={#intent} to=#"/packages" className={linkOrActiveLink(~target=#"/packages", ~route)} + onClick=toggleMobileOverlay > {React.string("Packages")} @@ -50,22 +53,23 @@ module MobileNav = { rel="noopener noreferrer" className=extLink ariaLabel="X (formerly Twitter)" + onClick=closeMobileOverlay > {React.string("X")}
  • - + {React.string("Bluesky")}
  • - + {React.string("GitHub")}
  • - + {React.string("Forum")}