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

Adding active style to side nav links #281

Merged
merged 10 commits into from
Sep 27, 2018
Merged

Conversation

jonrohan
Copy link
Member

@jonrohan jonrohan commented Sep 25, 2018

Gives the side nav active links a different color/style so that when they're active you can tell what page they're on.

image

*Note there's typography properties that I'm using that need to be added to the Link.js component.

Merge checklist

  • Changed base branch to release branch
  • Tested in Chrome
  • Tested in Firefox
  • Tested in Safari
  • Tested in Edge

@vercel
Copy link

vercel bot commented Sep 25, 2018

This pull request is automatically deployed with Now.
To access deployments, click Details below or on the icon next to each push.

@emplums emplums changed the base branch from master to q3-wildflower September 25, 2018 22:11
className="text-white"
href="/components"
px={4}
fontWeigt={router.pathname === '/components' ? 'bold' : null}
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like we're missing the "h" in fontWeight here.

Copy link
Member Author

Choose a reason for hiding this comment

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

ahhhhh

@shawnbot shawnbot added ⭐️rep an industry leading reputation docs Documentation labels Sep 27, 2018
Copy link

@emplums emplums left a comment

Choose a reason for hiding this comment

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

Looks good, nice work!

@jonrohan jonrohan merged commit 15193c9 into q3-wildflower Sep 27, 2018
@jonrohan jonrohan deleted the side_nav_active_style branch September 27, 2018 22:40
@emplums emplums mentioned this pull request Sep 27, 2018
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation ⭐️rep an industry leading reputation status: review needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants