<!DOCTYPE html>
<html lang="<?php echo e(str_replace('_', '-', app()->getLocale())); ?>">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>Laravel</title>

    <!-- Fonts -->
    <link rel="preconnect" href="https://fonts.bunny.net">
    <link href="https://fonts.bunny.net/css?family=figtree:400,600&display=swap" rel="stylesheet"/>

    
    <link rel="stylesheet" href="<?php echo e(asset('owlcarousel/assets/owl.carousel.min.css')); ?>">
    <link rel="stylesheet" href="<?php echo e(asset('lightbox/lightbox.css')); ?>">

    
    <link rel="stylesheet" href="<?php echo e(asset('main.css')); ?>">

    <link rel="stylesheet" href="<?php echo e(asset('/fonts/css/all.css')); ?>">
    <script src="<?php echo e(asset('jquery.js')); ?>"></script>
    <?php echo app('Illuminate\Foundation\Vite')(['resources/css/app.css', 'resources/js/app.js']); ?>

</head>
<body id="body" class="antialiased font-display">
<section id="wrapper" class="duration-300 left-0 min-h-screen relative z-10 bg-white">
    
    <?php if(session('success')): ?>
        <div class="bg-green-200 p-3">
            <div class="w-full flex gap-3">
            <span class="rounded-full bg-green-500 w-6 h-6 text-white flex items-center justify-center">
                <i class="fa fa-check text-sm"></i>
            </span>
                <div class="flex flex-col gap-1">
                    <h1 class="font-semibold text-sm text-green-500">Success</h1>
                    <p class="text-green-400"><?php echo e(session('success')); ?></p>
                </div>
            </div>
        </div>
    <?php endif; ?>
    <?php echo $__env->make('layouts.quicklinks', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <?php echo $__env->make('layouts.navbar', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

    <main id="main" class="flex flex-col">
        <?php echo $__env->yieldContent('main'); ?>
    </main>
    <?php echo $__env->make('layouts.footer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</section>
<section id="mobile-menu" class="w-[250px] flex fixed top-0 right-0  min-h-screen bg-red-500">
    <?php echo $__env->make('layouts.mobile-navbar', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</section>


<script>
    const mobileMenuTrigger = document.getElementById('mobile-menu-trigger')
    const wrapper = document.getElementById('wrapper')
    const body = document.getElementById('body')
    const main = document.getElementById('main')
    mobileMenuTrigger.addEventListener('click', toggleMobileMenu)

    function toggleMobileMenu() {
        wrapper.classList.toggle('-left-[250px]')
        wrapper.classList.toggle('left-0')
        body.classList.toggle('overflow-y-hidden')
    }

    main.addEventListener('click',function(){
        if(wrapper.classList.contains('-left-[250px]')){
            toggleMobileMenu()
        }
    })

</script>



<script src="<?php echo e(asset('jquery.js')); ?>"></script>
<script src="<?php echo e(asset('owlcarousel/owl.carousel.min.js')); ?>"></script>
<script src="<?php echo e(asset('wow/wow.min.js')); ?>"></script>
<script src="<?php echo e(asset('counterup/counterup.min.js')); ?>"></script>
<script src="<?php echo e(asset('isotope/isotope.pkgd.min.js')); ?>"></script>
<script src="<?php echo e(asset('easing/easing.min.js')); ?>"></script>



<script src="<?php echo e(asset('main.js')); ?>"></script>

</body>
</html>
<?php /**PATH I:\Laravel\mec\resources\views/layouts/template.blade.php ENDPATH**/ ?>