Viewing file: f860e4539d8a6288fe2edecbb464504e8a7ffc3e.php (1.92 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$brands = $homeService->brands($component->brand_type, null, $component->brand_limit, $component->brands);
?>
<div class="flex flex-col md:flex-row mt-2 md:mt-5 md:gap-x-29p">
<?php if(is_countable($brands) && count($brands) > 0 && ($brand = $brands->shift())): ?>
<a href="<?php echo e(route('site.productSearch', ['brands' => $brand->name])); ?>"
class="relative h-36 md:h-80 md:w-1/4 border rounded-md">
<div class="inset-center">
<div class="grow">
<img class="w-29 h-29 object-contain" src="<?php echo e($brand->fileUrl()); ?>" alt="<?php echo e(__('Image')); ?>">
</div>
</div>
</a>
<?php endif; ?>
<div class="w-full md:w-3/4 mt-5 md:mt-0">
<div class="grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-5 md:gap-7">
<?php if(is_countable($brands)): ?>
<?php $__currentLoopData = $brands; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $brand): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<a href="<?php echo e(route('site.productSearch', ['brands' => $brand->name])); ?>">
<div class="border rounded-md">
<div class="grow p-6 flex flex-row h-36 justify-center items-center">
<img class="w-80p h-20 object-contain neg-transition-scale" src="<?php echo e($brand->fileUrl()); ?>" alt="<?php echo e(__('Image')); ?>">
</div>
</div>
</a>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php endif; ?>
</div>
</div>
</div>
<?php /**PATH /home/picotech/domains/ecom1.picotech.app/public_html/Modules/CMS/Resources/views/templates/blocks/sub/brands-template-v1-data.blade.php ENDPATH**/ ?>
|