<?php if(!request()->routeIs('login') && !request()->routeIs('forget.password') && !request()->routeIs('reset.password')): ?>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.3.0/font/bootstrap-icons.css">
    <div>
        <div class="antialiased bg-gray-50 dark:bg-gray-900">
            <nav class="bg-white px-4 py-2.5 dark:bg-gray-800 dark:-gray-700 fixed left-0 right-0 top-0 z-50">
                <div class="flex flex-wrap items-center justify-between">
                    <div class="flex items-center justify-start">
                        <button data-drawer-target="drawer-navigation" data-drawer-toggle="drawer-navigation"
                            aria-controls="drawer-navigation"
                            class="p-2 mr-2 text-gray-600 rounded-lg cursor-pointer md:hidden hover:text-gray-900 hover:bg-gray-100 focus:bg-gray-100 dark:focus:bg-gray-700 focus:ring-2 focus:ring-gray-100 dark:focus:ring-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white">
                            <svg aria-hidden="true" class="w-6 h-6" fill="currentColor" viewBox="0 0 20 20"
                                xmlns="http://www.w3.org/2000/svg">
                                <path fill-rule="evenodd"
                                    d="M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h6a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z"
                                    clip-rule="evenodd"></path>
                            </svg>
                            <svg aria-hidden="true" class="hidden w-6 h-6" fill="currentColor" viewBox="0 0 20 20"
                                xmlns="http://www.w3.org/2000/svg">
                                <path fill-rule="evenodd"
                                    d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z"
                                    clip-rule="evenodd"></path>
                            </svg>
                            <span class="sr-only">Toggle sidebar</span>
                        </button>
                        <a href="/admin/dashboard" class="flex items-center justify-between mr-4">
                            <img src="/storage/logos/favicon-310x310.png" class="mr-3 h-14 dark:hidden"
                                alt="Logo Finca" />
                        </a>
                        <a href="/admin/dashboard" class="flex items-center justify-between mr-4">
                            <img src="/storage/logos/favicon-310x310.png" class="hidden mr-3 h-14 dark:block"
                                alt="Logo Finca" />
                        </a>
                    </div>
                    <div class="flex items-center lg:order-2">
                        <button type="button"
                            class="flex mx-3 text-sm bg-black rounded-full shadow-xl md:mr-0 focus:ring-4 focus:ring-gray-300 dark:focus:ring-gray-600"
                            id="user-menu-button" aria-expanded="false" data-dropdown-toggle="dropdown">
                            <span class="sr-only">Open user menu</span>
                            <img class="object-contain w-8 h-8 rounded-full" src="/storage/logos/favicon-310x310.png"
                                alt="user photo" />
                        </button>
                        <div class="z-50 hidden w-56 my-4 text-base list-none bg-white divide-y divide-gray-100 shadow dark:bg-gray-700 dark:divide-gray-600 rounded-xl"
                            id="dropdown">
                            <div class="px-4 py-3">
                                <span
                                    class="block text-sm font-semibold text-gray-900 dark:text-white"><?php echo e(auth()->user()->person->first_name); ?>

                                    <?php echo e(auth()->user()->person->last_name); ?></span>
                                <span
                                    class="block text-sm text-gray-900 truncate dark:text-white"><?php echo e(auth()->user()->email); ?></span>
                            </div>
                            <ul class="py-1 text-gray-700 dark:text-gray-300" aria-labelledby="dropdown">
                                <li>
                                    <a href="<?php echo e(route('my.information')); ?>"
                                        class="block px-4 py-2 text-sm hover:bg-gray-100 dark:hover:bg-gray-600 dark:text-gray-400 dark:hover:text-white">Perfil</a>
                                </li>
                            </ul>
                            <ul class="py-1 text-gray-700 dark:text-gray-300" aria-labelledby="dropdown">
                                <li>
                                    <form action="<?php echo e(route('logout')); ?>" method="POST">
                                        <?php echo csrf_field(); ?>
                                        <button type="submit"
                                            class="block w-full px-4 py-2 text-sm hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white">Cerrar
                                            sesión</button>
                                    </form>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
            </nav>
            <!-- Sidebar -->
            <aside
                class="fixed top-0 left-0 z-40 w-64 h-screen transition-transform -translate-x-full bg-white shadow-xl -r -gray-200 pt-14 md:translate-x-0 dark:bg-gray-800 dark:-gray-700"
                aria-label="Sidenav" id="drawer-navigation">
                <div class="h-full px-3 py-5 mt-5 overflow-y-auto bg-white dark:bg-gray-800">
                    <ul class="space-y-6">
                        <li>
                            <a href="<?php echo e(route('products.index')); ?>"
                                class="flex items-center p-2 text-base font-medium text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group">
                                <i
                                    class="text-xl text-gray-500 transition-all duration-300 fas fa-box-open group-hover:text-gray-900"></i>
                                <span class="ml-3 group-hover:text-gray-900">Productos</span>
                            </a>
                        </li>
                        <li>
                            <a href="<?php echo e(route('purchases.index')); ?>"
                                class="flex items-center p-2 text-base font-medium text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group">
                                <i
                                    class="text-xl text-gray-500 transition-all duration-300 fas fa-clipboard-list group-hover:text-gray-900"></i>
                                <span class="ml-3 group-hover:text-gray-900">Cotizaciones</span>
                            </a>
                        </li>
                        <li>
                            <a href="<?php echo e(route('configuration.index')); ?>"
                                class="flex items-center p-2 text-base font-medium text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group">
                                <i
                                    class="text-xl text-gray-500 transition-all duration-300 fas fa-info group-hover:text-gray-900"></i>
                                <span class="ml-3 group-hover:text-gray-900">Datos de Contacto</span>
                            </a>
                        </li>
                        <li>
                            <a href="<?php echo e(route('users.index')); ?>"
                                class="flex items-center p-2 text-base font-medium text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group">
                                <i
                                    class="text-xl text-gray-500 transition-all duration-300 fas fa-users group-hover:text-gray-900"></i>
                                <span class="ml-3 group-hover:text-gray-900">Usuarios</span>
                            </a>
                        </li>
                        
                        
                    </ul>
                    
                </div>
                
            </aside>
            <main class="h-auto p-4 pt-20 overflow-x-auto md:ml-64">
                <?php echo $__env->make('partials.alerts', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php endif; ?>


<?php echo $__env->yieldContent('content'); ?>

<?php if(!request()->routeIs('login')): ?>
    </main>
    </div>

    </div>
<?php endif; ?>
<?php /**PATH C:\laragon\www\web-finca-monte-verde-v1\resources\views/partials/sidebar.blade.php ENDPATH**/ ?>