Skip to content

Add navbar scroll-spy active state for section links #14

Description

@Cbiux

Summary

Navbar section links do not indicate which part of the page the user is viewing. A scroll-spy active state improves orientation on long landing pages.

What to build

  • In components/landing/landing-nav.tsx, track the visible section via IntersectionObserver or scroll position
  • Highlight the active nav link (e.g. text-white + underline, matching hover style)
  • Update active state on scroll and when clicking anchor links
  • Works on desktop nav; optional on mobile menu

Acceptance criteria

Files


How to contribute

  1. Comment before starting
  2. Fork → branch (feat/nav-scroll-spy)
  3. Test at 375px and 1280px viewports
  4. PR with Closes #14

Part of the GrantFox OSS program.

Metadata

Metadata

Assignees

No one assigned

    Labels

    GrantFox OSSPart of the GrantFox OSS programMaybe RewardedThis issue may receive a reward or bountyenhancementNew feature or requestpriority: mediumMedium effort improvement

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions