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

+31
View File
@@ -0,0 +1,31 @@
{% extends "base.html" %}{% load slx_brand %}
{% block title %}SLX Newsletter{% endblock %}
{% block content %}
<main class="section article">
<p class="kicker">SLX Studio · Newsletter</p>
{% if mode == 'signup' %}
<h1>Get SLX release notes</h1>
<p>Chapter drops, production notes, and announcements from {{ "SLUMP X LAND"|slx_brand }}.</p>
{% if not available %}<p>Newsletter signup is not open right now.</p>
{% elif check %}
{% if delivery_ready %}<p>If this address can be subscribed, look for a confirmation email shortly. Check spam if you don’t see it.</p>
{% else %}<p>Thanks! Your signup request was received. You can confirm your subscription by email once newsletter delivery is available.</p>{% endif %}
{% else %}
<form method="post" class="account-form">
{% include 'newsletter/signup-fields.html' %}
</form>
{% endif %}
{% elif mode == 'confirm' %}
{% if done %}<h1>You’re on the list</h1><p>Your email is confirmed. Look out for the next SLX update.</p>
{% elif valid %}<h1>Confirm your signup</h1><p>Use the button below to start receiving the SLX newsletter.</p>
<form method="post">{% csrf_token %}<button class="cta" type="submit">Confirm subscription</button></form>
{% else %}<h1>This link isn’t active</h1><p><a href="{% url 'newsletter-signup' %}">Request a new confirmation</a> if you still want to join.</p>{% endif %}
{% else %}
{% if done %}<h1>You’re unsubscribed</h1><p>You won’t receive future SLX newsletters.</p>
{% else %}<h1>Unsubscribe from SLX updates?</h1>
<form method="post">{% csrf_token %}<button class="cta" type="submit">Unsubscribe</button></form>
{% endif %}
{% endif %}
<p><a href="{% url 'home' %}">Back to {{ "SLUMP X LAND"|slx_brand }}</a></p>
</main>
{% endblock %}