<div class="navtop">
    <div class="container">

        <div class="logo">
            <a href="{{url('')}}">
                <img src="{{asset('assets/web/images/logo.png')}}" alt="">
            </a>
        </div>
        <div class="menu">
            <ul>
                <li class=" wow zoomIn" data-wow-delay="0.1s"><a href="{{ route('loops.index') }}">Loops</a></li>
                <li class=" wow zoomIn" data-wow-delay="0.3s"><a href="{{ route('userswallet.index') }}">Wallet</a></li>
                <li class=" wow zoomIn" data-wow-delay="0.5s"><a href="{{route('user.profile')}}">Profile</a></li>
                <!-- <li class=" wow zoomIn" data-wow-delay="0.7s"><a href="#0">Private</a></li> -->
                <li class=" wow zoomIn" data-wow-delay="0.9s"><a href="{{ route('page_details', ['page'=> $aboutus['id'], 'slug'=> str_slug($aboutus['description']['slug'])] ) }}">{{ $aboutus['description']['title'] }}</a></li>

                @if (auth()->check())
                {{--@if (auth()->check() && auth()->user()->role == 'user')--}}
                    <li class="botn wow zoomIn" data-wow-delay="1.1s"><a href="{{route('user.logout')}}">
                        {{ auth()->user()->role == 'user' ? "Log out" : " Log out from Admin" }}
                    </a></li>
                @else
                    <li class="botn wow zoomIn" data-wow-delay="1.1s">
                        <a href="{{route('user.login')}}">Log in</a>
                    </li>
                    <li class="botn wow zoomIn" data-wow-delay="1.1s">
                        <a href="{{route('user.register')}}">Register</a>
                    </li>
                @endif
            </ul>
        </div>
    </div>
</div>
