

<?php $__env->startSection('content'); ?>
    <div class="banner">

        <div class="owl-carousel owl-banner">

          <?php $__currentLoopData = $banner; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <div class="items">
                <img src="<?php echo e(asset($data->image)); ?>" alt="<?php echo e($data->title); ?>" class="img-fluid">
                <div class="banner__content">
                    <div class="container">
                        <div class="banner__content--text">
                            <h4 class="text-white">
                                <?php
                                    $words = explode(' ', $data->image_name);
                                    $lines = array_chunk($words, 6); // 3 words per line
                                ?>
                                <?php $__currentLoopData = $lines; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $line): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <?php echo e(implode(' ', $line)); ?><br>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </h4>
        
                            <a class="appointment-btn d-inline-block fs-lg-4 fs-md-5 fs-6 mt-3" href="#"
                                data-bs-toggle="modal" data-bs-target="#appointmentModal">Make an Appointment</a>
                        </div>
                    </div>
                </div>
            </div>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>


        </div>

    </div>
    <div class="shop-glass py-lg-5 py-3">
        <div class="container">
            <ul class="nav nav-pills mb-3 align-items-center justify-content-center gap-2 " id="pills-tab" role="tablist">
                <li class="nav-item" role="presentation">
                    <button class="nav-link active" id="pills-glass-tab" data-bs-toggle="pill" data-bs-target="#pills-glass"
                        type="button" role="tab" aria-controls="pills-glass" aria-selected="true">Rice</button>
                </li>
                <li class="nav-item" role="presentation">
                    <button class="nav-link" id="pills-Sunglasses-tab" data-bs-toggle="pill"
                        data-bs-target="#pills-Sunglasses" type="button" role="tab" aria-controls="pills-Sunglasses"
                        aria-selected="false">Salt & Sugar</button>
                </li>
                <li class="nav-item" role="presentation">
                    <button class="nav-link" id="pills-contact-tab" data-bs-toggle="pill" data-bs-target="#pills-contact"
                        type="button" role="tab" aria-controls="pills-contact" aria-selected="false">Atta & Flour</button>
                </li>

            </ul>
            <div class="tab-content pt-lg-3 pt-3" id="pills-tabContent">
                <!-- Glasses Tab -->
                <div class="tab-pane fade show active" id="pills-glass" role="tabpanel" aria-labelledby="pills-glass-tab"
                    tabindex="0">
                    <div class="row g-4">
                        <?php $__currentLoopData = $glasses; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <div class="col-lg-3 col-md-4 col-sm-6">
                                <a href="<?php echo e(route('product.details', $product->id)); ?>">
                                    <div class="product text-center">
                                        <div class="product__img">
                                            <img src="<?php echo e(asset($product->image)); ?>" alt="<?php echo e($product->title); ?>"
                                                class="img-fluid">
                                        </div>
                                        <p><?php echo e($product->title); ?></p>
                                        <strong>Rs: <?php echo e($product->price); ?></strong>
                                    </div>
                                </a>
                            </div>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </div>
                    
                    <div class="row g-4 pt-lg-5 pt-3">
                        <div class="col-lg-3 col-md-4 col-sm-6">
                            <a class="brand" href="<?php echo e(route('women')); ?>">Long Grain Rice</a>
                        </div>
                        <div class="col-lg-3 col-md-4 col-sm-6">
                            <a class="brand" href="<?php echo e(route('men')); ?>">Medium Grain Rice</a>
                        </div>
                        <div class="col-lg-3 col-md-4 col-sm-6">
                            <a class="brand" href="<?php echo e(route('child')); ?>">Short Grain Rice</a>
                        </div>
                        <div class="col-lg-3 col-md-4 col-sm-6">
                            <a class="brand" href="<?php echo e(route('all')); ?>">All Rice</a>
                        </div>
                    </div>
                </div>

                <!-- Sunglasses Tab -->
                <div class="tab-pane fade" id="pills-Sunglasses" role="tabpanel" aria-labelledby="pills-Sunglasses-tab"
                    tabindex="0">
                    <div class="row g-4">
                        <?php $__currentLoopData = $sunglasses; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <div class="col-lg-3 col-md-4 col-sm-6">
                                <a href="<?php echo e(route('product.details', $product->id)); ?>">
                                    <div class="product text-center">
                                        <div class="product__img">
                                            <img src="<?php echo e(asset($product->image)); ?>" alt="<?php echo e($product->title); ?>"
                                                class="img-fluid">
                                        </div>
                                        <p><?php echo e($product->title); ?></p>
                                        <strong>Rs: <?php echo e($product->price); ?></strong>
                                    </div>
                                </a>
                            </div>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </div>
                    
                    <div class="row g-4 pt-lg-5 pt-3">
                        <div class="col-lg-3 col-md-4 col-sm-6">
                            <a class="brand" href="<?php echo e(route('women')); ?>">Women's Glasses</a>
                        </div>
                        <div class="col-lg-3 col-md-4 col-sm-6">
                            <a class="brand" href="<?php echo e(route('men')); ?>">Men's Glasses</a>
                        </div>
                        <div class="col-lg-3 col-md-4 col-sm-6">
                            <a class="brand" href="<?php echo e(route('child')); ?>">Kids'
                                Glasses</a>
                        </div>
                        <div class="col-lg-3 col-md-4 col-sm-6">
                            <a class="brand" href="<?php echo e(route('all')); ?>">All Glasses</a>
                        </div>
                    </div>
                </div>

                <!-- Contacts Tab -->
                <div class="tab-pane fade" id="pills-contact" role="tabpanel" aria-labelledby="pills-contact-tab"
                    tabindex="0">
                    <div class="row g-4">
                        <?php $__currentLoopData = $contacts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <div class="col-lg-3 col-md-4 col-sm-6">
                                <a href="<?php echo e(route('product.details', $product->id)); ?>">
                                    <div class="product text-center">
                                        <div class="product__img">
                                            <img src="<?php echo e(asset($product->image)); ?>" alt="<?php echo e($product->title); ?>"
                                                class="img-fluid">
                                        </div>
                                        <p><?php echo e($product->title); ?></p>
                                        <strong>Rs: <?php echo e($product->price); ?></strong>
                                    </div>
                                </a>
                            </div>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </div>
                 
                    <div class="row g-4 pt-lg-5 pt-3">
                        <div class="col-lg-3 col-md-4 col-sm-6">
                            <a class="brand" href="<?php echo e(route('women')); ?>">Women's Glasses</a>
                        </div>
                        <div class="col-lg-3 col-md-4 col-sm-6">
                            <a class="brand" href="<?php echo e(route('men')); ?>">Men's Glasses</a>
                        </div>
                        <div class="col-lg-3 col-md-4 col-sm-6">
                            <a class="brand" href="<?php echo e(route('child')); ?>">Kids'
                                Glasses</a>
                        </div>
                        <div class="col-lg-3 col-md-4 col-sm-6">
                            <a class="brand" href="<?php echo e(route('all')); ?>">All Glasses</a>
                        </div>
                    </div>

                </div>
            </div>


        </div>
    </div>
    <div class="banner-middle">
        <div class="container">
            <?php $__currentLoopData = $adv; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $ads): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <a href="#">
                    <div class="banner-middle__details">
                        <img src="<?php echo e(asset($ads->image)); ?> " alt="<?php echo e($ads->image_name); ?>">
                    </div>
                </a>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>
    </div>
    <div class="services py-lg-5 py-3">
        <div class="container">


            <div class="col-lg-12 text-center">
                <h1>Our Services</h1>
            </div>
            <div class="owl-carousel owl-theme owl-services">
                <?php $__currentLoopData = $services; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $service): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div class="item">
                    <div class="services__content">
                        <img src="<?php echo e(asset($service->image)); ?>" alt="services">
                        <h2><?php echo e($service->title); ?></h2>
                        <p>
                            <?php echo e(\Illuminate\Support\Str::limit(strip_tags($service->description), 100, '...')); ?>

                        </p>
                        <div>
                            <a class="btn-learn-more" href="<?php echo e(route('services.details', $service->id)); ?>">Learn More</a>
                        </div>
                    </div>
                </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            
            
            </div>


        </div>
    </div>
    <div class="doctors pb-lg-5 pb-3">
        <div class="container">
            <div class="row">
                <div class="col-lg-12 text-center">
                    <h1>Our High qualified Team</h1>
                </div>
                <div class="owl-carousel owl-theme owl-doctor">
                    <?php $__currentLoopData = $doctors; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $doctor): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div class="item">
                            <div class="doctor-details">
                                <img class="w-100" src="<?php echo e(asset($doctor->image ?? 'eye/images/default-doctor.jpg')); ?>"
                                    alt="doctor">
                                <div class="box-body text-center py-3 text-white">
                                    <h3><?php echo e($doctor->name); ?></h3>
                                    <p><?php echo e($doctor->position); ?></p>
                                </div>
                            </div>
                        </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
            </div>
        </div>
    </div>
    
    
<?php $__env->stopSection(); ?>

<?php echo $__env->make('users.user-dashboard', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\Users\HP\Desktop\nehan-tech-solution\app\resources\views/users/index.blade.php ENDPATH**/ ?>