From 3cc5d00587dfddd3a24642c0767416e8d5056b90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Tue, 14 Jul 2026 12:27:29 +0200 Subject: [PATCH] feat: add insurance revocation link to footer --- .env | 1 + assets/images/icons.svg | 6 +++++ config/packages/twig.yaml | 1 + templates/layout.html.twig | 48 +++++++++++++++++++++++--------------- 4 files changed, 37 insertions(+), 19 deletions(-) diff --git a/.env b/.env index 4f2ec8f..d6ea33e 100644 --- a/.env +++ b/.env @@ -65,6 +65,7 @@ APP_CMS_API_BASE_URL="https://www.ep-reisen.de/" APP_WEBSITE_BASE_URL="https://www.ep-reisen.de/" APP_BASE_URL="https://my.ep-reisen.de" APP_CUSTOMER_SERVICE_EMAIL="kundenservice@ep-reisen.de" +APP_INSURANCE_REVOCATION_URL="https://www.hmrv.de/daten-aendern/vertrag-beenden/widerruf" # Travel Data Service Configuration APP_TRAVEL_PREFER_REMOTE=false diff --git a/assets/images/icons.svg b/assets/images/icons.svg index 9e62d41..6d39de6 100644 --- a/assets/images/icons.svg +++ b/assets/images/icons.svg @@ -117,6 +117,12 @@ + + + + + + diff --git a/config/packages/twig.yaml b/config/packages/twig.yaml index f908ee3..100ceb1 100644 --- a/config/packages/twig.yaml +++ b/config/packages/twig.yaml @@ -10,6 +10,7 @@ twig: 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)%' + insurance_revocation_url: '%env(APP_INSURANCE_REVOCATION_URL)%' when@test: twig: diff --git a/templates/layout.html.twig b/templates/layout.html.twig index 0c81ad9..c68f288 100644 --- a/templates/layout.html.twig +++ b/templates/layout.html.twig @@ -8,27 +8,37 @@ {% include '_partials/_header.html.twig' %} {% endblock %} -
-
- {% block content %}{% endblock %} +
+
+
+ {% block content %}{% endblock %} +
+ {% block footer %} + + {% endblock %}
- {% block footer %} -
- - Impressum - - - AGB - - - Datenschutz - - -
- {% endblock %}
{% include '_partials/_loading_indicator.html.twig' %}