<!doctype html>

<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">



<head>

    <meta charset="utf-8">

    <meta name="viewport" content="width=device-width, initial-scale=1">



    <!-- CSRF Token -->

    <meta name="csrf-token" content="{{ csrf_token() }}">



    <title>Lotto</title>



    <!-- Fonts -->

    <link rel="dns-prefetch" href="//fonts.bunny.net">

    <link href="https://fonts.bunny.net/css?family=Nunito" rel="stylesheet">

    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet"

        integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">

    <link rel="stylesheet" type="text/css" href="{{ asset('front/css/slick.css') }}" />

    <link rel="stylesheet" type="text/css" href="{{ asset('front/css/slick-theme.css') }}" />

    <link rel="icon" type="image/x-icon" href="{{ asset('/front/images/favicon.png')}}">

    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css">

    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">

    <link rel="stylesheet" href="{{ asset('front/css/style.css') }}">



    <!-- Scripts -->

    @vite(['resources/sass/app.scss', 'resources/js/app.js'])

    @yield('style')

</head>



<body>

    <style>

        body{

            position: relative;

        }

    </style>

    <div class="body-bg"></div>

    <div class="wrapper overflow-hidden">

        @include('layouts.navbar')

        <section>

            <div class="container">

                @yield('content')

                @include('layouts.footer')

            </div>

        </section>

    </div>



    {{-- Scripts --}}

    <script src="https://kit.fontawesome.com/a761b72d1c.js" crossorigin="anonymous"></script>

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>

    <script src="{{ asset('front/js/slick.js') }}"></script>

    <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.10.2/dist/umd/popper.min.js"

        integrity="sha384-7+zCNj/IqJ95wo16oMtfsKbZ9ccEh31eOz1HGyDuCQ6wgnyJNSYdrPa03rtR1zdB" crossorigin="anonymous">

    </script>

    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.min.js"

        integrity="sha384-QJHtvGhmr9XOIpI6YVutG+2QOK9T+ZnN4kzFN1RtK3zEFEIsxhlmWl5/YESvpZ13" crossorigin="anonymous">

    </script>



    <script>

        $('.single-slider').slick({

            autoplay: true,

            autoplaySpeed: 1000,

            dots: true,

        });



        // Function to open the modal popup

        $(document).ready(function() {

            $('#logout-button').click(function() {

                $('#logout-form').submit();

            });

        });

    </script>

    @yield('script')

</body>



</html>

