Skip to content

[FIX] Replace # anchor links with cross-page paths and route-based legal links in footer#287

Open
Siddh2024 wants to merge 1 commit into
rdodiya:gssoc_developfrom
Siddh2024:fix/284-footer-anchor-links
Open

[FIX] Replace # anchor links with cross-page paths and route-based legal links in footer#287
Siddh2024 wants to merge 1 commit into
rdodiya:gssoc_developfrom
Siddh2024:fix/284-footer-anchor-links

Conversation

@Siddh2024

Copy link
Copy Markdown
Contributor

Description

Fixed footer navigation links that used # anchor IDs (e.g., #features) which only work on the landing page. The footer is visible on all customer pages, so these links were broken on any page except /.

Changes Made

  • Changed all footer navigation # anchors to /# paths (e.g., /#features) so clicking navigates to the landing page first, then scrolls to the section
  • Replaced footer legal links (Features, How It Works, Pricing, Testimonials, About, Contact) with actual route-based legal links:
    • Privacy Policy → /privacy-policy
    • Terms of Service → /terms-of-service
    • Refund Policy → /refund-policy

Testing

  1. Open landing page → footer navigation links work as before (scroll to sections)
  2. Open restaurant menu page → footer navigation links go to landing page sections
  3. Footer legal links navigate to actual route pages
  4. No 404s or broken links

Fixes #284

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Footer navigation links use # anchors that break on non-landing pages

1 participant