File size: 1,064 Bytes
a1f924b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!DOCTYPE html>
<html>
<head>
    <title>{{ designer }}</title>
    <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
    <style>
        .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; padding: 0 20px; }
        .card { text-align: center; cursor: pointer; }
        .card img { width: 100%; border-radius: 8px; }
        .card span { display: block; margin-top: 8px; font-weight: 500; font-size: 14px; color: #333; }
    </style>
</head>
<body>
    <a href="/" style="position: fixed; top: 20px; left: 20px; background: black; color: white; padding: 8px 14px; border-radius: 6px; text-decoration: none; font-weight: bold; z-index: 1000;">Home</a>
    <h1>{{ designer }}</h1>
    <div class="grid">
        {% for show in show_cards %}
            <div class="card" onclick="window.location.href='/{{ designer|replace(' ', '-') }}/{{ show.slug }}'">
                <img src="{{ show.image_url }}">
                <span>{{ show.name }}</span>
            </div>
        {% endfor %}
    </div>
</body>
</html>