<?php $__env->startSection('title', 'Home Page'); ?>
<?php $__env->startSection('content'); ?>
    <section class="hero">
        <div class="hero-content">
            <h1>Curated for You.</h1>
            <p>Discover our exclusive collection of premium products.</p>
            <a href="#" class="btn">Explore Now</a>
        </div>
    </section>
    <main class="container">
        <h2 class="section-title">Our Best Sellers</h2>
        <div class="product-grid row">
            <?php $__currentLoopData = $products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div class="product-card col-md-4">
                    
                    <img src="<?php echo e(asset($product->image)); ?>" alt="<?php echo e($product->name); ?>">
                    
                    <div class="product-info">
                        <h3><?php echo e($product->name); ?></h3>
                        
                        
                        <p><?php echo e(Str::limit($product->description, 50)); ?></p>

                        
                        <div class="price">₹<?php echo e(number_format($product->price, 2)); ?></div>
                        
                        <a href="<?php echo e(url('product/' . $product->slug)); ?>" class="btn">View Details</a>
                    </div>
                </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            
        </div>
    </main>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('frontend.layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\Users\Kuldeep Vishwakarma\OneDrive\Desktop\ecom_webportal\resources\views/frontend/index.blade.php ENDPATH**/ ?>