Files

36 lines
3.6 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{% load static slx_brand share_meta %}<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover"><title>{% block title %}SLUMP X LAND · Official{% endblock %}</title>{% share_metadata %}{% block meta %}{% endblock %}<link rel="stylesheet" href="{% static 'brand.css' %}"><link rel="stylesheet" href="{% static 'site.css' %}"><script defer src="{% static 'countdown.js' %}"></script><link rel="stylesheet" href="{% static 'djinnii.css' %}">{% block scripts %}{% endblock %}<link rel="stylesheet" href="{% static 'site-theme.css' %}">{% if floating_top_art or floating_bottom_art %}<script defer src="{% static 'floating-artwork.js' %}"></script>{% endif %}{% if newsletter_popup_form %}<script defer src="{% static 'newsletter-popup.js' %}"></script>{% endif %}</head><body class="{% if page_backdrop %}has-page-background{% endif %}{% block body_class %}{% endblock %}"{% if site_theme_vars or page_backdrop %} style="{{ site_theme_vars }}{% if page_backdrop %};--slx-page-color:{{ page_backdrop.color }};--slx-page-tint:{{ page_tint }}%{% endif %}"{% endif %}>
{% if page_backdrop %}
<div class="slx-page-backdrop" aria-hidden="true">
{% if page_backdrop.art %}<img src="{{ page_backdrop.art.url }}" alt="" decoding="async"><span></span>{% endif %}
</div>
{% endif %}
{% block header %}
<header class="site-header">
<a class="brand" href="{% url 'home' %}">{{ "SLUMP X LAND"|slx_brand }}</a>
<nav aria-label="Main">
{% for tab in public_menu %}
<a href="{{ tab.url }}"{% if tab.active %} aria-current="page"{% endif %}{% if tab.key == 'notices' %} aria-label="{{ tab.label }}{% if fan_unread %} ({{ fan_unread }} unread){% endif %}"{% endif %}>{% if tab.key == 'notices' %}♢{% if fan_unread %} <span class="notice-count">{{ fan_unread }}</span>{% endif %}{% else %}{{ tab.label }}{% endif %}</a>
{% endfor %}
<a href="{% url 'djinnii' %}"{% if request.resolver_match.url_name == 'djinnii' %} aria-current="page"{% endif %}>Djinnii</a>
</nav>
</header>
{% endblock %}
{% block floating_top %}{% include 'floating-artwork.html' with band=floating_top_art position='top' only %}{% endblock %}
{% block content %}{% endblock %}
{% block floating_bottom %}{% include 'floating-artwork.html' with band=floating_bottom_art position='bottom' only %}{% endblock %}
{% 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 %}
{% block popups %}{% 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 %}{% endblock %}
{% if not user.is_authenticated and request.resolver_match.url_name == 'chapters' or not user.is_authenticated and request.resolver_match.url_name == 'chapter' %}
{% include 'archive-reminder.html' %}
{% endif %}
</body></html>