HotDocs: Nav / Sidenav
The Nav (top) and Sidenav (hamburger on mobile) contents are declared in hot_docs_helper
:
nav_left_items
: left part of the nav on desktop and sidenav on mobilenav_right_items
: right part of the nav on desktop and sidenav on mobilemenu_items
: sidenav on mobile
Implementation
- Html:
layouts/hot_docs.html.erb
- Css:
.nav
and.sidenav
inhot_docs.css
- JavaScript:
sidenav_controller.js
- Ruby:
hot_docs_helper.rb