ok
Direktori : /home2/selectio/www/innerstore/storage/framework/views/ |
Current File : /home2/selectio/www/innerstore/storage/framework/views/926c9bd70c1737821ad431c7f639161aaa995e29.php |
<style> @media (min-width: 1280px){ .__top-slider-images{ margin-top: 1px; margin-left: -57px; } .carousel{ width: 1360px; } } @media (max-width: 767px){ .__slide-img { height: 162px; /* width: 98%; */ /*-o-object-fit: cover;*/ object-fit: fill; -o-object-position: left center; object-position: left center; } } @media(min-width: 992px){ .__top-slider-images .__slide-img{ height:370px; object-fit:cover; object-position:left center; } } </style> <div class="row rtl"> <!--<div class="col-xl-3 d-none d-xl-block __top-slider-cate">--> <!-- <div ></div>--> <!--</div>--> <div class="col-xl-12 col-md-12 __top-slider-images" style="<?php echo e(Session::get('direction') === "rtl" ? 'margin-top: 3px;padding-right:10px;' : 'margin-top: 3px; padding-left:10px;'); ?>"> <?php ($main_banner=\App\Model\Banner::where('banner_type','Main Banner')->where('published',1)->orderBy('id','desc')->get()); ?> <div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel"> <ol class="carousel-indicators"> <?php $__currentLoopData = $main_banner; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$banner): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <li data-target="#carouselExampleIndicators" data-slide-to="<?php echo e($key); ?>" class="<?php echo e($key==0?'active':''); ?>"> </li> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </ol> <div class="carousel-inner"> <?php $__currentLoopData = $main_banner; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$banner): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="carousel-item <?php echo e($key==0?'active':''); ?>"> <a href="<?php echo e($banner['url']); ?>"> <img class="d-block w-100 __slide-img" onerror="this.src='<?php echo e(asset('public/assets/front-end/img/image-place-holder.png')); ?>'" src="<?php echo e(asset('storage/app/public/banner')); ?>/<?php echo e($banner['photo']); ?>" alt=""> </a> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev"> <span class="carousel-control-prev-icon" aria-hidden="true" ></span> <span class="sr-only"><?php echo e(\App\CPU\translate('Previous')); ?></span> </a> <a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next"> <span class="carousel-control-next-icon" aria-hidden="true"></span> <span class="sr-only"><?php echo e(\App\CPU\translate('Next')); ?></span> </a> </div> </div> <!-- Banner group--> </div> <script> $(function () { $('.list-group-item').on('click', function () { $('.glyphicon', this) .toggleClass('glyphicon-chevron-right') .toggleClass('glyphicon-chevron-down'); }); }); </script> <?php /**PATH /home2/selectio/public_html/innerstore/resources/views/web-views/partials/_home-top-slider.blade.php ENDPATH**/ ?>