From ab67f9d7b539db7f56ed4c14c42c140563aa0e64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Mon, 16 Feb 2026 09:09:28 +0100 Subject: [PATCH] feat: legal links in page footer --- .env | 2 ++ config/packages/twig.yaml | 3 +++ templates/layout.html.twig | 17 ++++++++++++++++- 3 files changed, 21 insertions(+), 1 deletion(-) diff --git a/.env b/.env index c0c69be..7842279 100644 --- a/.env +++ b/.env @@ -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="kundenservice@ep-reisen.de" diff --git a/config/packages/twig.yaml b/config/packages/twig.yaml index 9b4a589..4a7a4c9 100644 --- a/config/packages/twig.yaml +++ b/config/packages/twig.yaml @@ -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: diff --git a/templates/layout.html.twig b/templates/layout.html.twig index d8c7a23..0c81ad9 100644 --- a/templates/layout.html.twig +++ b/templates/layout.html.twig @@ -13,7 +13,22 @@ {% block content %}{% endblock %} - {% block footer %}{% endblock %} + {% block footer %} +
+ + Impressum + + + AGB + + + Datenschutz + + +
+ {% endblock %} {% include '_partials/_loading_indicator.html.twig' %}