Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass location into Layout and use to set current class on nav links #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

robert-bo-davis
Copy link

This highlights current location in the nav bar instead of "Home" always being set to .nav-current

@xmflsct xmflsct mentioned this pull request Oct 6, 2019
@imedadel
Copy link
Owner

Hello @robert-bo-davis, thank you for the changes 😊. Gatsby Link offers the ability to style the current page differently, I'll be updating the starter very soon to fix this issue.

Sorry for the very late answer, I'm a student 😅

@imedadel imedadel added enhancement New feature or request todo 🗒️ labels Oct 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request todo 🗒️
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants