<?php $blogs = $blogs ?? []; ?>

<div class="bg-section relative py-16 sm:py-24 lg:py-[120px] mt-16 sm:mt-24 lg:mt-[120px]">
    <div class="container">
        <!-- HEADER -->
        <div class="grid grid-cols-12 gap-4 items-center">
            <div class="col-span-full text-center max-w-[594px] mx-auto">
                <div class="area-subtitle subtitle-outline style-three !text-secondary"><?php echo e(translate( 'Latest Blogs' )); ?></div>
                <h2 class="area-title mt-2"><?php echo e(translate( 'My Latest Insights & Articles' )); ?></h2>
            </div>
        </div>
        <!-- BODY -->
        <?php if( !empty( $blogs ) && is_iterable( $blogs ) ): ?>
        <div class="swiper blog-slider mt-10 lg:mt-[60px]">
            <div class="swiper-wrapper">
                <?php $__currentLoopData = $blogs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $blog): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <?php if (isset($component)) { $__componentOriginal48e4bd75fb5a8087b15408f8ae17f7d9 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal48e4bd75fb5a8087b15408f8ae17f7d9 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'f484570d7cf557020e11ace406901b10::cards.blog.card-four','data' => ['blog' => $blog]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('theme::cards.blog.card-four'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['blog' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($blog)]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal48e4bd75fb5a8087b15408f8ae17f7d9)): ?>
<?php $attributes = $__attributesOriginal48e4bd75fb5a8087b15408f8ae17f7d9; ?>
<?php unset($__attributesOriginal48e4bd75fb5a8087b15408f8ae17f7d9); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal48e4bd75fb5a8087b15408f8ae17f7d9)): ?>
<?php $component = $__componentOriginal48e4bd75fb5a8087b15408f8ae17f7d9; ?>
<?php unset($__componentOriginal48e4bd75fb5a8087b15408f8ae17f7d9); ?>
<?php endif; ?>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </div>
        </div>
        <div class="flex-center mt-10 lg:mt-[60px]">
            <a href="<?php echo e(route( 'blog.list' )); ?>" class="btn b-solid btn-primary-solid btn-lg !text-heading !text-base font-bold" aria-label="View All Blogs">
               <?php echo e(translate( 'View All Blogs' )); ?>

            </a>
        </div>
        <?php endif; ?>
    </div>
</div><?php /**PATH D:\www\edulab\Modules\LMS\resources\themes\digital-education\components\blog\blog.blade.php ENDPATH**/ ?>