<div class="banner-bg">
    <div id="demo" class="carousel slide" data-ride="carousel">
        <ul class="carousel-indicators">
            <?php $i =0; ?>
            <?php $__currentLoopData = $banners; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $banner): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <li data-target="#demo" data-slide-to="<?php echo $i; ?>" class=" <?php if($i==0){ ?>active <?php } ?>"></li><?php $i++; ?>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </ul>
        <div class="carousel-inner">
            <?php $i =0; ?>
            <?php $__currentLoopData = $banners; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $banner): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php $i++; ?>
            <!-- <div class="banner-img"><img src="<?php echo e(asset('app-assets/images/banners/'.$banner->image)); ?>" alt="<?php echo e($banner->title); ?>" /></div> -->
            <div class="carousel-item <?php if($i==1){ ?>active <?php } ?>">
                <div class="banner-img"><img src="<?php echo e(asset('app-assets/images/banners/'.$banner->image)); ?>" alt="<?php echo e($banner->title); ?>" /></div>
                <div class="banner-content">
                    <h1><?php echo e($banner->title); ?></h1>
                    <p><?php echo e($banner->sub_title); ?></p>
                    <a href="#populargoods"><?php echo e(__('lang.home_product_banner_order_now_button')); ?> <img src="<?php echo e(asset('site-assets/images/arrowright.png')); ?>" alt="<?php echo e($banner->title); ?>"></a>
                </div>
            </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>
    </div>
</div><?php /**PATH /Applications/MAMP/htdocs/hayawater/resources/views/partials/site/home-banner.blade.php ENDPATH**/ ?>