관리-도구
편집 파일: d1e2e12030cea83ae3e3059a016356d4.php
<?php $hero = get_theme_hero('lms-education'); $sliders = $hero->sliders ?? []; ?> <?php if(is_iterable($sliders)): ?> <div class="relative bg-primary bg-no-repeat bg-contain bg-left rounded-3xl py-16 sm:py-24 lg:py-[120px] mx-[12px] px-[12px]" style="background-image: url(<?php echo e(asset('lms/frontend/assets/images/banner/wave-bg.png')); ?>);"> <div class="max-w-[1600px] mx-auto px-[7vw] lg:px-0"> <div class="swiper banner-slider"> <div class="swiper-wrapper"> <?php $__currentLoopData = $sliders; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $slider): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if ( ! $slider->status ) { continue; } $translations = parse_translation($slider); $subTitle = $translations['sub_title'] ?? $slider->sub_title ?? ''; $title = $translations['title'] ?? $slider->title ?? ''; $description = $translations['description'] ?? $slider->description ?? ''; $sliderImg = $slider->image ?? ''; $thumbnail = $sliderImg && fileExists('lms/sliders', $sliderImg) == true ? asset("storage/lms/sliders/{$sliderImg}") : asset('lms/frontend/assets/images/banner/banner_placeholder_2.svg'); ?> <div class="swiper-slide"> <div class="grid grid-cols-12 gap-5 items-center"> <div class="col-span-full lg:col-span-6"> <?php if($subTitle): ?> <div class="area-subtitle subtitle-outline style-two bg-white/5 !border-white/15 !text-secondary"> <?php echo e($subTitle); ?> </div> <?php endif; ?> <?php if($title): ?> <h1 class="area-title title-lg text-white mt-2 xl:mt-4"> <?php echo e($title); ?> </h1> <?php endif; ?> <?php if($description): ?> <p class="area-description desc-lg text-white/70 mt-1.5 xl:mt-2.5 sm:pr-20 rtl:sm:pr-0 rtl:sm:pl-20 line-clamp-3"> <?php echo e($description); ?> </p> <?php endif; ?> <form action=" <?php echo e(route('newsletter.subscribe')); ?>" class="bg-white/10 border border-white/15 rounded-lg p-2 focus-within:border-white custom-transition max-w-screen-sm mt-10 form"> <?php echo csrf_field(); ?> <div class="flex flex-col sm:flex-row gap-2"> <input type="email" placeholder="<?php echo e(translate('Enter your email')); ?>" name="email" class="bg-transparent text-white/70 h-12 px-4 border border-primary sm:border-transparent focus:outline-none grow" /> <button type="submit" class="btn b-solid btn-secondary-solid !text-heading shrink-0" aria-label="Sign Up Now"> <?php echo e(translate('Sign Up Now')); ?> </button> </div> </form> </div> <div class="col-span-full lg:col-span-6 hidden lg:block"> <div class="max-w-full max-h-full flex justify-end"> <img data-src="<?php echo e($thumbnail); ?>" alt="Banner placeholder"> </div> </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </div> <!-- SWIPER PAGINATION --> <div class="absolute w-full !bottom-6 sm:!bottom-10 xl:!bottom-20 z-10 hidden sm:block"> <div class="banner-slider-pagination swiper-custom-pagination-two version-white"></div> </div> </div> <?php endif; ?> <!-- END BANNER AREA --> <?php /**PATH D:\www\edulab\Modules\LMS\resources\themes\lms-education\components\hero\hero-three.blade.php ENDPATH**/ ?>