Configure shop app, admin sidebar, media routing, and Stripe dependencies

This commit is contained in:
zach committed 2026-11-24 00:16:35 +00:00
commit 93d83a0d63
188 files changed
+9220

No files matched your search

+30
View File
@@ -0,0 +1,30 @@
{% load slx_brand %}
{% if countdown_chapters %}
<section class="chapter-shelf" data-chapter-shelf aria-labelledby="chapter-shelf-title">
<div class="chapter-shelf-header">
<div><p class="kicker">{{ "SLUMP X LAND"|slx_brand }}</p><h2 id="chapter-shelf-title">Current chapters</h2></div>
<div class="chapter-shelf-actions">
<a href="{% url 'chapters' %}">Chapter archive</a>
<div class="chapter-shelf-controls" data-shelf-controls hidden>
<button class="fan-button" type="button" data-shelf-move="-1" aria-controls="chapter-shelf-track" aria-label="Show earlier covers">←</button>
<button class="fan-button" type="button" data-shelf-move="1" aria-controls="chapter-shelf-track" aria-label="Show more covers">→</button>
</div>
</div>
</div>
<ul class="chapter-shelf-track" id="chapter-shelf-track" data-shelf-track>
{% for chapter in countdown_chapters %}
<li class="chapter-shelf-slot{% if forloop.first %} shelf-featured{% endif %}">
<a class="chapter-shelf-card" href="{% url 'chapter' chapter.number %}">
<span class="chapter-shelf-label"><small>Chapter #{{ chapter.number|stringformat:"03d" }}{% if forloop.first %} · Latest{% endif %}</small><strong>{{ chapter.title|slx_brand }}</strong></span>
{% if chapter.shelf_cover_url %}
<img class="chapter-shelf-cover" src="{{ chapter.shelf_cover_url }}" alt="" loading="lazy" decoding="async">
{% else %}
<span class="chapter-shelf-cover chapter-shelf-placeholder" aria-hidden="true">SLX<span>#{{ chapter.number|stringformat:"03d" }}</span></span>
{% endif %}
{% if forloop.first %}<span class="chapter-shelf-cta" aria-hidden="true">Open chapter <span>→</span></span>{% endif %}
</a>
</li>
{% endfor %}
</ul>
</section>
{% endif %}