[Back]

<?php $__env->startSection('content'); ?>
<div class="grid md:grid-cols-2 gap-10 items-center">
    <div>
        <h1 class="text-4xl font-extrabold leading-tight">
            Boost your results with our product
        </h1>
        <p class="mt-4 text-gray-600">
            Simple landing page with product video, login, cart, and checkout (FPX ready).
        </p>

        <div class="mt-6 flex gap-3">
            <a href="#products" class="px-5 py-3 rounded bg-black text-white">View Product</a>
            <?php if(auth()->guard()->guest()): ?>
                <a href="<?php echo e(route('register')); ?>" class="px-5 py-3 rounded border">Create account</a>
            <?php endif; ?>
        </div>
    </div>

    <div class="bg-white rounded-xl shadow p-4">
        <div class="aspect-video w-full bg-gray-200 rounded overflow-hidden flex items-center justify-center">
            <span class="text-gray-600 text-sm">Hero Video / Image Placeholder</span>
        </div>
        <p class="mt-3 text-sm text-gray-500">
            Replace this with your best marketing video/image.
        </p>
    </div>
</div>

<hr class="my-12">

<h2 id="products" class="text-2xl font-bold mb-4">Products</h2>

<div class="grid sm:grid-cols-2 lg:grid-cols-3 gap-6">
    <?php $__currentLoopData = $products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <a href="<?php echo e(route('products.show', $product->slug)); ?>" class="block bg-white rounded-xl shadow hover:shadow-lg transition p-5">
            <div class="aspect-video bg-gray-100 rounded mb-4"></div>
            <div class="font-semibold"><?php echo e($product->name); ?></div>
            <div class="text-sm text-gray-600 mt-1"><?php echo e($product->short_description); ?></div>
            <div class="mt-3 font-bold"><?php echo e($product->price_formatted); ?></div>
        </a>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.public', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\Users\nashr\Repo\landing-fpx\resources\views/landing.blade.php ENDPATH**/ ?>