from django.shortcuts import render

def index(request):
    # Dummy data for businesses
    dummy_businesses = [
        {
            'name': 'BizOne',
            'description': 'The first of many amazing businesses on this platform.',
            'logo_url': 'https://via.placeholder.com/150'
        },
        {
            'name': 'Shoply',
            'description': 'Your one-stop shop for all things great and small.',
            'logo_url': 'https://via.placeholder.com/150'
        },
        {
            'name': 'Artisan Goods',
            'description': 'Hand-crafted items made with love and care.',
            'logo_url': 'https://via.placeholder.com/150'
        },
        {
            'name': 'Tech Innovate',
            'description': 'Cutting-edge solutions for a modern world.',
            'logo_url': 'https://via.placeholder.com/150'
        },
        {
            'name': 'Gourmet Bites',
            'description': 'Delicious treats that will make your day.',
            'logo_url': 'https://via.placeholder.com/150'
        },
        {
            'name': 'Fashion Forward',
            'description': 'The latest trends, delivered to your door.',
            'logo_url': 'https://via.placeholder.com/150'
        }
    ]
    context = {
        'businesses': dummy_businesses
    }
    return render(request, "core/index.html", context)