<div class="main-menu" style="background-color: #020548; color: white;">
    <!-- Brand Logo -->
    <div class="logo-box">
        <a class='logo-light' href='<?php echo e(route('dashboard')); ?>'>
            <img src="<?php echo e(asset('assets/images/voyagedif.jpeg')); ?>" alt="logo" class="logo-lg" height="70">
        </a>
    </div>

    <div data-simplebar>
        <ul class="app-menu">
            <li class="menu-title" style="color: #ffffff;">Menu</li>

            <li class="menu-item" style="color: white;">
                
                <a class="menu-link <?php echo e(request()->routeIs('dashboard') ? 'active' : ''); ?>" href="<?php echo e(route('dashboard')); ?>">
                    <span class="menu-icon"><i class="bx bx-home-smile"></i></span>
                    <span class="menu-text">Dashboard</span>
                </a>
            </li>

            <!--- Menu -->

                    <li class="menu-item" style="color: white;">
                        <a href="#menuExpages" data-bs-toggle="collapse" class="menu-link waves-effect">
                            <span class="menu-icon"><i class="bx bx-file"></i></span>
                            <span class="menu-text"> Location Véhicule </span>
                            <span class="menu-arrow"></span>
                        </a>
                        <div class="collapse" id="menuExpages">
                            <ul class="sub-menu">
                                <li class="menu-item">
                                    
                                    <a class="menu-link <?php echo e(request()->routeIs('listeVehicule') ? 'active' : ''); ?>" href="<?php echo e(route('listeVehicule')); ?>">
                                        <span class="menu-text">Liste de Véhicule</span>
                                    </a>
                                </li>
                            </ul>
                        </div>
                    </li>

                    <li class="menu-item">
                        <a href="#menuForms" data-bs-toggle="collapse" class="menu-link waves-effect">
                            <span class="menu-icon"><i class="bx bxs-eraser"></i></span>
                            <span class="menu-text"> Hotels </span>
                            <span class="menu-arrow"></span>
                        </a>
                        <div class="collapse" id="menuForms">
                            <ul class="sub-menu">
                                <li class="menu-item">
                                    
                                    <a class="menu-link <?php echo e(request()->routeIs('listeHotel') ? 'active' : ''); ?>" href="<?php echo e(route('listeHotel')); ?>">
                                        <span class="menu-text">Liste Hotels</span>
                                    </a>
                                </li>
                            </ul>
                        </div>
                    </li>


                    <li class="menu-item">
                        <a href="#menuTables" data-bs-toggle="collapse" class="menu-link waves-effect">
                            <span class="menu-icon"><i class="bx bx-table"></i></span>
                            <span class="menu-text"> Conducteur </span>
                            <span class="menu-arrow"></span>
                        </a>
                        <div class="collapse" id="menuTables">
                            <ul class="sub-menu">
                                <li class="menu-item">
                            <a class="menu-link <?php echo e(request()->routeIs('listeConducteur') ? 'active' : ''); ?>" href="<?php echo e(route('listeConducteur')); ?>">
                                        <span class="menu-text">Liste Conducteur</span>
                                    </a>
                                </li>
                                </ul>
                        </div>
                    </li>

                    

               
    
                <?php if(auth()->check() && auth()->user()->role === 'admin'): ?>

        <li class="menu-item">
            <a href="#menuCharts" data-bs-toggle="collapse" class="menu-link waves-effect">
                <span class="menu-icon"><i class="bx bx-doughnut-chart"></i></span>
                <span class="menu-text"> Utilisateur </span>
                <span class="menu-arrow"></span>
            </a>
            <div class="collapse" id="menuCharts">
                <ul class="sub-menu">
                    <li class="menu-item">
                        <a class="menu-link <?php echo e(request()->routeIs('listeUtilisateur') ? 'active' : ''); ?>" href="<?php echo e(route('listeUtilisateur')); ?>">
                            <span class="menu-text">Liste Utilisateur</span>
                        </a>
                    </li>
                </ul>
            </div>
        </li>
         <?php endif; ?>
    
                    


                    <li class="menu-item">
                        <a href="#menuMaps" data-bs-toggle="collapse" class="menu-link waves-effect">
                            <span class="menu-icon"><i class="bx bx-map-alt"></i></span>
                            <span class="menu-text"> Sites </span>
                            <span class="menu-arrow"></span>
                        </a>
                        <div class="collapse" id="menuMaps">
                            <ul class="sub-menu">
                                <li class="menu-item">
                                    <a class="menu-link <?php echo e(request()->routeIs('listeSite') ? 'active' : ''); ?>" href="<?php echo e(route('listeSite')); ?>">
                                        <span class="menu-text">Liste des Sites</span>
                                    </a>
                                </li>
                                </ul>
                        </div>
                    </li>

                </ul>
            </div>
        </div>

            <!-- Autres éléments du menu -->
        
<?php /**PATH C:\Users\LENOVO\Documents\voyagedifiantDashboard\resources\views/layouts/partials/sidebar.blade.php ENDPATH**/ ?>