
<nav class="header-navbar navbar navbar-expand-lg align-items-center floating-nav navbar-light navbar-shadow"
    style="position: absolute;">
    <div class="navbar-container d-flex content">

        <ul class="nav navbar-nav align-items-center ms-auto">

            <li class="nav-item d-none d-lg-block"><a class="nav-link nav-link-style"><i class="ficon"
                        data-feather="moon"></i></a></li>

            <li class="nav-item dropdown dropdown-user"><a class="nav-link dropdown-toggle dropdown-user-link"
                    id="dropdown-user" href="#" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">

                    <div class="user-nav d-sm-flex d-none"><span
                            class="user-name fw-bolder"><?php echo e(Auth::guard()->user()->name); ?></span><span
                            class="user-status"><?php echo e(Auth::guard()->user()->email); ?></span></div><span class="avatar">
                        <?php if(Auth::user()->image != null): ?>
                        <img class="round" src="<?php echo e(asset('uploads/user_img/'. Auth::user()->image ?? '')); ?>"
                            alt="avatar" height="40" width="40">
                        <?php else: ?>
                        <img class="round" src="<?php echo e(asset('backend/app-assets/images/avatars/11.png')); ?>" alt="avatar"
                            height="40" width="40">
                        <?php endif; ?>
                        <span class="avatar-status-online"></span></span>
                </a>

                <div class="dropdown-menu dropdown-menu-end" aria-labelledby="dropdown-user">
                    <a class="dropdown-item" href="<?php echo e(route('admin.profile')); ?>"><i class="me-50" data-feather="user"></i>
                        Profile</a>


                    <a class="dropdown-item" href="<?php echo e(route('logout')); ?>" onclick="event.preventDefault();
                        document.getElementById('logout-form').submit();">
                        
                        <i class="me-50" data-feather="power"></i>
                        Logout</a>

                    <form id="logout-form" action="<?php echo e(route('logout')); ?>" method="POST" class="d-none">
                        <?php echo csrf_field(); ?>
                    </form>

                </div>

            </li>

        </ul>
    </div>
</nav><?php /**PATH E:\Project\Personal-Project\Office-Project\update\test-paper-finals\resources\views/admin/layout/header.blade.php ENDPATH**/ ?>