<div class="nk-header nk-header-fixed is-light">
    <div class="container-fluid">
        <div class="nk-header-wrap">
            <div class="nk-menu-trigger d-xl-none ms-n1">
                <a href="<?php echo e(route('dashboard')); ?>" class="nk-nav-toggle nk-quick-nav-icon" data-target="sidebarMenu">
                    <em class="icon ni ni-menu"></em>
                </a>
            </div>

            <div class="nk-header-brand d-xl-none">
                <a href="javascript:void(0);" class="logo-link">
                    <img class="logo-light logo-img" src="<?php echo e(asset('assets/images/logo.png')); ?>" srcset="<?php echo e(asset('assets/images/logo2x.png')); ?> 2x" alt="logo">
                    <img class="logo-dark logo-img" src="<?php echo e(asset('assets/images/logo-dark.png')); ?>" srcset="<?php echo e(asset('assets/images/logo-dark2x.png')); ?> 2x" alt="logo-dark">
                </a>
            </div>

            <div class="nk-header-tools">
                <ul class="nk-quick-nav">
                    <li class="dropdown user-dropdown">
                        <a href="javascript:void(0);" class="dropdown-toggle me-n1" data-bs-toggle="dropdown">
                            <div class="user-toggle">
                                <div class="user-avatar sm auth-avatar">
                                    <?php echo getAvatarHtml(); ?>

                                </div>
                                <div class="user-info d-none d-xl-block" style="margin-left: 0.5rem;">
                                    <div class="user-name dropdown-indicator"><?php echo e(auth()->user()->fullName); ?></div>
                                </div>
                            </div>
                        </a>
                        <div class="dropdown-menu dropdown-menu-md dropdown-menu-end">
                            <div class="dropdown-inner user-card-wrap bg-lighter d-none d-md-block">
                                <div class="user-card">
                                    <div class="user-avatar auth-avatar">
                                        <?php echo getAvatarHtml(); ?>

                                    </div>
                                    <div class="user-info">
                                        <span class="lead-text"><?php echo e(auth()->user()->fullName); ?></span>
                                        <span class="sub-text"><?php echo e(auth()->user()->email); ?></span>
                                    </div>
                                </div>
                            </div>
                            <div class="dropdown-inner">
                                <ul class="link-list">
                                    <li>
                                        <a href="<?php echo e(route('profile.edit')); ?>">
                                            <em class="icon ni ni-user-alt"></em>
                                            <span><?php echo app('translator')->get('header.view_profile'); ?></span>
                                        </a>
                                    </li>
                                    <li>
                                        <a href="<?php echo e(route('profile.terms')); ?>">
                                            <em class="icon ni ni-file-text"></em>
                                            <span><?php echo app('translator')->get('header.terms_of_service'); ?></span>
                                        </a>
                                    </li>
                                    <li>
                                        <a class="dark-switch" href="javascript:void(0);" data-url="<?php echo e(route('settings.store')); ?>" data-value="<?php echo e(!$isDarkMode); ?>">
                                            <em class="icon ni ni-moon"></em>
                                            <span><?php echo app('translator')->get('header.dark_mode'); ?></span>
                                        </a>
                                    </li>
                                </ul>
                            </div>
                            <div class="dropdown-inner">
                                <ul class="link-list">
                                    <li>
                                        <form method="post" action="<?php echo e(route('logout')); ?>">
                                            <?php echo csrf_field(); ?>
                                            <a href="javascript:void(0);" onclick="event.preventDefault();this.closest('form').submit();">
                                                <em class="icon ni ni-signout"></em>
                                                <span><?php echo app('translator')->get('header.sign_out'); ?></span>
                                            </a>
                                        </form>
                                    </li>
                                </ul>
                            </div>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</div>

<?php /**PATH C:\Users\WB\Desktop\vehicle-listing-backend\resources\views/layouts/header.blade.php ENDPATH**/ ?>