<?php $__env->startSection('content'); ?>


<main class="main-wrapper">
    <!-- Start Breadcrumb Area  -->
    <div class="axil-breadcrumb-area">
        <div class="container">
            <div class="row align-items-center">
                <div class="col-lg-12">
                    <div class="inner">
                        <ul class="axil-breadcrumb">
                            <li class="axil-breadcrumb-item"><a href="<?php echo e(route('front.home')); ?>">Home</a></li>
                            <li class="separator"></li>
                            <li class="axil-breadcrumb-item active" aria-current="page">Category</li>
                        </ul>
                    </div>
                </div>
                
            </div>
        </div>
    </div>
    <!-- End Breadcrumb Area  -->

    <!-- Start Contact Area  -->
    <div class="axil-category pb--20">
        <div class="container-fluid">
            <div class="axil-contact-page">
                <div class="row">
                    
                    <div class="col-lg-12 col-md-12">
                        <div class="row">
                            
                            <?php $__currentLoopData = $subs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $sub): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <div class="col-4 col-md-2 col-lg-2 col-xl-2 col-sm-4">
                                <div class="category">
                                    <a href="<?php echo e(route('front.products.index')); ?>?category_id=<?php echo e($sub->parent_id); ?>&sub_category_id=<?php echo e($sub->id); ?>">
                                        <img src="<?php echo e(getImage('categories', $sub->image)); ?>" alt="<?php echo e($sub->name); ?> image" />
                                        <div class="title text-center"><?php echo e($sub->name); ?></div>
                                    </a>
                                </div>
                            </div>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                        </div>
                    </div>
                </div>
            </div>
    
            <!-- End Google Map Area  -->
        </div>
    </div>
    <!-- End Contact Area  -->

</main>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('frontend.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\xamp\htdocs\project2\resources\views/frontend/categories.blade.php ENDPATH**/ ?>