/home/brandsfa/.trash/storage/framework/views/df8f249cdef858c0b8c098e92b63f9ad.php
<?php if($categories->count() > 0 ): ?>
<section class="pb-4 rtl">
<div class="container">
<div>
<div class="card __shadow h-100 max-md-shadow-0">
<div class="card-body">
<div class="d-flex justify-content-between">
<div class="categories-title m-0">
<span class="font-semibold"><?php echo e(translate('categories')); ?></span>
</div>
<div>
<a class="text-capitalize view-all-text web-text-primary"
href="<?php echo e(route('categories')); ?>"><?php echo e(translate('view_all')); ?>
<i class="czi-arrow-<?php echo e(Session::get('direction') === "rtl" ? 'left mr-1 ml-n1 mt-1 float-left' : 'right ml-1 mr-n1'); ?>"></i>
</a>
</div>
</div>
<div class="d-none d-md-block">
<div class="row mt-3">
<?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if($key<10): ?>
<div class="text-center __m-5px __cate-item">
<a href="<?php echo e(route('products',['id'=> $category['id'],'data_from'=>'category','page'=>1])); ?>">
<div class="__img">
<img alt="<?php echo e($category->name); ?>"
src="<?php echo e(getValidImage(path: 'storage/app/public/category/'.$category->icon, type: 'category')); ?>">
</div>
<p class="text-center fs-13 font-semibold mt-2"><?php echo e(Str::limit($category->name, 12)); ?></p>
</a>
</div>
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</div>
<div class="d-md-none">
<div class="owl-theme owl-carousel categories--slider mt-3">
<?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if($key<10): ?>
<div class="text-center m-0 __cate-item w-100">
<a href="<?php echo e(route('products',['id'=> $category['id'],'data_from'=>'category','page'=>1])); ?>">
<div class="__img mw-100 h-auto">
<img alt="<?php echo e($category->name); ?>"
src="<?php echo e(getValidImage(path: 'storage/app/public/category/'.$category->icon, type: 'category')); ?>">
</div>
<p class="text-center small mt-2"><?php echo e(Str::limit($category->name, 12)); ?></p>
</a>
</div>
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<?php endif; ?>
<?php /**PATH /home/amkworld/public_html/resources/themes/default/web-views/partials/_category-section-home.blade.php ENDPATH**/ ?>