<?php $attributes ??= new \Illuminate\View\ComponentAttributeBag; ?>
<?php foreach($attributes->onlyProps(['data']) as $__key => $__value) {
    $$__key = $$__key ?? $__value;
} ?>
<?php $attributes = $attributes->exceptProps(['data']); ?>
<?php foreach (array_filter((['data']), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) {
    $$__key = $$__key ?? $__value;
} ?>
<?php $__defined_vars = get_defined_vars(); ?>
<?php foreach ($attributes as $__key => $__value) {
    if (array_key_exists($__key, $__defined_vars)) unset($$__key);
} ?>
<?php unset($__defined_vars); ?>
<?php
    $parent = reset($data);
    $child = array_values(array_slice($data, 1));

?>

<!-- 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]">
    <!-- left -->
    <section class="container mx-auto space-y-2 md:w-[28%]">
        <div>
            <?php if(!empty($parent)): ?>
                <h1 class="text-[32px] font-bold">
                    <?php echo e($parent['title']); ?>

                </h1>
            <?php endif; ?>

        </div>
    </section>
    <!-- right -->
    <section class="md:w-[68%]">
        <div class="swiper swiperPartner">
            <div class="swiper-wrapper">
                <!-- Partner -->
                <?php if(!empty($child[0])): ?>
                    <?php $__currentLoopData = $child[0]; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div class="swiper-slide">
                            <a href="#" class="group relative block w-full">
                                <img width="100" src="<?php echo e(asset('images/' . $value->image)); ?>"
                                    class="h-[100px] w-full object-contain" alt="partner" />
                            </a>
                        </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                <?php endif; ?>
            </div>
        </div>
    </section>
</section>
<?php /**PATH /home/khawajashipping/mrglogisticsbd.com/resources/views/components/frontend/company.blade.php ENDPATH**/ ?>