aboutsummaryrefslogblamecommitdiff
path: root/resources/views/inc/navbar.blade.php
blob: 0c5f4cd78c6f16ca8e390450824e0d2f7aa08ff2 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                           
                                          





                                                                                                      
                                                                                                                             

                                                                                                                                      
                                                                                                                                               

                                                                                                                                               
              
                            
                                        
                                                                                                                                
              
              

          
<nav class="navbar navbar-expand-md navbar-light bg-light">
    <span class="navbar-brand">YOTA</span>
    <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('home') }}" class="nav-item nav-link {{ request()->routeIs('home') ? 'active' : '' }}">Home</a>
            <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>
        </div>
        @if (!Auth::check())
        <div class="navbar-nav ml-auto">
            <a href="{{ route('login') }}" class="nav-item nav-link {{ request()->routeIs('login') ? 'active' : '' }}">Login</a>
        </div>
        @endif
    </div>
</nav>