fashion-library / templates /designer.html
tonyassi's picture
Upload 8 files
a1f924b verified
<!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>