<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Lindsay Leather - Test Page</title>
    <style>
        body { font-family: Arial, sans-serif; margin: 20px; }
        .container { max-width: 800px; margin: 0 auto; }
        .product { border: 1px solid #ccc; padding: 20px; margin: 10px 0; }
        .btn { background: #B5702F; color: white; padding: 10px 20px; text-decoration: none; border-radius: 5px; }
    </style>
</head>
<body>
    <div class="container">
        <h1>Lindsay Leather - Test Page</h1>
        <p>This is a simple test page to check if the basic functionality works.</p>
        
        <h2>Products Available:</h2>
        @if(isset($products) && $products->count() > 0)
            @foreach($products as $product)
                <div class="product">
                    <h3>{{ ucfirst($product->name) }}</h3>
                    <p>Product ID: {{ $product->id }}</p>
                    <a href="/order/{{ $product->id }}" class="btn">Customize This Product</a>
                </div>
            @endforeach
        @else
            <p>No products found. This might be a database issue.</p>
        @endif
        
        <h2>Stamps Available:</h2>
        @if(isset($stamps) && $stamps->count() > 0)
            <p>Total stamps: {{ $stamps->count() }}</p>
        @else
            <p>No stamps found.</p>
        @endif
        
        <hr>
        <p><a href="/admin/dashboard">Go to Admin Dashboard</a></p>
        <p><a href="/test">Test Route</a></p>
    </div>
</body>
</html>
