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

Responsive Nav Menu Example issue #10 #52

Merged
merged 11 commits into from
Feb 4, 2020
Merged

Conversation

nelsonic
Copy link
Member

While building the start|stop timer feature dwyl/app#265,
I tried to implement a mobile-first (responsive) navigation menu in Tachyons and failed miserably. 🤦‍♂
After some googling I discovered issue #10 (which I had opened a while back ...)
(It's always good to re-discover a @dwyl issue with some helpful content! the system works!!)

@Cleop left a comment #10 (comment) linking to the dwyl-site implementation of the CSS-only responsive navigation menu: https://github.com/dwyl/dwyl-site/pull/264/files#diff-b0638442d6af953ff33fca3d49113579L18
The link and brief explanation is much better than nothing, so thanks for the comment! 🥇
And judging by how much ❤️ the comment has received from the community:
lots-of-love-for-cleops-comment
A lot of people using Tachyons have found this useful. 🎉

But ... rather than forcing people to read through a commit which isn't very beginner-friendly,
I've split out the code and simplified it into an example with in-line comments and explanation.

This PR includes

@iteles / @SimonLab please take a look when you can. (not urgent, just nice-to-have)
Thanks! 🌻

Copy link
Member

@iteles iteles left a comment

Choose a reason for hiding this comment

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

🙌 Thanks @nelsonic. Corrected a couple of typos, ready to go.

README.md Outdated Show resolved Hide resolved
relies on [Isabel Castillo](https://github.com/isabelc)'s
brilliant _hidden_ `checkbox` idea:
https://isabelcastillo.com/pure-css-mobile-toggle-menu
(shared by @iteles in
Copy link
Member

Choose a reason for hiding this comment

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

Haha I didn't need the shout-out but thank you!

Copy link
Member Author

Choose a reason for hiding this comment

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

you found the pearl. definitely worth recognising. recognition is core to our culture. ❤️

README.md Outdated Show resolved Hide resolved
nelsonic and others added 2 commits January 31, 2020 18:10
Co-Authored-By: Ines Teles Correia <[email protected]>
Co-Authored-By: Ines Teles Correia <[email protected]>
Copy link
Member

@SimonLab SimonLab left a comment

Choose a reason for hiding this comment

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

menu tested and working well 👍

@SimonLab SimonLab merged commit 6b02453 into master Feb 4, 2020
@SimonLab SimonLab deleted the responsive-nav-menu-issue#10 branch February 4, 2020 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants