



<section class="category-wrapper section-padding">
    <div class="container">
        <div class="row">
            <div class="col-lg-12">
                <div class="section-title text-center">
                    <span class="title-head builder-editable" builder-identity="1">Categories</span>
                    <h2 class="title builder-editable" builder-identity="2">Explore Top Courses Categories</h2>
                </div>
            </div>
        </div>
        <div class="row justify-content-center">
            <?php $__currentLoopData = App\Models\Category::where('parent_id', 0)->take(32)->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div class="col-md-3 col-sm-6 mb-30">
                    <a href="<?php echo e(route('courses', $category->slug)); ?>" class="single-category">
                        <div class="single-category-logo">
                            <img src="<?php echo e(get_image($category->category_logo)); ?>" alt="">
                        </div>
                        <div class="single-category-name">
                            <h4><?php echo e($category->title); ?></h4>
                            <p><?php echo e(count_category_courses($category->id)); ?> <?php echo e(get_phrase('courses')); ?></p>
                        </div>
                    </a>
                </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>
    </div>
</section>
<?php /**PATH /var/www/payraty/lms_main/resources/views/components/home_made_by_builder/category.blade.php ENDPATH**/ ?>