<div class="header">
    <div class="header-left active">
        <a href="<?php echo e(route('dashboard')); ?>" class="logo">
            <img src="<?php echo e(asset('assets/img/logo.png')); ?>" alt="">
        </a>
        <a href="index.html" class="logo-small">
            <img src="<?php echo e(asset('assets/img/logo-small.png')); ?>" alt="">
        </a>
        <a id="toggle_btn" href="javascript:void(0);"></a>
    </div>

    <a id="mobile_btn" class="mobile_btn" href="#sidebar">
        <span class="bar-icon">
            <span></span>
            <span></span>
            <span></span>
        </span>
    </a>

    <ul class="nav user-menu">
        <li class="nav-item dropdown has-arrow main-drop">
            <a href="javascript:void(0);" class="dropdown-toggle nav-link userset" data-bs-toggle="dropdown">
                <span class="user-img">
                    <img src="<?php echo e(asset('assets/img/profile/'. (auth()->user()->image ?? 'default.png'))); ?>" alt="">
                    <span class="status online"></span>
                </span>
            </a>
            <div class="dropdown-menu menu-drop-user">
                <div class="profilename">
                    <div class="profileset align-items-center">
                        <span class="user-img">
                            <img src="<?php echo e(asset('assets/img/profile/'. (auth()->user()->image ?? 'default.png'))); ?>" alt="">
                            <span class="status online"></span>
                        </span>
                        <div class="profilesets">
                            <p class="mb-0 small fw-bold"><?php echo e(explode(' ', Auth::user()->name)[0]); ?></p>
                            <p class="mb-0 small"><?php echo e(Auth::user()->role); ?></p>
                        </div>
                    </div>
                    <hr class="m-0">
                    <a class="dropdown-item" href="<?php echo e(route('profile.edit')); ?>">
                        <i class="me-2" data-feather="user"></i> My Profile
                    </a>
                    <hr class="m-0">
                    <form id="logout-form" action="<?php echo e(route('logout')); ?>" method="POST" style="display: none;">
                        <?php echo csrf_field(); ?>
                    </form>
                    <a class="pb-0 dropdown-item logout" href="<?php echo e(route('logout')); ?>"
                        onclick="event.preventDefault(); document.getElementById('logout-form').submit();">
                        <img src="<?php echo e(asset('assets/img/icons/log-out.svg')); ?>" class="me-2" alt="img">Logout
                    </a>
                </div>
            </div>
        </li>
    </ul>

    <div class="dropdown mobile-user-menu">
        <a href="javascript:void(0);" class="nav-link dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
            <i class="fa fa-ellipsis-v"></i>
        </a>
        <div class="dropdown-menu dropdown-menu-right">
            <a class="dropdown-item" href="<?php echo e(route('profile.edit')); ?>">My Profile</a>

            <a class="dropdown-item" href="<?php echo e(route('logout')); ?>"
                onclick="event.preventDefault(); document.getElementById('logout-form').submit();">Logout</a>
        </div>
    </div>
</div>
<?php /**PATH /home/aligkrwp/public_html/resources/views/admin/layouts/navbar.blade.php ENDPATH**/ ?>