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

Header Component (initial responsive styles) #12

Merged
merged 12 commits into from
Apr 23, 2020

Conversation

zstix
Copy link
Contributor

@zstix zstix commented Apr 22, 2020

Description

First pass at adding the mobile styles for the header / navigation component.

We will want to revisit this once we have final designs and direction around animations.

Related Ticket(s)

Screenshot(s)

Screen Shot 2020-04-22 at 3 50 42 PM
Screen Shot 2020-04-22 at 3 50 53 PM

Copy link
Contributor

@LizBaker LizBaker left a comment

Choose a reason for hiding this comment

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

this looks great! what a hamburger

@zstix zstix merged commit 4124e63 into master Apr 23, 2020
@zstix zstix deleted the zstickles/responsive-header branch April 23, 2020 23:39
Copy link
Contributor

@timglaser timglaser left a comment

Choose a reason for hiding this comment

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

I see it just merged so I'll just place these as comments.

transition: 0.18s;
}

&.HamburgerMenu__open {
Copy link
Contributor

Choose a reason for hiding this comment

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

Following suit naming conventions this would be .is-open as a state classname.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you. I was unsure how best to name this class. I'll update it in a PR shortly.

nav.nav--main {
width: 100%;
height: auto;
&.Header--main__menuOpen nav {
Copy link
Contributor

Choose a reason for hiding this comment

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

Same here with the suit naming convention.

Comment on lines +12 to +13
className={cx('HamburgerMenu', { HamburgerMenu__open: open })}
onClick={() => toggle()}
Copy link
Contributor

Choose a reason for hiding this comment

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

I like the flow.

@zstix zstix added this to the MMF 1 - Ramp Up & Steel Thread milestone May 7, 2020
@nr-opensource-bot
Copy link
Contributor

🎉 This PR is included in version 1.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants