feat: add insurance revocation link to footer

This commit is contained in:
Björn Fromme
2026-07-14 12:27:29 +02:00
parent f620cae4f9
commit 3cc5d00587
4 changed files with 37 additions and 19 deletions
+29 -19
View File
@@ -8,27 +8,37 @@
{% include '_partials/_header.html.twig' %}
{% endblock %}
</div>
<div class="flex-1 flex flex-col min-h-0 relative z-10">
<div class="flex-1 overflow-y-auto">
{% block content %}{% endblock %}
<div class="flex-1 flex flex-col min-h-0 overflow-y-auto md:overflow-hidden relative z-10">
<div class="flex-none flex flex-col md:flex-1 md:min-h-0">
<div class="md:flex-1 md:overflow-y-auto">
{% block content %}{% endblock %}
</div>
</div>
{% block footer %}
<div class="p-4 flex flex-col items-center space-y-2 md:flex-row md:space-x-4 md:space-y-0 text-white md:text-sm">
<a href="{{ legal_notice_url }}" class="flex items-center space-x-1" target="_blank">
{{ icon('external-link', 'w-3 h-3') }}
<span>Impressum</span>
</a>
<a href="{{ terms_and_conditions_url }}" class="flex items-center space-x-1" target="_blank">
{{ icon('external-link', 'w-3 h-3') }}
<span>AGB</span>
</a>
<a href="{{ privacy_policy_url }}" class="flex items-center space-x-1" target="_blank">
{{ icon('external-link', 'w-3 h-3') }}
<span>Datenschutz</span>
</a>
<a href="{{ insurance_revocation_url }}" class="flex items-center space-x-1" target="_blank">
{{ icon('external-link', 'w-3 h-3') }}
<span>Widerruf RRV</span>
</a>
<button type="button" class="flex items-center space-x-1 bg-transparent border-0 p-0 cursor-pointer" onclick="cookiefirst_show_settings(); return false">
{{ icon('cookie', 'w-3 h-3') }}
<span>Cookie-Einstellungen</span>
</button>
</div>
{% endblock %}
</div>
{% block footer %}
<div class="p-4 flex items-center space-x-4 text-white text-sm underline">
<a href="{{ legal_notice_url }}" target="_blank">
Impressum
</a>
<a href="{{ terms_and_conditions_url }}" target="_blank">
AGB
</a>
<a href="{{ privacy_policy_url }}" target="_blank">
Datenschutz
</a>
<button type="button" class="bg-transparent border-0 p-0 cursor-pointer" onclick="cookiefirst_show_settings(); return false">
Cookie-Einstellungen
</button>
</div>
{% endblock %}
</div>
{% include '_partials/_loading_indicator.html.twig' %}
</div>