Restore and lock in shop app, admin sidebar, media routing, and Stripe
This commit is contained in:
1 parent
9562e64298
commit
bb947cf7f0
11 files changed
+197
-16
No files matched your search
+10
-1
@@ -18,5 +18,14 @@
|
||||
{% block content %}{% endblock %}
|
||||
{% include 'floating-artwork.html' with band=floating_bottom_art position='bottom' only %}
|
||||
{% block footer %}<footer>{{ "SLUMP X LAND"|slx_brand }} <span class="footer-separator">·</span> The official ManaA site{% if newsletter_signup_open %} <span class="footer-separator">·</span> <a href="{% url 'newsletter-signup' %}" data-newsletter-open>Newsletter</a>{% endif %}</footer>{% endblock %}
|
||||
{% if newsletter_popup_form %}{% include 'newsletter/popup.html' %}{% endif %}
|
||||
{% if newsletter_popup_form %}{% include 'newsletter/popup.html' %}
|
||||
{% if settings.membership_popup and request.resolver_match.url_name == 'home' %}
|
||||
<dialog class="newsletter-popup" data-membership-popup aria-labelledby="membership-popup-title">
|
||||
<div class="newsletter-popup-hero"><form method="dialog"><button class="newsletter-popup-close" autofocus aria-label="Close membership">×</button></form>
|
||||
<p class="kicker">MEMBER EDITION</p><h2 id="membership-popup-title">Slump X Land Monthly</h2>
|
||||
<p>Read early chapters and see select draft pages from the studio.</p>
|
||||
</div>
|
||||
<div class="newsletter-popup-body"><a class="read-manaa" href="{% url 'membership' %}">Explore membership →</a></div>
|
||||
</dialog>
|
||||
{% endif %}{% endif %}
|
||||
</body></html>
|
||||
@@ -0,0 +1,11 @@
|
||||
{% extends 'base.html' %}
|
||||
{% block title %}Member content · SLUMP X LAND{% endblock %}
|
||||
{% block content %}
|
||||
<main class="section article">
|
||||
<p><a href="{% url 'membership' %}">← Membership</a></p>
|
||||
<p class="kicker">{{ post.get_kind_display }}</p>
|
||||
<h1>{{ post.title }}</h1>
|
||||
{{ post.body|linebreaks }}
|
||||
{% for page in post.pages.all %}<img src="{{ page.art.url }}" alt="Member artwork {{ forloop.counter }}" loading="lazy">{% endfor %}
|
||||
</main>
|
||||
{% endblock %}
|
||||
@@ -0,0 +1,18 @@
|
||||
{% extends 'base.html' %}
|
||||
{% block title %}Slump X Land Monthly{% endblock %}
|
||||
{% block content %}
|
||||
<main class="section">
|
||||
<p class="kicker">MEMBER EDITION</p><h1>Slump X Land Monthly</h1>
|
||||
<div class="shop-grid">
|
||||
<article class="card"><div><h2>Early Access</h2><p>Read new chapters before the public drop and get occasional creator notes.</p>
|
||||
{% if settings.member_scout_url %}<a class="cta" href="{{ settings.member_scout_url }}">Choose Early Access</a>{% endif %}</div></article>
|
||||
<article class="card"><div><h2>Studio Vault</h2><p>Everything in Early Access, plus a curated selection of draft pages and process notes.</p>
|
||||
{% if settings.member_vault_url %}<a class="cta" href="{{ settings.member_vault_url }}">Choose Studio Vault</a>{% endif %}</div></article>
|
||||
</div>
|
||||
{% if settings.member_vault_url or settings.member_scout_url %}
|
||||
<p>Access is activated by the studio after payment is verified. Enter your SLX username at checkout if prompted.</p>
|
||||
{% endif %}
|
||||
{% if not user.is_authenticated %}<p><a href="{% url 'fan-login' %}?next={% url 'membership' %}">Sign in</a> or <a href="{% url 'fan-signup' %}">create an SLX account</a>.</p>{% endif %}
|
||||
{% if posts %}<h2>Your member content</h2><ul>{% for post in posts %}<li>{{ post.get_kind_display }} · <a href="{% url 'member-post' post.pk %}">{{ post.title }}</a></li>{% endfor %}</ul>{% endif %}
|
||||
</main>
|
||||
{% endblock %}
|
||||
Reference in new issue
Block a user