Added a hamburger menu for the navigation menu

This commit is contained in:
Gregory Ballantine 2016-11-18 10:43:21 -05:00
parent b36bd1d8dc
commit 036deef69f

View File

@ -8,8 +8,15 @@
</header> </header>
<!-- nav bar --> <!-- nav bar -->
<nav id="nav" class="row"> <nav id="nav" class="navbar" class="row">
<ul class="col-sm-12"> <div class="container-fluid">
<button id="navbar-collapse-button" type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<i class="fa fa-bars" aria-hidden="true"></i>
</button>
<div class="collapse navbar-collapse" id="navbar-collapse">
<ul class="nav navbar-nav">
<li class="nav_item"> <li class="nav_item">
<a href="{{ urlFor('home') }}">Home</a> <a href="{{ urlFor('home') }}">Home</a>
</li> </li>
@ -23,4 +30,6 @@
<a href="{{ urlFor('contact') }}">Contact</a> <a href="{{ urlFor('contact') }}">Contact</a>
</li> </li>
</ul> </ul>
</div>
</div>
</nav> </nav>