<?php
    use App\Helpers\Template as Template;
?> <?php if(count($itemsSlider) > 0): ?> <div class="home"> <div class="home_slider_container"> <div class="owl-carousel owl-theme home_slider"> <?php $__currentLoopData = $itemsSlider; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $val): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php
                        $name        = $val['name'];
                        $description = $val['description'];
                        $link        = $val['link'];
                        $thumb       = url("/images/slider") . '/' . $val['thumb'];
                    ?> <div class="owl-item home_slider_item"> <div class="background_image" style="background-image:url('<?php echo $thumb; ?>')"></div> <div class="home_slider_content text-center"> <div class="home_slider_content_inner" data-animation-in="fadeIn" data-animation-out="animate-out fadeOut"> <div class="home_title"><?php echo $name; ?></div> <div class="home_text"><?php echo $description; ?></div> <div class="home_button trans_200"><a href="<?php echo $link; ?>">Xem chi tiết</a></div> </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <?php if(count($itemsSlider) > 1): ?> <div class="home_slider_nav home_slider_prev trans_200"><i class="fa fa-angle-left trans_200" aria-hidden="true"></i></div> <div class="home_slider_nav home_slider_next trans_200"><i class="fa fa-angle-right trans_200" aria-hidden="true"></i></div> <?php endif; ?> </div> </div> <?php endif; ?><?php /**PATH D:\xampp\htdocs\offline_laravel_duongle\resources\views/news/block/slider.blade.php ENDPATH**/ ?>