aboutsummaryrefslogtreecommitdiff
path: root/resources/views/inc/special_navbar.blade.php
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-10-31 11:50:01 +0100
committerMateja <mail@matejamaric.com>2020-10-31 11:50:01 +0100
commitdc94a41f2073d193d04cc0a9cdb852950b2da048 (patch)
treea3c824a1d7fd3b86772ef8049b95d75ea27fdec8 /resources/views/inc/special_navbar.blade.php
parent27499b34d0263e4e7429292517acb8d37ee2c8d2 (diff)
downloadyota-laravel-dc94a41f2073d193d04cc0a9cdb852950b2da048.tar.gz
yota-laravel-dc94a41f2073d193d04cc0a9cdb852950b2da048.zip
Special Calls as separate entity.
Diffstat (limited to 'resources/views/inc/special_navbar.blade.php')
-rw-r--r--resources/views/inc/special_navbar.blade.php31
1 files changed, 31 insertions, 0 deletions
diff --git a/resources/views/inc/special_navbar.blade.php b/resources/views/inc/special_navbar.blade.php
new file mode 100644
index 0000000..de551ba
--- /dev/null
+++ b/resources/views/inc/special_navbar.blade.php
@@ -0,0 +1,31 @@
+<nav class="navbar navbar-expand-md navbar-dark bg-dark">
+ <div class="container">
+ <a href="{{ route('home') }}" class="navbar-brand">YOTA</a>
+ <button type="button" class="navbar-toggler" data-toggle="collapse" data-target="#navbarCollapse">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+
+ <div class="collapse navbar-collapse" id="navbarCollapse">
+ <div class="navbar-nav">
+ <a href="{{ route('activities') }}" class="nav-item nav-link {{ request()->routeIs('activities') ? 'active' : '' }}">Activities</a>
+ <a href="{{ route('reserve') }}" class="nav-item nav-link {{ request()->routeIs('reserve') ? 'active' : '' }}">Make reservation</a>
+ </div>
+ <div class="navbar-nav ml-auto">
+ @if (Auth::check())
+ <div class="nav-item dropdown">
+ <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
+ Administration
+ </a>
+ <div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
+ <a class="dropdown-item" href="#">Callsigns</a>
+ <a class="dropdown-item" href="#">Reservations</a>
+ </div>
+ </div>
+ <a href="{{ route('logout') }}" class="nav-item nav-link">Logout</a>
+ @else
+ <a href="{{ route('login') }}" class="nav-item nav-link {{ request()->routeIs('login') ? 'active' : '' }}">Login</a>
+ @endif
+ </div>
+ </div>
+ </div>
+</nav>