Updating navbar to add the store

This commit is contained in:
Dave Gandy 2016-04-22 11:34:06 -04:00
parent ace3cbc96d
commit 70ece9dc88
2 changed files with 6 additions and 5 deletions

View File

@ -107,13 +107,15 @@
<li><a href="{{ page.relative_path }}examples/#custom">Custom CSS</a></li> <li><a href="{{ page.relative_path }}examples/#custom">Custom CSS</a></li>
</ul> </ul>
</li> </li>
<li{% if page.navbar_active == "accessibility" %} class="active"{% endif %}><a href="{{ page.relative_path }}accessibility/">Accessibility</a></li> <li class="hidden-sm{% if page.navbar_active == "accessibility" %} active{% endif %}"><a href="{{ page.relative_path }}accessibility/">Accessibility</a></li>
<li class="hidden-xs hidden-md hidden-lg{% if page.navbar_active == "accessibility" %} active{% endif %}"><a href="{{ page.relative_path }}accessibility/"><i class="fa fa-universal-access"></i></a></li>
<li{% if page.navbar_active == "community" %} class="active"{% endif %}><a href="{{ page.relative_path }}community/">Community</a></li> <li{% if page.navbar_active == "community" %} class="active"{% endif %}><a href="{{ page.relative_path }}community/">Community</a></li>
<li{% if page.navbar_active == "license" %} class="active"{% endif %}><a href="{{ page.relative_path }}license/">License</a></li> <li{% if page.navbar_active == "license" %} class="active"{% endif %}><a href="{{ page.relative_path }}license/">License</a></li>
<li class="hidden-sm hidden-xs"><a href="{{ site.fontawesome.blog_url }}">Blog</a></li>
</ul> </ul>
<ul class="nav navbar-nav navbar-right hidden-sm hidden-xs"> <ul class="nav navbar-nav navbar-right">
<li><a href="{{ site.fontawesome.blog_url }}">Blog</a></li> <li{% if page.navbar_active == "store" %} class="active"{% endif %}><a href="{{ page.relative_path }}store/"><i class="fa fa-shopping-cart margin-right-sm hidden-sm hidden-md"></i>Store</a></li>
</ul> </ul>
</div> </div>
</div> </div>

View File

@ -1,8 +1,7 @@
--- ---
layout: base layout: base
title: Official Merchandise title: Official Merchandise
navbar_active: license navbar_active: store
view_class: v-get-started
relative_path: ../ relative_path: ../
--- ---
{% capture jumbotron_h1 %}<i class="fa fa-shopping-cart fa-lg valign-baseline" aria-hidden="true"></i>&nbsp; Awesome Swag{% endcapture %} {% capture jumbotron_h1 %}<i class="fa fa-shopping-cart fa-lg valign-baseline" aria-hidden="true"></i>&nbsp; Awesome Swag{% endcapture %}