aboutsummaryrefslogtreecommitdiff
path: root/resources/views/inc
diff options
context:
space:
mode:
Diffstat (limited to 'resources/views/inc')
-rw-r--r--resources/views/inc/navbar.blade.php10
-rw-r--r--resources/views/inc/special_navbar.blade.php31
2 files changed, 35 insertions, 6 deletions
diff --git a/resources/views/inc/navbar.blade.php b/resources/views/inc/navbar.blade.php
index c324674..485dc9c 100644
--- a/resources/views/inc/navbar.blade.php
+++ b/resources/views/inc/navbar.blade.php
@@ -1,6 +1,6 @@
<nav class="navbar navbar-expand-md navbar-dark bg-dark">
<div class="container">
- <span class="navbar-brand">YOTA</span>
+ <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>
@@ -11,8 +11,7 @@
<a href="{{ route('news') }}" class="nav-item nav-link {{ request()->routeIs('news') ? 'active' : '' }}">News</a>
<a href="{{ route('gallery') }}" class="nav-item nav-link {{ request()->routeIs('gallery') ? 'active' : '' }}">Gallery</a>
<a href="{{ route('sponsoring') }}" class="nav-item nav-link {{ request()->routeIs('sponsoring') ? 'active' : '' }}">Sponsoring</a>
- <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>
+ <a href="{{ route('activities') }}" class="nav-item nav-link {{ request()->routeIs('activities') ? 'active' : '' }}">Special Calls</a>
</div>
<div class="navbar-nav ml-auto">
@if (Auth::check())
@@ -21,9 +20,8 @@
Administration
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
- <a class="dropdown-item" href="#">Posts</a>
- <a class="dropdown-item" href="#">Callsigns</a>
- <a class="dropdown-item" href="#">Reservations</a>
+ <a class="dropdown-item" href="#">News</a>
+ <a class="dropdown-item" href="#">Gallery</a>
</div>
</div>
<a href="{{ route('logout') }}" class="nav-item nav-link">Logout</a>
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>