<div class="">
    <div class="category-items d-flex justify-content-center flex-wrap">
        <?php if(isset($result )): ?>
            <?php $__currentLoopData = $result; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <a href="<?php echo e(route('courses')); ?>?category_id[]=<?php echo e($category->id); ?>"
                   class="category-item d-flex flex-wrap align-items-center gap-3">
                    <div class="icon bg-1"> 
                        <img src="<?php echo e(asset($category->image)); ?>" alt="">
                    </div>
                    <div class="content">
                        <h5 class="fw-500 lh-1 mb-2"><?php echo e($category->name); ?></h5>
                        <p class="lh-1 fs-14">   <?php echo e(translatedNumber($category->total_courses)); ?> <?php echo e(__('frontend.Courses')); ?></p>
                    </div>
                </a>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        <?php endif; ?>
    </div>
</div>



<?php /**PATH /home/minialms/card.minialms.com/resources/views/frontend/infixlmstheme/snippets/components/_single_category_v4.blade.php ENDPATH**/ ?>