from django.shortcuts import render

def home(request):
    """Render the landing screen with a product showcase."""
    products = [
        {'name': 'Modern Armchair', 'price': '349.99', 'image': 'https://images.unsplash.com/photo-1592078615290-033ee584e267?q=80&w=2160&auto=format&fit=crop'},
        {'name': 'Minimalist Lamp', 'price': '89.99', 'image': 'https://images.unsplash.com/photo-1543198126-a8ad3e443351?q=80&w=2592&auto=format&fit=crop'},
        {'name': 'Wooden Coffee Table', 'price': '229.99', 'image': 'https://images.unsplash.com/photo-1611110323561-34282125a48e?q=80&w=2070&auto=format&fit=crop'},
        {'name': 'Cozy Throw Blanket', 'price': '59.99', 'image': 'https://images.unsplash.com/photo-1576014131795-d4477304130a?q=80&w=2070&auto=format&fit=crop'},
        {'name': 'Abstract Wall Art', 'price': '149.99', 'image': 'https://images.unsplash.com/photo-1547891654-e66ed7ebb968?q=80&w=2070&auto=format&fit=crop'},
        {'name': 'Scented Candle Set', 'price': '39.99', 'image': 'https://images.unsplash.com/photo-1600855966839-01c9a2537503?q=80&w=2070&auto=format&fit=crop'},
    ]
    context = {
        'products': products,
    }
    return render(request, "core/index.html", context)
