 <aside id="layout-menu" class="layout-menu menu-vertical menu bg-menu-theme">
          <div class="app-brand demo">
            <a href="index.html" class="app-brand-link">
              <span class="app-brand-text demo menu-text fw-bold ms-2">Painel</span>
            </a>

            <a href="javascript:void(0);" class="layout-menu-toggle menu-link text-large ms-auto">
              <i class="bx bx-chevron-left d-block d-xl-none align-middle"></i>
            </a>
          </div>

          <div class="menu-divider mt-0"></div>

          <div class="menu-inner-shadow"></div>

          <ul class="menu-inner py-1">
            <!-- Dashboards -->
            <li class="menu-item  <?php echo e(Request::is('cliente/dashboard', 'admin/dashboard') ? 'active' : ''); ?> ">
              <a href="javascript:void(0);" class="menu-link menu-toggle">
                <i class="menu-icon tf-icons bx bx-home-smile"></i>
                <div class="text-truncate" data-i18n="Dashboards">Dashboards</div>
              </a>
              <ul class="menu-sub">
                <li class="menu-item <?php echo e(Request::is('cliente/dashboard', 'admin/dashboard') ? 'active' : ''); ?>">
                  <a href="<?php if(Auth::user()->painel === 'Administrador'): ?> <?php echo e(route('painel.admin')); ?> <?php else: ?>  <?php echo e(route('painel.cliente')); ?> <?php endif; ?>" class="menu-link">
                    <div class="text-truncate" data-i18n="Analytics">Análises</div>
                  </a>
                </li>
              </ul>
            </li>

            <?php if(Auth::user()->painel === 'Administrador'): ?>

            

            <!-- Apps & Pages -->
            <li class="menu-header small text-uppercase">
              <span class="menu-header-text">Apps &amp; Páginas</span>
            </li>
            <!-- Pages -->
            <li class="menu-item <?php echo e(Request::is('admin/dashboard/candidaturas*','admin/dashboard/produtos*','admin/dashboard/vagas*', 'admin/dashboard/servicos*') ? 'active open': ''); ?>">
              <a href="javascript:void(0);" class="menu-link menu-toggle">
                <i class="menu-icon tf-icons bx bx-detail"></i>
                <div class="text-truncate" data-i18n="cadastros">Cadastros</div>
              </a>
              <ul class="menu-sub">

                <li class="menu-item <?php echo e(Request::is('admin/dashboard/candidaturas*') ? 'active': ''); ?>">
                  <a href="<?php echo e(route('candidaturas.index')); ?>" class="menu-link">
                    <div class="text-truncate" data-i18n="candidatura">Candidaturas</div>
                  </a>
                </li>

                
                <li class="menu-item <?php echo e(Request::is('admin/dashboard/vagas*') ? 'active': ''); ?>">
                  <a href="<?php echo e(route('vagas.index')); ?>" class="menu-link">
                    <div class="text-truncate" data-i18n="vagas">Vagas</div>
                  </a>
                </li>

                <li class="menu-item <?php echo e(Request::is('admin/dashboard/noticias*') ? 'active': ''); ?>">
                  <a href="<?php echo e(route('noticias.index')); ?>" class="menu-link">
                    <div class="text-truncate" data-i18n="produtos">Noticias</div>
                  </a>
                </li>

                <li class="menu-item <?php echo e(Request::is('admin/dashboard/projectos*') ? 'active': ''); ?>">
                  <a href="<?php echo e(route('projectos.index')); ?>" class="menu-link">
                    <div class="text-truncate" data-i18n="produtos">Projectos</div>
                  </a>
                </li>

                <li class="menu-item <?php echo e(Request::is('admin/dashboard/produtos*') ? 'active': ''); ?>">
                  <a href="#" class="menu-link">
                    <div class="text-truncate" data-i18n="produtos">Obras</div>
                  </a>
                </li>

              </ul>
            </li>

            <li class="menu-item <?php echo e(Request::is('admin/dashboard/backup*','admin/dashboard/restauro*','admin/dashboard/usuarios*', 'admin/dashboard/clientes*') ? 'active open': ''); ?>">
              <a href="javascript:void(0);" class="menu-link menu-toggle">
                <i class="menu-icon tf-icons bx bx-windows"></i>

                <div class="text-truncate" data-i18n="Account Settings">Sistema</div>
              </a>
              <ul class="menu-sub">
                 <li class="menu-item <?php echo e(Request::is('admin/dashboard/backup*') ? 'active': ''); ?>">
                  <a href="<?php echo e(route('backup.index')); ?>" class="menu-link">
                    <div class="text-truncate" data-i18n="Account">Backup</div>
                  </a>
                </li>
                <li class="menu-item <?php echo e(Request::is('admin/dashboard/restauro*') ? 'active': ''); ?>">
                  <a href="<?php echo e(route('restauro.index')); ?>" class="menu-link">
                    <div class="text-truncate" data-i18n="Notifications">Restauro</div>
                  </a>
                </li>
                <li class="menu-item <?php echo e(Request::is('admin/dashboard/usuarios*') ? 'active': ''); ?>">
                  <a href="<?php echo e(route('usuarios.index')); ?>" class="menu-link">
                    <div class="text-truncate" data-i18n="Account">Usuários</div>
                  </a>
                </li>
                <li class="menu-item <?php echo e(Request::is('admin/dashboard/clientes*') ? 'active': ''); ?>">
                  <a href="<?php echo e(route('clientes.index')); ?>" class="menu-link">
                    <div class="text-truncate" data-i18n="Account">Clientes</div>
                  </a>
                </li>
              </ul>
            </li>



            <!-- Misc -->
            <li class="menu-header small text-uppercase"><span class="menu-header-text">Misc</span></li>
            <li class="menu-item">
              <a
                href="https://wa.me/244929776449"
                target="_blank"
                class="menu-link">
                <i class="menu-icon tf-icons bx bx-support"></i>
                <div class="text-truncate" data-i18n="Support">Supporte</div>
              </a>
            </li>
            <li class="menu-item">
              <a
                href="https://demos.themeselection.com/sneat-bootstrap-html-admin-template/documentation/"
                target="_blank"
                class="menu-link">
                <i class="menu-icon tf-icons bx bx-file"></i>
                <div class="text-truncate" data-i18n="Documentation">Documentação</div>
              </a>
            </li>

            

            <?php elseif(Auth::user()->painel === 'Cliente'): ?>

            <!-- Apps & Pages -->
            <li class="menu-header small text-uppercase">
              <span class="menu-header-text">Apps &amp; Páginas</span>
            </li>

            <li class="menu-item <?php echo e(Request::is('cliente/dashboard/minhas-candidaturas*') ? 'active': ''); ?>">
              <a
                href="<?php echo e(route('candidaturas-clientes.index')); ?>"
                class="menu-link">
                <i class="menu-icon tf-icons bx bx-file"></i>
                <div class="text-truncate" data-i18n="Documentation">Minhas Candidaturas</div>
              </a>
            </li>

            <li class="menu-item <?php echo e(Request::is('cliente/dashboard/meus-projectos*') ? 'active': ''); ?>">
              <a
                href="<?php echo e(route('projectos-clientes.index')); ?>"
                class="menu-link">
                <i class="menu-icon tf-icons bx bx-file"></i>
                <div class="text-truncate" data-i18n="Documentation">Meus projectos</div>
              </a>
            </li>

            <li class="menu-item <?php echo e(Request::is('cliente/dashboard/minhas-candidaturas*') ? 'active': ''); ?>">
              <a
                href="<?php echo e(route('candidaturas-clientes.index')); ?>"
                class="menu-link">
                <i class="menu-icon tf-icons bx bx-file"></i>
                <div class="text-truncate" data-i18n="Documentation">Relatórios</div>
              </a>
            </li>

            <?php endif; ?>
          </ul>
</aside>
<?php /**PATH C:\laragon\www\website-van_thanh\resources\views/layouts/_includes/side-menu.blade.php ENDPATH**/ ?>