<aside class="main-sidebar sidebar-dark-primary elevation-4">
  <!-- Brand Logo -->
  <a href="#" class="brand-link">
    <img src="{{asset('img/icon/iconTech.png')}}" alt="Logo" class="brand-image img-circle"
         >
    <span class="brand-text font-weight-light">TechSoft</span>
  </a>

  <!-- Sidebar -->
  <div class="sidebar">
    <!-- Sidebar user panel (optional) -->
    <div class="user-panel mt-3 pb-3 mb-3 d-flex">
{{--      <div class="image">--}}
{{--        <img src="{{asset('template/dist/img/user2-160x160.jpg')}}" class="img-circle elevation-2" alt="User Image">--}}
{{--      </div>--}}
      <div class="info">
        <a href="#" class="d-block">Bem Vindo: {{ucfirst(Auth::user()->name)}}</a>
      </div>
    </div>

    <!-- Sidebar Menu -->
    <nav class="mt-2">
      <ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">
        <!-- Add icons to the links using the .nav-icon class
             with font-awesome or any other icon font library -->
        <li class="nav-item">
          <a href="{{route('admin.dashboard')}}" class="nav-link">
            <i class="nav-icon fas fa-tachometer-alt"></i>
            <p>Dashoard</p>
          </a>
        </li>
{{--        <li class="nav-item">--}}
{{--          <a href="{{route('admin.produtos')}}" class="nav-link" >--}}
{{--            <i class="nav-icon fas fa-boxes"></i>--}}
{{--            <p>Produtos</p>--}}
{{--          </a>--}}
{{--        </li>--}}
        <li class="nav-item">
          <a href="#" class="nav-link">
            <i class="nav-icon fas fa-boxes"></i>
            <p>
              Produtos
              <i class="right fas fa-angle-left"></i>
            </p>
          </a>
          <ul class="nav nav-treeview ml-4">
            <li class="nav-item">
              <a href="{{route('admin.produtos')}}" class="nav-link" >
                <i class="nav-icon fas fa-boxes"></i>
                <p>Produtos</p>
              </a>
            </li>
            <li class="nav-item">
              <a href="{{route('admin.categorias')}}" class="nav-link" >
                <i class="nav-icon fas fa-boxes"></i>
                <p>Categorias</p>
              </a>
            </li>
            <li class="nav-item">
              <a href="{{route('admin.subgrupos')}}" class="nav-link" >
                <i class="nav-icon fas fa-boxes"></i>
                <p>Subgrupos</p>
              </a>
            </li>
            <li class="nav-item">
              <a href="{{route('admin.grupos')}}" class="nav-link" >
                <i class="nav-icon fas fa-boxes"></i>
                <p>Grupos</p>
              </a>
            </li>
            <li class="nav-item">
              <a href="{{route('admin.departamentos')}}" class="nav-link" >
                <i class="nav-icon fas fa-boxes"></i>
                <p>Departamento</p>
              </a>
            </li>
            <li class="nav-item">
              <a href="{{route('admin.marcas')}}" class="nav-link" >
                <i class="nav-icon fas fa-boxes"></i>
                <p>Marcas</p>
              </a>
            </li>
          </ul>
        </li>
        <li class="nav-item">
          <a href="{{route('admin.banner')}}" class="nav-link">
            <i class="nav-icon fas fa-images"></i>
            <p>Banners</p>
          </a>
        </li>
        <li class="nav-item">
          <a href="{{route('admin.config')}}" class="nav-link">
            <i class="nav-icon fas fa-cog"></i>
            <p>Configurações</p>
          </a>
        </li>
        <li class="nav-item">
          <a href="{{route('admin.showUser')}}" class="nav-link">
            <i class="nav-icon fas fa-users"></i>
            <p>Usuários</p>
          </a>
        </li>
        <li class="nav-item">
          <a target="_blank" href="{{route('site.home')}}" class="nav-link">
            <i class="nav-icon fa fa-eye"></i>
            <p>Visualizar Página</p>
          </a>
        </li>
      </ul>
    </nav>
    <!-- /.sidebar-menu -->
  </div>
  <!-- /.sidebar -->
</aside>
