HotDocs: Nav / Sidenav
The left menu & top nav (on desktop) and hamburger menu (on mobile) are configured in hotdocs_helper.rb
.
You can customize the content by updating the following methods:
nav_left_items
: shown in left part of the top nav on desktop and hamburger menu on mobilenav_right_items
: shown in right part of the nav on desktop and hamburger menu on mobilemenu_items
: shown in left menu on desktop and hamburger menu on mobile
Replace the default Nav
If you prefer to code the nav from scratch you can do so in app/views/layouts/hotdocs.html.erb
:
<% content_for :hotdocs_nav do %>
<nav>YOUR NAV</nav>
<% end %>
<%= render template: "layouts/hotdocs/application" %>