<div class="uk-container uk-container-expand header-bg" uk-sticky>
    <div class="uk-grid-small uk-visible@m" uk-grid>
        <div class="uk-width-auto">
            <div class="company-logo-row"><a class="company-logo" href="{{url('/')}}"><img src="{{url('images/listing-llama-admin-logo.png')}}" class="logo"></a></div>
        </div>
        <div class="uk-width-expand">
            <div class="header-right">
                <a class="login-user-name">Welcome, {{auth()->user()->name}} <img class="profile-img" src="{{url('images/profile-img.png')}}"> <i class="fa-solid fa-caret-down"></i></a>
                <div class="top-side-menu" uk-dropdown="pos: top-right">
                    <ul class="uk-nav uk-navbar-dropdown-nav">
                        @if(session()->exists('adminLogin') && \Session::get('adminLogin') == '1')
                        <li>
                            <a href="{{url('back-to-admin')}}">
                                <i class="fa-sharp fa-solid fa-arrow-left-to-line"></i> Back To Admin
                            </a>
                        </li> 
                        @endif
                        <li><a href="{{url('logout')}}"><i class="fa-sharp fa-regular fa-right-from-bracket"></i> Logout</a></li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
    <div class="uk-grid-small uk-hidden@m" uk-grid>
        <div class="uk-width-auto">
            <a href="{{url('/')}}"><img class="mobile-logo" src="{{url('images/listing-llama-admin-logo.png')}}" alt=""></a>
        </div>
        <div class="uk-width-expand uk-text-right uk-margin-remove-top mobile_menu">
            <a uk-toggle="target: #mobile_sidebar"><i class="fas fa-bars fa-2x"></i></a>
        </div>
    </div>
</div>