Skip to content

Fix navbar logo click not scrolling to top#102

Open
Dev1822 wants to merge 1 commit into
HerStack-org:mainfrom
Dev1822:fix-navbar-logo-scroll
Open

Fix navbar logo click not scrolling to top#102
Dev1822 wants to merge 1 commit into
HerStack-org:mainfrom
Dev1822:fix-navbar-logo-scroll

Conversation

@Dev1822
Copy link
Copy Markdown

@Dev1822 Dev1822 commented May 27, 2026

What does this PR do?

Adds an onClick handler to the HerStack logo in the navigation bar. This ensures that clicking the logo while already on the homepage will smoothly scroll the user back to the top of the page, fixing an issue where the logo click performed no visible action if the page was scrolled down.

Type of change

  • πŸ› Bug fix
  • ✨ New feature
  • πŸ“ Content (mentor / resource / storyboard)
  • πŸ“– Documentation
  • 🎨 Style / UI improvement
  • ♻️ Refactor

Checklist

  • I've tested my changes locally (npm run dev)
  • My code follows the project style guide
  • I've added/updated comments where needed
  • No console errors introduced

Screenshots (if UI change)

No visual UI layout changes; this only fixes the click interaction to scroll back to the top of the screen.

Related issue

Closes #97

@vercel
Copy link
Copy Markdown

vercel Bot commented May 27, 2026

@Dev1822 is attempting to deploy a commit to the HerStack's projects Team on Vercel.

A member of the Team first needs to authorize it.

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.

Bug: Navbar Logo Does Not Scroll to Top

1 participant