 <div id="hero"> <div id="owl-main" class="owl-carousel owl-inner-nav owl-ui-sm"> <?php $__currentLoopData = $banners_main_slider; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $banner): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if($banner->photo): ?> <?php
                    $image_url = \App\Helpers\Helper::check_image_avatar($banner->photo->name, 1500, '', 500);
                ?> <?php else: ?> <?php
                    $image_url = "https://via.placeholder.com/1500x1500?text=No+Image";
                ?> <?php endif; ?> <div class="item" style="background-image: url('<?php echo e($image_url); ?>')"> <div class="container-fluid"> <div class="caption bg-color vertical-center text-left"> <div class="button-holder fadeInDown-3"> <a href="<?php echo e($banner->link ? $banner->link : url()->current()); ?>" class="btn-lg btn btn-uppercase btn-primary shop-now-button"><?php echo app('translator')->getFromJson('Shop Now'); ?></a> </div> </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div>