Viewing file: 789a88251d6e72c38b5227bff8eb651f.php (3.3 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $attributes ??= new \Illuminate\View\ComponentAttributeBag; ?> <?php foreach($attributes->onlyProps(['ad' => null]) as $__key => $__value) { $$__key = $$__key ?? $__value; } ?> <?php $attributes = $attributes->exceptProps(['ad' => null]); ?> <?php foreach (array_filter((['ad' => null]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) { $$__key = $$__key ?? $__value; } ?> <?php $__defined_vars = get_defined_vars(); ?> <?php foreach ($attributes as $__key => $__value) { if (array_key_exists($__key, $__defined_vars)) unset($$__key); } ?> <?php unset($__defined_vars); ?> <div class="bg-gray-50 dark:bg-gray-900 mb-8 border border-l-0 border-gray-100 lg:rounded-r-lg py-10 relative"> <div class="swiper galleryView2"> <div class="swiper-wrapper venobox"> <div class="swiper-slide"> <img class="h-full w-full max-w-full object-contain" src="<?php echo e($ad->image_url); ?>" /> </div> <?php $__currentLoopData = $ad->galleries; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $gallery): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="swiper-slide"> <img class="h-full w-full max-w-full object-contain" src="<?php echo e($gallery->image_url); ?>" /> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <div class="swiper-button-next"></div> <div class="swiper-button-prev"></div> </div> </div> <?php $__env->startPush('css'); ?> <style> .galleryView2 { height: 520px; width: 100%; }
@media (max-width: 767px) { .galleryView2 { height: 320px; } }
@media (max-width: 525px) { .galleryView2 { height: 250px; } }
.galleryView2 .swiper-button-prev, .galleryView2 .swiper-button-next { width: 24px; height: 24px; border-radius: 124px; background: rgba(0, 0, 0, 0.50); padding: 6px; transition: all 0.4s ease-in; }
.galleryView2 .swiper-button-prev:hover, .galleryView2 .swiper-button-next:hover { background: var(--primary-500); }
.galleryView2 .swiper-button-next:after { content: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.125 2.25L7.875 6L4.125 9.75' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A"); font-size: unset; }
.galleryView2 .swiper-button-prev:after { content: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.125 2.25L7.875 6L4.125 9.75' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A"); font-size: unset; transform: rotate(180deg) } </style> <?php $__env->stopPush(); ?> <?php /**PATH /home/picotech/domains/classify.picotech.app/public_html/resources/views/components/frontend/ad-card/details/slider2.blade.php ENDPATH**/ ?>
|