Created
December 11, 2018 19:08
-
-
Save tygerbytes/bce9a784630eab859b0d1c423c56ccba to your computer and use it in GitHub Desktop.
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
<nav class="navbar navbar-default navbar-fixed-bottom"> | |
<div class="container-fluid"> | |
<div class="navbar-header"> | |
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" | |
data-target="#navbar-collapse-1" aria-expanded="false"> | |
<span class="sr-only">Toggle navigation</span> | |
<span class="icon-bar"></span> | |
<span class="icon-bar"></span> | |
<span class="icon-bar"></span> | |
</button> | |
<a class="navbar-brand" href="/">🏃 Runby Pace</a> | |
</div> | |
<div class="collapse navbar-collapse" id="navbar-collapse-1"> | |
<ul class="nav navbar-nav"> | |
<li role="presentation" <%= class_list_if(@active_nav == 'index', 'active') %>"> | |
<a href="/">Home</a> | |
</li> | |
<li role="presentation" <%= class_list_if(@active_nav == 'about', 'active') %>> | |
<%= link_to('About','/about') %> | |
</li> | |
</ul> | |
</div> | |
</div> | |
</nav> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment