@props(['data'])
@php
    $parent = reset($data);
    $child = array_values(array_slice($data, 1));

@endphp
<!-- Partners -->
<section
    class="container mx-auto flex flex-col gap-12 px-2 py-10 text-[#424242] md:flex-row md:items-center md:px-[20px] lg:px-[100px] xl:px-[169px]">
    <!-- right -->
    <section class="w-full">
        <div class="swiper swiperPartner">
            <div class="swiper-wrapper">
                <!-- Partner -->
                @if (!empty($child[0]))
                    @foreach ($child[0] as $value)
                        <div class="swiper-slide">
                            <a href="#" class="group relative block w-full">
                                <img src="{{ asset('images/' . $value->image) }}" alt="partner"
                                    class="h-[100px] w-full object-contain" />
                            </a>
                        </div>
                    @endforeach
                @endif


            </div>
    </section>
</section>
