Skip to content

Close mobile navbar on link click in all hero-section headers#33

Closed
saimaneim wants to merge 1 commit intotailark:mainfrom
saimaneim:main
Closed

Close mobile navbar on link click in all hero-section headers#33
saimaneim wants to merge 1 commit intotailark:mainfrom
saimaneim:main

Conversation

@saimaneim
Copy link

Overview

This PR improves the mobile navigation experience in the hero-section blocks by ensuring the menu closes automatically when a link is clicked.

What’s Changed

  • Added onClick={() => setMenuState(!menuState)} to all 9 header components within the hero-section blocks of the dusk-kit.
  • This prevents the navbar from staying open after selecting a section link on mobile.

Why

Previously, users had to manually close the navbar after navigating to a section.
This update provides a smoother and more intuitive mobile UX.

@vercel
Copy link
Contributor

vercel bot commented Oct 13, 2025

@saimaneim is attempting to deploy a commit to the meschacirung's projects Team on Vercel.

A member of the Team first needs to authorize it.

@saimaneim
Copy link
Author

Sorry for not doing it in a different branch, I missed it, if you need it like this I can do it again

@saimaneim saimaneim closed this Feb 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant