<header class="header shop">

    <div class="middle-inner">
        <div class="container">
            <div class="row">
                <div class="col-lg-2 col-md-2 col-12">
                    <!-- Logo -->
                    <div class="logo">
                        @php
                            $settings=DB::table('settings')->get();
                        @endphp                    
                        <a href="{{route('home')}}"><img src="@foreach($settings as $data) {{$data->logo}} @endforeach" alt="logo"></a>
                    </div>
                    <!--/ End Logo -->
                </div>
                <div class="col-lg-10 col-md-10 col-12">
                    <div class="right-bar">
                        <div class="menu-area">
                            <!-- Main Menu -->
                            <nav class="navbar navbar-expand-lg">
                                <div class="navbar-collapse">	
                                    <div class="nav-inner">	
                                        <ul class="nav main-menu menu navbar-nav">
                                            <li class="{{Request::path()=='home' ? 'active' : ''}}"><a href="{{route('home')}}">Home</a></li>
                                            <li class="{{Request::path()=='getPromo' ? 'active' : ''}}"><a href="{{route('getPromo')}}">Get Promo Code</a></li>
                                            <!-- <li class="{{Request::path()=='about-us' ? 'active' : ''}}"><a href="{{route('about-us')}}">About Us</a></li>
                                            <li class="@if(Request::path()=='product-grids'||Request::path()=='product-lists')  active  @endif"><a href="{{route('product-grids')}}">Products</a><span class="new">New</span></li>												
                                            <li class="{{Request::path()=='contact' ? 'active' : ''}}"><a href="{{route('contact')}}">Contact Us</a></li> -->
                                            @auth 
                                                @if(Auth::user()->role=='user')
                                                    <li> <a href="{{route('points')}}" >My Points</a></li>
                                                    <li> <a href="{{route('user-profile')}}" >Profile</a></li>
                                                @endif
                                                <li> <a href="{{route('user.logout')}}">Logout</a></li>
                                            @else
                                                <li><a href="{{route('login.form')}}">Login</a> </li>
                                                <li><a href="{{route('register.form')}}">Register</a> </li>
                                            @endauth
                                        </ul>
                                    </div>
                                </div>
                            </nav>
                            <!--/ End Main Menu -->	
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

</header>