<footer class="footer">
    <div class="container-fluid">
        <div class="row">
            <div class="col-md-6 footer-copyright">
                <p class="mb-0">Copyright 2025 © Template by K Kushawaha.</p>
            </div>
            <div class="col-md-6">
                <p class="float-end mb-0">K kushwaha
                    <svg class="svg-color footer-icon">
                        <use href="{{ asset('assets/svg/iconly-sprite.svg#footer-heart') }}"></use>
                    </svg>
                </p>
            </div>
        </div>
    </div>
</footer>
</div>
</main>


<!-- jquery-->
<script src="{{ asset('assets/js/vendors/jquery/dist/jquery.min.js') }}"></script>
<!-- bootstrap js-->
<script src="{{ asset('assets/js/vendors/bootstrap/dist/js/bootstrap.bundle.min.js') }}"></script>
<!--<script src="{{ asset('assets/js/config.js') }}"></script>-->
<!-- Sidebar js-->
<script src="{{ asset('assets/js/sidebar.js') }}"></script>

<!-- custom script -->
<script src="{{ asset('assets/js/script.js') }}"></script>

<!-- sweetalert js-->
<script src="{{ url('assets/js/sweetalert/sweetalert.js') }}"></script>

<!-- js -->
<script src="{{ url('assets/js/sweet_alert.js') }}"></script>
@if (Session::has('success'))
    <script>
        const Toast = Swal.mixin({
            toast: true,
            position: 'top-end',
            showConfirmButton: false,
            timer: 1000,
            timerProgressBar: true,
            didOpen: (toast) => {
                toast.addEventListener('mouseenter', Swal.stopTimer)
                toast.addEventListener('mouseleave', Swal.resumeTimer)
            }
        })

        Toast.fire({
            icon: 'success',
            title: '{{ Session::get('success') }}'
        })
    </script>
@endif
@if (Session::has('error'))
    <script>
        const Toast = Swal.mixin({
            toast: true,
            position: 'top-end',
            showConfirmButton: false,
            timer: 1000,
            timerProgressBar: true,
            didOpen: (toast) => {
                toast.addEventListener('mouseenter', Swal.stopTimer)
                toast.addEventListener('mouseleave', Swal.resumeTimer)
            }
        })

        Toast.fire({
            icon: 'success',
            title: '{{ Session::get('error') }}'
        })
    </script>
@endif
</body>

</html>
