Skip to content

Fix unresponsive footer links (CodeWars, HackerRank, Notes & Resources) - #188

Closed
mathcodes with Claude wants to merge 2 commits into
mainfrom
claude/fix-footer-links
Closed

mathcodes with Claude wants to merge 2 commits into
mainfrom
claude/fix-footer-links

Conversation

@Claude

@Claude Claude AI commented Nov 30, 2026 •

Copy link
Copy Markdown

Footer navigation links to internal routes were unresponsive—clicking them did not navigate. The footer rendered every link as a plain <a href>, which forces a full-page reload for SPA routes (/codewars, /hackerrank, /notes) and fails on static hosting where those paths have no server-side file.

Changes

  • src/components/footer/Footer.jsx: Render internal routes with React Router <Link> for client-side navigation; keep <a> for external URLs. This matches the existing convention in ItemCard.jsx.
{item.href.startsWith('/') ? (
  <Link to={item.href} className={linkClass}>{item.name}</Link>
) : (
  <a href={item.href} className={linkClass}>{item.name}</a>
)}

The target routes already exist in App.js, so no routing changes are required.

@vercel

vercel Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
contentfordevelopers Ready Ready Preview Nov 30, 2026 2:56am UTC

@Claude Claude AI changed the title [WIP] Fix unresponsive footer links for CodeWars, HackerRank, Notes & Resources Fix unresponsive footer links (CodeWars, HackerRank, Notes & Resources) Nov 30, 2026
@Claude
Claude AI requested a review from mathcodes November 30, 2026 02:55

@mathcodes mathcodes left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me

@mathcodes
mathcodes marked this pull request as ready for review November 30, 2026 03:00
@mathcodes

Copy link
Copy Markdown
Owner

Done :)

@mathcodes mathcodes closed this Nov 30, 2026

This branch was successfully deployed

1 active deployment
Preview — 7f6029ea Deployed Nov 30, 2026 by vercel[bot]
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.

footer links are not working - CodeWars, HackerRank, Notes & Resources

3 participants