Skip to content

bug: explore.html navbar and footer anchors point to sections that do not exist on the page #1876

Description

@ionfwsrijan

Summary

Every anchor in the explore page's navbar and footer is dead. The mobile menu, navbar, and footer link to section anchors (#home, #how-it-works, #features, #find-project, #the-project, #our-story) but none of those element IDs exist anywhere in explore.html, so clicking them scrolls nowhere.

Evidence

src/templates/explore.html anchor targets (verified lines):

414: <a href="#home" ...>Home</a>
415: <a href="#how-it-works" ...>How It Works</a>
416: <a href="#features" ...>Features</a>
417: <a href="#find-project" ...>Find Project</a>
607: <a href="#home">Home</a>
608: <a href="#how-it-works">How It Works</a>
609: <a href="#features">Features</a>
611: <a href="#the-project">Find Project</a>     # "the-project" id also nonexistent
612: <a href="#find-project">Find Project</a>
630: <a href="#our-story">Our Story</a>
640: <a href="#our-story">About Us</a>

Element IDs present on the page (grep of id="..."): navbar, topic-search-form, topic-search, nav-mobile-toggle, nav-mobile-menu, topic-search-form-mobile, topic-search-mobile, theme-toggle-mobile, explore-filter-form, search, level, interest, time, sort, github-modal-overlay, github-username, github-modal-error, btn-fetch-github, btn-close-github, scroll-top-btn, scroll-btn-icon.

None of the six anchor targets exist. explore.html is a single-page view of the project catalog (filters/search), so these are copied-over homepage anchors that were never removed.

Impact

  • All nav and footer navigation on /explore is non-functional — the primary navigation links go nowhere.
  • Users landing on the explore page have no working way to jump to sections (they can only scroll).

Suggested Fix

Remove the dead anchors from the explore navbar/footer, or point them at the homepage sections they are meant to reach (e.g. href="/#home"). Add an HTML check so anchor targets without matching IDs fail CI.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions