Skip to content

Feat:Add scroll-to-top behavior on navbar logo click #1139

@JaYRaNa213

Description

@JaYRaNa213

Describe the feature

Description

Clicking the AOSSIE / PictoPy logo in the navbar should smoothly scroll the page back to the top instead of only acting as a route link.

This improves navigation UX, especially on long landing pages.

Expected Behavior

  • Clicking the navbar logo scrolls smoothly to the top of the page
  • Works consistently on desktop and mobile
  • Does not reload the page

Proposed Implementation

Handle logo click in Navbar.tsx using window.scrollTo with smooth behavior.

window.scrollTo({ top: 0, behavior: "smooth" });

Files Affected

Navbar.tsx

Add ScreenShots

Scroll.to.top.mp4

Record

  • I agree to follow this project's Code of Conduct
  • I want to work on this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions