Skip to content

Implement Navbar active states based on scroll position show which section is currently active #5

Description

@kayspace

Description:
Currently, the navbar contains links that scroll to different sections of the page. However, when the user scrolls through the page, there is no visual indicator in the navbar to show which section is currently active.

Suggested Improvement:

  • Implement an active state for navbar links so that when a user scrolls to a section, the corresponding link in the navbar is highlighted (color changes to the accent green color)
  • Ensure the active state updates dynamically as the user scrolls between sections.
  • Active state should also apply when navigating via direct clicking on a navbar link.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions