Complete missing UX flows and production integrity commands
All checks were successful
CI / ci (pull_request) Successful in 32s

This commit is contained in:
Codex_B
2026-02-28 13:20:25 +00:00
parent 2cb1e622e2
commit 683cba4280
18 changed files with 279 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
{% load core_tags %}
<footer>
{% get_legal_pages as legal_pages %}
{% include 'components/newsletter_form.html' with source='footer' label='Newsletter' %}
{% for page in legal_pages %}
<a href="{{ page.url }}">{{ page.title }}</a>
{% endfor %}

View File

@@ -2,4 +2,5 @@
<a href="/">Home</a>
<a href="/articles/">Articles</a>
<a href="/about/">About</a>
{% include 'components/newsletter_form.html' with source='nav' label='Get updates' %}
</nav>

View File

@@ -0,0 +1,11 @@
<form method="post" action="/newsletter/subscribe/" data-newsletter-form>
{% csrf_token %}
<input type="hidden" name="source" value="{{ source|default:'unknown' }}" />
<label>
<span>{{ label|default:"Newsletter" }}</span>
<input type="email" name="email" required />
</label>
<input type="text" name="honeypot" style="display:none" />
<button type="submit">Subscribe</button>
<p data-newsletter-message aria-live="polite"></p>
</form>