Files
e-cosplay/templates/newsletter_remove.twig
Serreau Jovann e76650d5f1 ```
 feat(newsletter): Ajoute l'inscription et la désinscription à la newsletter
```
2026-01-11 13:26:10 +01:00

45 lines
2.0 KiB
Twig

{% extends 'base.twig' %}
{% block title %}{{ 'newsletter.unsubscribe.title'|trans|default('Désinscription réussie') }}{% endblock %}
{% block body %}
<div class="bg-white min-h-[70vh] flex items-center justify-center py-20 px-4">
<div class="container mx-auto max-w-2xl">
{# --- CARTE DE DÉSINSCRIPTION STYLE BRUTALISTE --- #}
<div class="bg-white border-8 border-gray-900 p-10 md:p-16 shadow-[20px_20px_0px_0px_rgba(236,72,153,1)] transform rotate-1">
{# Icône Bye Bye #}
<div class="text-7xl mb-6 transform -rotate-12 inline-block">
👋
</div>
<h1 class="text-4xl md:text-5xl font-black uppercase italic mb-6 tracking-tighter leading-none text-gray-900">
{{ 'newsletter.unsubscribe.header'|trans }}
</h1>
{# Ligne de séparation jaune #}
<div class="w-32 h-4 bg-yellow-400 mb-8 border-2 border-gray-900"></div>
<p class="text-xl md:text-2xl font-bold text-gray-800 mb-10 leading-relaxed uppercase">
{{ 'newsletter.unsubscribe.message'|trans }}
</p>
{# Message de regret stylisé #}
<div class="bg-gray-100 p-6 border-4 border-gray-900 border-dashed mb-10">
<p class="text-sm font-black uppercase tracking-widest text-gray-600">
{{ 'newsletter.unsubscribe.footer'|trans }}
</p>
</div>
{# Bouton retour avec effet de mouvement #}
<a href="{{ path('app_home') }}"
class="inline-block px-10 py-4 bg-indigo-600 text-white border-4 border-gray-900 font-black uppercase hover:bg-black transition-all shadow-[6px_6px_0px_0px_rgba(0,0,0,1)] active:shadow-none active:translate-x-1 active:translate-y-1">
{{ 'newsletter.unsubscribe.back_button'|trans }}
</a>
</div>
</div>
</div>
{% endblock %}