Add /emotes/

This commit is contained in:
Joakim Hellsén 2026-01-10 23:15:09 +01:00
commit b8df95e317
No known key found for this signature in database
4 changed files with 61 additions and 9 deletions

View file

@ -0,0 +1,14 @@
{% extends "base.html" %}
{% block title %}Emotes{% endblock %}
{% block content %}
<h1>Emotes</h1>
<div class="emote-gallery" style="display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: flex-start;">
{% for emote in emotes %}
<a href="{% url 'twitch:campaign_detail' emote.campaign.twitch_id %}" title="{{ emote.campaign.name }}" style="display: inline-block;">
<img src="{{ emote.image_url }}" alt="Emote" style="max-width: 96px; max-height: 96px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.12); padding: 4px;" loading="lazy" />
</a>
{% empty %}
<p>No drop campaigns with emotes found.</p>
{% endfor %}
</div>
{% endblock %}