
          <nav
            class="layout-navbar container-xxl navbar-detached navbar navbar-expand-xl align-items-center bg-navbar-theme"
            id="layout-navbar">
            <div class="layout-menu-toggle navbar-nav align-items-xl-center me-4 me-xl-0 d-xl-none">
              <a class="nav-item nav-link px-0 me-xl-6" href="javascript:void(0)">
                <i class="icon-base bx bx-menu icon-md"></i>
              </a>
            </div>

            <div class="navbar-nav-right d-flex align-items-center justify-content-end" id="navbar-collapse">

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

                <!-- User -->
                <li class="nav-item navbar-dropdown dropdown-user dropdown">
                  <a
                    class="nav-link dropdown-toggle hide-arrow p-0"
                    href="javascript:void(0);"
                    data-bs-toggle="dropdown">
                    <div class="avatar avatar-online">
                      <?php if(Auth::user()->imagem_usuario): ?>
                        <img src="<?php echo e(asset('storage/' . Auth::user()->imagem_usuario)); ?>"alt="<?php echo e(Auth::user()->email_acesso); ?>"  class="w-px-40" style="border-radius: 50%; object-fit: cover;">
                      <?php else: ?>
                        <img src="<?php echo e(asset('dashboard/img/avatars/1.png')); ?>" alt="<?php echo e(Auth::user()->email_acesso); ?>" class="w-px-40 h-auto rounded-circle" />
                      <?php endif; ?>
                    </div>
                  </a>
                  <ul class="dropdown-menu dropdown-menu-end">
                    <li>
                      <a class="dropdown-item" href="#">
                        <div class="d-flex">
                          <div class="shrink-0 me-3">
                            <div class="avatar avatar-online">
                              <?php if(Auth::user()->imagem_usuario): ?>
                                <img src="<?php echo e(asset('storage/' . Auth::user()->imagem_usuario)); ?>"alt="<?php echo e(Auth::user()->email_acesso); ?>"  class="w-px-40" style="border-radius: 50%; object-fit: cover;">
                              <?php else: ?>
                                <img src="<?php echo e(asset('dashboard/img/avatars/1.png')); ?>" alt="<?php echo e(Auth::user()->email_acesso); ?>" class="w-px-40 h-auto rounded-circle" />
                              <?php endif; ?>
                            </div>
                          </div>
                          <div class="grow">
                            <h6 class="mb-0">
                              <?php if(Auth::user()->painel === 'Administrador'): ?>
                                <?php echo e(Auth::user()->funcionario->nome_funcionario); ?>

                              <?php else: ?>
                                <?php echo e(Auth::user()->cliente->nome_cliente); ?>

                              <?php endif; ?>
                            </h6>
                            <small class="text-body-secondary"><?php echo e(Auth::user()->painel); ?></small>
                          </div>
                        </div>
                      </a>
                    </li>
                    <li>
                      <div class="dropdown-divider my-1"></div>
                    </li>
                    <li>
                      <a class="dropdown-item" href="<?php echo e(route('perfil')); ?>">
                        <i class="icon-base bx bx-user icon-md me-3"></i><span>Meu perfil</span>
                      </a>
                    </li>
                    <li>
                      <a class="dropdown-item" href="">
                        <i class="icon-base bx bx-cog icon-md me-3"></i><span>Configurações</span>
                      </a>
                    </li>

                    <li>
                      <div class="dropdown-divider my-1"></div>
                    </li>
                    <li>
                      <a class="dropdown-item" href="<?php echo e(route('auth.logout')); ?>">
                        <i class="icon-base bx bx-power-off icon-md me-3"></i><span>Terminar sessão</span>
                      </a>
                    </li>
                  </ul>
                </li>
                <!--/ User -->
              </ul>
            </div>
</nav>
<?php /**PATH C:\laragon\www\website-van_thanh\resources\views/layouts/_includes/nav-menu.blade.php ENDPATH**/ ?>