feat: legal links in page footer

This commit is contained in:
Björn Fromme
2026-02-16 09:09:28 +01:00
parent a22688c87e
commit ab67f9d7b5
3 changed files with 21 additions and 1 deletions
+2
View File
@@ -50,7 +50,9 @@ APP_BPN_STREAM_TIMEOUT=30
APP_BPN_TOTAL_TIMEOUT=45
APP_TRAVEL_INFO_BASE_URL="https://www.ep-reisen.de/reiseinformationen/"
APP_LEGAL_NOTICE_URL="https://www.ep-reisen.de/unternehmen/impressum-skireiseveranstalter/"
APP_TERMS_AND_CONDITIONS_URL="https://www.ep-reisen.de/skireisen/infos/allgemeine-infos/agb/"
APP_PRIVACY_POLICY_URL="https://www.ep-reisen.de/unternehmen/impressum-skireiseveranstalter/datenschutz-winterreisen/"
APP_CMS_API_BASE_URL="https://www.ep-reisen.de/"
APP_WEBSITE_BASE_URL="https://www.ep-reisen.de/"
APP_CUSTOMER_SERVICE_EMAIL="[email protected]"
+3
View File
@@ -5,6 +5,9 @@ twig:
htmx_change_trigger: 'change delay:100ms'
website_base_url: '%env(APP_WEBSITE_BASE_URL)%'
customer_service_email: '%env(APP_CUSTOMER_SERVICE_EMAIL)%'
legal_notice_url: '%env(APP_LEGAL_NOTICE_URL)%'
terms_and_conditions_url: '%env(APP_TERMS_AND_CONDITIONS_URL)%'
privacy_policy_url: '%env(APP_PRIVACY_POLICY_URL)%'
when@test:
twig:
+16 -1
View File
@@ -13,7 +13,22 @@
{% block content %}{% endblock %}
</div>
</div>
{% block footer %}{% endblock %}
{% 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>