<?php $__env->startSection('content'); ?>
    <div class="search-overlay">
        <div class="d-table">
            <div class="d-table-cell">
                <div class="search-layer"></div>
                <div class="search-layer"></div>
                <div class="search-layer"></div>
                <div class="search-close">
                    <span class="search-close-line"></span>
                    <span class="search-close-line"></span>
                </div>
                <div class="search-form">
                    <form>
                        <input type="text" class="input-search" placeholder="Search here...">
                        <button type="submit"><i class="bx bx-search"></i></button>
                    </form>
                </div>
            </div>
        </div>
    </div>


    <div class="inner-banner" id="banner-opc">
        <div class="container">
            <div class="inner-title text-center">
                <h3>Sites</h3>
                <ul>
                    <li>
                        <a href="<?php echo e(route('home')); ?>">Home</a>
                    </li>
                    <li>
                        <i class="bx bx-chevrons-right"></i>
                    </li>
                    <li>Sites</li>
                </ul>
            </div>
        </div>
        <div class="inner-shape">
            <img src="<?php echo e(asset('frontend/images/shape/inner-shape.png')); ?>" alt="Images">
        </div>
    </div>


    <section class="services-style-area pt-100 pb-70">
        <div class="container">
            <div class="section-title text-center">
                <span class="sp-color2">Our Sites</span>
                <h2>Check Our Recent Sites</h2>
            </div>
            <div class="row pt-45">
                <?php $__currentLoopData = $sites; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <div class="col-lg-3 col-sm-6">
                        <div class="site-aspect services-card services-style-bg aspect-site-two">
                            <img src="<?php echo e(asset('backend/images/site/' . $data->image)); ?>"
                                onerror="this.onerror=null; this.src='<?php echo e(asset('frontend/images/no_image.jpg')); ?>'"
                                alt="" />
                            <h3><a href="<?php echo e(route('showsite', $data->slug)); ?>"><?php echo e($data->name); ?></a></h3>
                            <div class="blog-style-card">
                                <div class="content">
                                    <ul>
                                        <li><i class="bx bx-location-plus"></i>
                                            <?php if(isset($data->location)): ?>
                                                <?php echo e($data->location); ?>

                                            <?php else: ?>
                                                Not Found
                                            <?php endif; ?>
                                        </li>
                                        <li><i class="bx bx-show-alt"></i><?php echo e($data->study_indications); ?></li>
                                    </ul>
                                </div>
                            </div>
                            <a href="<?php echo e(route('showsite', $data->slug)); ?>" class="learn-btn">Learn More <i
                                    class="bx bx-chevron-right"></i></a>
                        </div>
                    </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </div>
            <div class="pagination-wrapper text-center">
                <?php echo e($sites->links()); ?>

            </div>
        </div>
    </section>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('frontend.layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\analysis_service\resources\views/frontend/site.blade.php ENDPATH**/ ?>