{% extends 'layouts/base.html' %}
{% load i18n %}
{% load pyaa %}
{% load static %}

{% block title %}{% trans "page.newsletter.success.title" %}{% endblock %}

{% block content %}

<div class="container mx-auto px-4 py-8 max-w-xl text-center">
    <img src="{% static 'images/success.png' %}" class="w-24 mx-auto mb-6" alt="Success">

    {% element page_header centered=True %}
        {% translate "page.newsletter.success.title" %}
    {% endelement %}

    <p class="text-base-content/70 mb-6">
        {% trans "page.newsletter.success.message" %}
    </p>

    <a href="{% url 'home' %}" class="btn btn-primary">
        {% translate "page.newsletter.success.back" %}
    </a>
</div>

{% endblock %}
