bookinventory/resources/views/partials/navbar.blade.php

25 lines
1.2 KiB
PHP
Raw Normal View History

2020-12-26 10:46:23 +00:00
<nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top">
<a class="navbar-brand" href="#">{{ config('app.name') }}</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExampleDefault"
aria-controls="navbarsExampleDefault" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarsExampleDefault">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="/">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
2020-12-27 00:34:07 +00:00
<a class="nav-link" href="{{ route('locations.index') }}">Locations</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{{ route('add') }}">Add</a>
2020-12-26 10:46:23 +00:00
</li>
</ul>
<form class="form-inline my-2 my-lg-0" action="{{ route('search') }}">
<input name="query" class="form-control mr-sm-2" type="text" placeholder="Search" aria-label="Search" />
<button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
</form>
</div>
</nav>