Skip to content

Clicking website name on homepage does not scroll to top #25

@anshcodes22

Description

@anshcodes22

Problem
When clicking the website name/logo from other pages, it correctly navigates to the homepage. However, when already on the homepage, clicking the website name/logo does nothing — it does not scroll back to the top.

This is inconsistent with common web navigation practices and creates a confusing experience, especially on long homepages where users expect the logo to reset their view to the start.

Expected Behavior

If the user is on another page → clicking the name/logo should load the homepage (current behavior).

If the user is already on the homepage → clicking the name/logo should scroll the page back to the top.

Steps to Reproduce

Navigate to the homepage.

Scroll down.

Click the website name/logo in the header.

Observe that nothing happens — the page stays scrolled down.

Suggested Solution

Add logic so that if the user is on the homepage, clicking the website name/logo smoothly scrolls to the top.

Impact

Improves navigation consistency.

Aligns with widely expected web convention (logo/name = “go home / scroll to top”).

Screencast.from.2025-09-25.14-39-24.webm

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions