Skip to content

Add active state indicator to sidebar navigation#57

Merged
vramdhanie merged 1 commit intomainfrom
claude/affectionate-lovelace
Mar 11, 2026
Merged

Add active state indicator to sidebar navigation#57
vramdhanie merged 1 commit intomainfrom
claude/affectionate-lovelace

Conversation

@vramdhanie
Copy link
Copy Markdown
Owner

Create NavLink client component using usePathname() to highlight the current page in the sidebar. Main nav uses prefix matching (so article slugs activate the Articles entry); home, article, and reading list links use exact matching.

Create NavLink client component using usePathname() to highlight the
current page in the sidebar. Main nav uses prefix matching (so article
slugs activate the Articles entry); home, article, and reading list
links use exact matching.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@vramdhanie vramdhanie self-assigned this Mar 11, 2026
@vramdhanie vramdhanie merged commit 072b467 into main Mar 11, 2026
1 check passed
@github-actions
Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit 8cba97d):

https://gatsbyweb-4daed--preview-gnpn2ro0.web.app

(expires Fri, 10 Apr 2026 23:40:15 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 094c710462181162edbb2e37ed188bc14e46c6e9

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.

1 participant