Skip to content
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.

Commit

Permalink
Put nav in hamburger
Browse files Browse the repository at this point in the history
Small hotfix for navbar: added hamburger so that links disappear on
mobile. #16 #39
  • Loading branch information
Wesobi committed Apr 22, 2016
1 parent 7567405 commit 78f8776
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions resources/views/layouts/core.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,18 @@
<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#hamburger" 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="{{ URL::route('home') }}">
<img src="{{ URL::to('/platform/logo.png') }}" class="navlogo" />
</a>
</div>
<div>

<div class="collapse navbar-collapse" id="hamburger">
<ul class="nav navbar-nav">
<li @if (Request::is('/')) class="active" @endif>
<a href="{{ URL::route('home') }}">{{ $W4P_project->title }}</a>
Expand All @@ -39,14 +46,7 @@
<a href="{{ URL::route('how') }}">{{ trans('generic.how_does_it_work') }}</a>
</li>
</ul>
</div>
<div>
<ul class="nav navbar-nav navbar-right">
<li>
{{-- For now, the navbar on the right remains empty --}}
</li>
</ul>
</div>
</div><!-- /.navbar-collapse -->
</div>
</nav>
</div>
Expand Down

0 comments on commit 78f8776

Please sign in to comment.