<aside id="sidebar" class="sidebar">

    <ul class="sidebar-nav" id="sidebar-nav">

        <li class="nav-item">
            <a class="nav-link {{ (request()->is('/')) ? '' : 'collapsed' }}" href="{{ route('home') }}">
                <i class="bi bi-pip-fill"></i>
                <span>Accueil</span>
            </a>
        </li>
        <!-- End Dashboard Nav -->
        <li class="nav-item">
            <a class="nav-link collapsed" data-bs-target="#admin-nav" data-bs-toggle="collapse" href="#">
             <i class="bi bi-menu-button-wide"></i><span>Administration</span><i class="bi bi-chevron-down ms-auto"></i>
            </a>
            <ul id="admin-nav" class="nav-content collapse " data-bs-parent="#sidebar-nav">
               <li>
                    <a href="{{route('gare.index') }}">
                       <i class="bi bi-circle"></i><span>Gestion Gare</span>
                    </a>
                </li> 
                <li>
                    <a href="{{route('personne.index') }}">
                       <i class="bi bi-circle"></i><span>Gestion Responsable</span>
                    </a>
                </li>   
                
            </ul>
        </li>

        

        <li class="nav-item">
            <a class="nav-link collapsed" data-bs-target="#forms-nav-suivi" data-bs-toggle="collapse" href="#">
            <i class="bi bi-journal-text"></i><span>Gestion Transporteur </span><i class="bi bi-chevron-down ms-auto"></i>
            </a>
            <ul id="forms-nav-suivi" class="nav-content collapse" data-bs-parent="#sidebar-nav">
                <li>
                    <a href="{{route('transporteur.index') }}">
                    <i class="bi bi-circle"></i><span>REPISE DONNEES</span>
                    </a>
                </li>
                <li>
                    <a href="#">
                    <i class="bi bi-circle"></i><span>RECHERCHE</span>
                    </a>
                </li >
            </ul >
        </li>

        <li class="nav-item">
            <a class="nav-link collapsed" data-bs-target="#forms-nav-registre" data-bs-toggle="collapse" href="#">
            <i class="bi bi-journal-text"></i><span>Registre :</span><i class="bi bi-chevron-down ms-auto"></i>
            </a>
            <ul id="forms-nav-registre" class="nav-content collapse" data-bs-parent="#sidebar-nav">
                <li>
                    <a href="{{route('registrechauff.index') }}">
                    <i class="bi bi-circle"></i><span>Chauffeurs </span>
                    </a>
                </li>
                <li>
                    <a href="{{route('registrelignes.index') }}">
                    <i class="bi bi-circle"></i><span>Lignes</span>
                    </a>
                </li>
                <li>
                    <a href="{{route('registrevehicule.index') }}">
                    <i class="bi bi-circle"></i><span>Véhicules</span>
                    </a>
                </li>
            </ul>
        </li>
    </ul>
</aside>
