

<aside class="main-sidebar sidebar-dark-primary elevation-4 "   style="background: rgb(23, 162, 184);">
    <!-- Brand Logo -->
    <a href="{{ asset('dashboard') }}" class="brand-link">
      <img src="{{asset('dash/dist/img/AdminLTELogo.png')}}" alt="AdminLTE Logo" class="brand-image img-circle elevation-3"
           style="opacity: .8">
      <span class="brand-text font-weight-bold">Gestion Stock</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('dash/dist/img/user2-160x160.jpg')}}" class="img-circle elevation-2')}}" alt="User Image">
        </div>
        <div class="info">
          <a href="#" class="d-block">{{Auth::user()->name}}</a>
        </div>
      </div>
      @if (auth()->user()->hasRole('user')) 
       L'utilisateur a le rôle "admin"
  @endif
      <!-- Sidebar Menu -->
      <nav class="mt-2" >
        <ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">
        

        <li class="nav-item">
             <a href="{{asset('dashboard')}}" class="nav-link" style="background: white;color:black;">  <i style="color:#17a2b8!important " class="nav-icon fas fa-home"></i>    <p>aceuil </p> </a>
             </li>   
                      <li class="nav-item has-treeview">
            <a href="{{asset('lieustock')}}" class="nav-link" style="background: white;color:black;">
              <i style="color:#17a2b8!important " class="nav-icon fas fa-shopping-basket"></i>
              <p>
      lieustock
                <i class="fas fa-angle-left right"></i>
              
              </p>
            </a>
        
          </li>
        
                      <li class="nav-item has-treeview">
            <a href="{{asset('couleurs')}}" class="nav-link" style="background: white;color:black;">
              <i style="color:#17a2b8!important " class="nav-icon fas fa-shopping-basket"></i>
              <p>
      couleur
                <i class="fas fa-angle-left right"></i>
              
              </p>
            </a>
        
          </li>

                                <li class="nav-item has-treeview">
            <a href="{{asset('tailles')}}" class="nav-link" style="background: white;color:black;">
              <i style="color:#17a2b8!important " class="nav-icon fas fa-shopping-basket"></i>
              <p>
      tailles
                <i class="fas fa-angle-left right"></i>
              
              </p>
            </a>
        
          </li> 

                                        <li class="nav-item has-treeview">
            <a href="{{asset('mouvements-transfers')}}" class="nav-link" style="background: white;color:black;">
              <i style="color:#17a2b8!important " class="nav-icon fas fa-shopping-basket"></i>
              <p>
    mouvements-transfers
                <i class="fas fa-angle-left right"></i>
              
              </p>
            </a>
        
          </li> 
        
             <li class="nav-item has-treeview">
            <a href="#" class="nav-link"style="background: white;color:black;">
              <i style="color:#17a2b8!important " class="nav-icon fas fa-cubes"></i>
              <p>
        stock
                <i class="fas fa-angle-left right"></i>
          
              </p>
            </a>
            <ul class="nav nav-treeview">
        
         
              <li class="nav-item">
              <a href="{{asset('admin/produit/create')}}" class="nav-link text-white">
                  <i class="far fa-circle nav-icon"></i>
                  <p>ajouter produit</p>
                </a>
              </li>
              <li class="nav-item">
                <a href="{{asset('produits/filter')}}" class="nav-link text-white">
                  <i class="far fa-circle nav-icon"></i>
                  <p>stock</p>
                </a>
              </li>
            </ul>
          </li>
          <li class="nav-item has-treeview">
            <a href="#" class="nav-link"style="background: white;color:black;">
              <i style="color:#17a2b8!important " class="nav-icon fas fa-cubes"></i>
              <p>
        categories
                <i class="fas fa-angle-left right"></i>
          
              </p>
            </a>
                 <ul class="nav nav-treeview">
              <li class="nav-item">
                <a href="{{asset('topcat1')}}" class="nav-link text-white">
                  <i class="far fa-circle nav-icon"></i>
                  <p>Liste categories</p>
                </a>
              </li>
      
         
            </ul>
             </li> 
          
                  
            
     
      
           
          




             <li class="nav-item has-treeview">
            <a href="#" class="nav-link"style="background: white;color:black;">
              <i style="color:#17a2b8!important " class="nav-icon fas fa-cubes"></i>
              <p>
       paramettre 
                <i class="fas fa-angle-left right"></i>
          
              </p>
            </a>
                 <ul class="nav nav-treeview">
                
              <li class="nav-item">
              <a href="{{asset('info')}}" class="nav-link text-white">
                  <i class="far fa-circle nav-icon"></i>
                  <p>information</p>
                </a>
              </li>
                 <li class="nav-item">
                <a href="{{asset('villes')}}" class="nav-link text-white">
                    <i class="far fa-circle nav-icon"></i>
                    <p>villes</p>
                  </a>
                </li>
              <li class="nav-item">
                <a href="{{asset('users')}}" class="nav-link text-white">
                    <i class="far fa-circle nav-icon"></i>
                    <p>utilisateurs</p>
                  </a>
                </li>
            
            </ul>
             </li> 






        </ul>
        
      </nav>
      <!-- /.sidebar-menu -->
    </div>
    <!-- /.sidebar -->
  </aside>

    <!-- Control Sidebar -->
    <aside class="control-sidebar control-sidebar-dark">
    <!-- Control sidebar content goes here -->
    <div class="p-3">
      <h5>Title</h5>
      <p>Sidebar content</p>
    </div>
  </aside>
  <!-- /.control-sidebar -->
