<header class="app-header bg-primary">

    <nav class="navbar navbar-expand-lg navbar-light">
        <ul class="navbar-nav">
            <li class="nav-item d-block d-xl-none">
                <a class="nav-link topbartoggler nav-icon-hover " id="headerCollapse" href="javascript:void(0)">
                    <i class="ti ti-menu-2"></i>
                </a>
            </li>
            

            <li class="nav-item d-flex align-items-center">
                <div class="text-white fw-bold">
                    <span class="d-none d-md-inline fs-5">
                        DOCU
                    </span>
                    
                </div>
            </li>
        </ul>
        <div class="px-0 navbar-collapse justify-content-end" id="navbarNav">

            <ul class="flex-row navbar-nav ms-auto align-items-center justify-content-end">

                <li class="nav-item dropdown d-flex gap-2 align-items-center">
                    <div class=" text-white d-flex flex-column align-items-end " data-bs-toggle="dropdown"
                        style="cursor: pointer">
                        <span class="fs-3"><?php echo e(auth()->user()->name); ?></span>
                        <span class="fs-2"><?php echo e(auth()->user()->role->role); ?> -
                            <?php echo e(auth()->user()->location->name ?? "-"); ?></span>
                    </div>
                    <a class="nav-link nav-icon-hover" href="javascript:void(0)" id="drop2" data-bs-toggle="dropdown"
                        aria-expanded="false">
                        <img src="<?php echo e(asset('template/src')); ?>/assets/images/profile/user-1.jpg" alt="" width="35"
                            height="35" class="rounded-circle pe-0">
                    </a>
                    <ul class="dropdown-menu dropdown-menu-end" aria-labelledby="drop2">
                        <li>
                            <a href="/profile" class="gap-2 d-flex align-items-center dropdown-item">
                                <i class="ti ti-mail fs-6"></i>
                                <p class="mb-0 fs-3">Profile</p>
                            </a>
                        </li>
                        <li class="px-2">
                            <form method="POST" action="<?php echo e(route('logout')); ?>">
                                <?php echo csrf_field(); ?>

                                <button class=" w-100 mt-2 btn btn-outline-primary d-block" onclick="event.preventDefault();
                                        this.closest('form').submit();">
                                    <?php echo e(__('Log Out')); ?>

                                </button>
                            </form>
                        </li>
                    </ul>
                </li>

            </ul>
        </div>
    </nav>
</header>
<?php /**PATH /home/pmme2286/public_html/docu/vendor1/resources/views/template/navbar.blade.php ENDPATH**/ ?>