From b7c551e77fc98eaf24f7fa1f2280117208d13501 Mon Sep 17 00:00:00 2001 From: Oliver Fritz Date: Tue, 23 Apr 2024 17:08:56 +0200 Subject: [PATCH] style(footer): adapt footer --- .env | 5 +++-- src/components/AppFooter.vue | 27 +++++++++++++++++++++------ 2 files changed, 24 insertions(+), 8 deletions(-) diff --git a/.env b/.env index b681794..f8653c2 100644 --- a/.env +++ b/.env @@ -1,6 +1,6 @@ VITE_BASE_URL= VITE_PRIVACY_POLICY_URL='https://mapswipe.org/{locale}/privacy/' -VITE_IMPRINT_URL='https://heigit.org/imprint/' +VITE_IMPRINT_URL= VITE_APP_LOGO='./img/mapswipe-white.svg' VITE_PROJECTS_FALLBACK_IMAGE="./img/map-pin-600x400.jpg" @@ -22,5 +22,6 @@ VITE_THEME_LIGHT_NEUTRAL="#272727" # App Attribution VITE_APP_NAME="MapSwipe4Web" -VITE_APP_ATTRIBUTION_TITLE='Heidelberg Institute for Geoinformation Technology | HeiGIT gGmbH' +VITE_APP_WEBSITE_URL="https://mapswipe.org" +VITE_APP_ATTRIBUTION_TITLE='HeiGIT gGmbH' VITE_APP_ATTRIBUTION_URL='https://heigit.org' diff --git a/src/components/AppFooter.vue b/src/components/AppFooter.vue index 2932884..cf41263 100644 --- a/src/components/AppFooter.vue +++ b/src/components/AppFooter.vue @@ -18,6 +18,10 @@ export default defineComponent({ const appAttributionUrl = import.meta.env.VITE_APP_ATTRIBUTION_URL return appAttributionUrl }, + appWebsiteUrl() { + const appWebsiteUrl = import.meta.env.VITE_APP_WEBSITE_URL + return appWebsiteUrl + }, imprintUrl() { const url = import.meta.env.VITE_IMPRINT_URL return url @@ -36,16 +40,21 @@ export default defineComponent({

© {{ currentYear }} -  {{ appName }} + + + {{ appName }} + + - -  | {{ $t('appFooter.servicesDevelopedBy') }} + + | {{ appAttributionTitle }} -
+ +
+         - + {{ $t('appFooter.imprint') }}