-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mobile/responsive optimizations (#16)
* Mobile/responsive optimizations * fix: conflict * Update app/views/layouts/application.html.erb Co-authored-by: Josh Brown <[email protected]> * rewrite * optimize alphabetical navigation * chore: lint --------- Co-authored-by: Josh Pigford <[email protected]> Co-authored-by: Josh Brown <[email protected]>
- Loading branch information
1 parent
8120ef9
commit 77d3bfb
Showing
5 changed files
with
40 additions
and
15 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
const navToggle = document.getElementById('nav-toggle'); | ||
const mobileMenu = document.getElementById('mobile-menu'); | ||
|
||
navToggle.addEventListener('click', () => { | ||
mobileMenu.classList.toggle('hidden'); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters