<!DOCTYPE html>
<html lang="es">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Control de Flota</title>

    <!-- Livewire Styles -->
    @livewireStyles
    <!-- Estilos de Laravel Mix -->
    <link href="{{ asset('css/app.css') }}" rel="stylesheet">
    <!-- Bootstrap CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>

    <div class="d-flex">
        <!-- Menú lateral -->
        <div class="bg-dark text-white p-3" style="min-width: 220px; min-height: 100vh;">
            <h4 class="text-white">Menú</h4>
            <ul class="nav flex-column">
                <li class="nav-item"><a href="{{ route('dashboard') }}" class="nav-link text-white"> Dashboard</a></li>
                <li class="nav-item"><a href="{{ route('equipos') }}" class="nav-link text-white"> Equipos</a></li>
                <li class="nav-item"><a href="{{ route('control.diario.live') }}" class="nav-link text-white"> Control Diario</a></li>
                <li class="nav-item"><a href="{{ route('talleres') }}" class="nav-link text-white"> Talleres</a></li>
               <li class="nav-item">
    <a href="{{ route('usuarios') }}" class="nav-link text-white">Usuarios</a>
</li>

            </ul>
        </div>

        <!-- Contenido principal -->
        <div class="flex-grow-1 p-4">
           {{--}} <nav class="navbar navbar-expand-lg navbar-dark bg-dark mb-3 rounded">
                <div class="container-fluid">
                    <a class="navbar-brand" href="#">Control de Flota</a>
                </div>
            </nav>--}}

            

            @yield('content')
        </div>
    </div>

    <!-- Livewire Scripts -->
    @livewireScripts
    <!-- Scripts de Laravel Mix -->
    <script src="{{ asset('js/app.js') }}" defer></script>


    <!-- Bootstrap JS -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>
