관리-도구
편집 파일: bc48698406e1b7021bea5ef878854691.php
<?php $__env->startSection('content'); ?> <style> @media (max-width: 767.98px) { .oftop-slider-item .row { flex-direction: column; text-align: center; } .oftop-slider-content { margin-bottom: 20px; } .oftop-slider-img img { width: 100%; height: auto; } .col-lg-5, .col-lg-7, .col-xxl-6 { padding-left: 15px !important; padding-right: 15px !important; } } .testimonials-wrap .row { display: flex; flex-wrap: wrap; } .testimonials-wrap .col-lg-4 { display: flex; flex-direction: column; justify-content: flex-start; } .testimonials-card { display: flex; flex-direction: column; justify-content: space-between; height: 100%; padding: 20px; border: 1px solid #eee; border-radius: 10px; background-color: #fff; } .testimonials-card img { width: 20%; max-height: 200px; object-fit: cover; } .testimonials-card p { margin-top: auto; } .testimonials-name h3 { margin-bottom: 10px; } .testimonials-name span { font-style: italic; } </style> <div class="oftop-slider-area"> <div class="container-fluid m-0 p-0"> <div class="oftop-slider-wrap owl-carousel owl-theme" data-slider-id="1"> <?php $__currentLoopData = $sliders; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $slider): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="oftop-slider-item"> <div class="row align-items-center justify-content-center"> <div class="col-lg-5 col-xxl-6"> <div class="oftop-slider-content"> <span>Rivaan home care LLP</span> <h1><?php echo e($slider->service); ?><b> <?php echo e($slider->description); ?></b></h1> </div> </div> <div class="col-lg-7 col-xxl-6 pr-0"> <div class="oftop-slider-img"> <img src="<?php echo e(asset('storage/' . $slider->image)); ?>" alt="Images"> </div> </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> <div class="thumbs-wrap"> <div class="owl-thumbs oftop-slider-thumb" data-slider-id="1"> <?php $__currentLoopData = $sliders; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $slider): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="owl-thumb-item"> <span><?php echo e(str_pad($index + 1, 2, '0', STR_PAD_LEFT)); ?></span> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </div> <div class="property-area-three pt-100 pb-70"> <div class="container-fluid"> <div class="row align-items-center justify-content-center"> <div class="col-lg-6 ps-0"> <div class="property-img-three"> <a href="about"> <img src="<?php echo e(asset('storage/' . $about->image ?? 'null')); ?>" alt="Images"> </a> </div> </div> <div class="col-lg-6"> <div class="property-item property-item-two"> <div class="section-title-two"> <span class="section-span-bg2">About</span> <a href="about"> <h2> About Rivaan <b class="section-color2"> Home Assist</b> </h2> </a> <p> <?php echo $about->description; ?> </p> </div> <div class="property-btn"> <a href="about" class="default-btn default-hot-toddy"> View Details <i class='bx bx-right-arrow-alt'></i> </a> </div> </div> </div> </div> </div> </div> <?php $icons = [ 'Trust' => 'flaticon-bankrupt', 'Reliability' => 'flaticon-value', 'Quality' => 'flaticon-time-management', 'Flexibility' => 'flaticon-house', // Add more if needed ]; ?> <div class="service-area-three pb-70"> <div class="container"> <div class="row justify-content-center"> <?php $__currentLoopData = $team; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $teams): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="col-lg-6 col-md-6"> <div class="service-item"> <?php $icon = $icons[$teams->title] ?? 'flaticon-bank'; // default icon if title not matched ?> <i class="<?php echo e($icon); ?>"></i> <a> <h3 style="color : #0b4b26"><?php echo e($teams->title); ?></h3> </a> <p><?php echo $teams->description; ?></p> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </div> <div class="apartment-offer-two pt-100 pb-70"> <div class="container"> <div class="row justify-content-center"> <div class="col-lg-6 col-sm-12"> <div class="offer-content"> <div class="section-title-two"> <span class="section-span-white">SERVICES</span> <h2 class="section-white">Our Services</h2> </div> </div> </div> <?php $__currentLoopData = $services; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $service): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php $name = strtolower($service->description1); $iconClass = 'flaticon-house'; $isActive = false; if (str_contains($name, 'mail')) { $iconClass = 'flaticon-padlock'; } elseif (str_contains($name, 'garden') || str_contains($name, 'plant')) { $iconClass = 'flaticon-garage'; $isActive = true; } elseif (str_contains($name, 'inspection')) { $iconClass = 'flaticon-bankrupt'; $isActive = true; } elseif (str_contains($name, 'key')) { $iconClass = 'flaticon-key'; } elseif (str_contains($name, 'pool') || str_contains($name, 'spa')) { $iconClass = 'flaticon-exercise'; } elseif (str_contains($name, 'pest')) { $iconClass = 'flaticon-route'; $isActive = true; } ?> <div class="col-lg-3 col-sm-6 d-flex mt-3"> <div class="offer-item offer-item-bg2 <?php echo e($isActive ? 'active' : ''); ?> flex-fill"> <h3><?php echo e($service->description1); ?></h3> <p><?php echo e($service->description2); ?></p> <i class="<?php echo e($iconClass); ?>"></i> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </div> <style> .single-gallery { position: relative; overflow: hidden; width: 100%; height: 250px; /* adjust height as needed */ border-radius: 8px; } .single-gallery img { width: 100%; height: 100%; object-fit: cover; /* ensures the image fills the container nicely */ } </style> <!-- Property Section Two --> <section class="property-section-two pt-100 pb-70"> <div class="container-fluid"> <div class="container-max"> <div class="property-section-title"> <div class="section-title-two text-center"> <span class="section-span-bg2">Gallery</span> <h2> Our <b class="section-color2">Gallery</b> </h2> </div> </div> <div class="gallery-view pt-45"> <div class="row justify-content-center"> <?php $__currentLoopData = $gallerys; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $gallery): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="col-lg-4 col-sm-6"> <div class="single-gallery"> <img src="<?php echo e(asset('storage/' . $gallery->image)); ?>" alt="Images"> <a href="<?php echo e(asset('storage/' . $gallery->image)); ?>" class="gallery-icon"> <i class='bx bx-plus'></i> </a> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </div> </div> </section> <div class="testimonials-wrap pt-100 pb-70"> <div class="container"> <div class="section-title-two text-center"> <span class="section-span-bg2">testimonials</span> <h2 class="margin-auto">What Client’s Say <b class="section-color2">About Us</b></h2> </div> <div class="row pt-45"> <?php $__currentLoopData = $testimonials; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $testimonial): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="col-lg-4 col-md-6"> <div class="testimonials-card"> <div class="testimonials-name"> <h3><?php echo e($testimonial->name); ?></h3> <span> <?php echo e($testimonial->location); ?></span> </div> <p class="mt-5"> <?php echo $testimonial->comment; ?> </p> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </div> <script> $(document).ready(function() { $('.oftop-slider-wrap').owlCarousel({ items: 1, loop: true, nav: false, dots: false, thumbs: true, thumbsPrerendered: true, autoplay: true, autoplayTimeout: 5000, }); }); </script> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.apps', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/u539723576/domains/ictglobaltech.com/public_html/rivaanhomecare/resources/views/frontend/home.blade.php ENDPATH**/ ?>