2020-07-18 21:39:30 +02:00
|
|
|
<template>
|
|
|
|
<div class="legal-links">
|
2021-07-28 22:58:12 +02:00
|
|
|
<a :href="imprintUrl" rel="noreferrer noopener nofollow" target="_blank" v-if="imprintUrl">{{ $t('navigation.imprint') }}</a>
|
2020-07-18 21:39:30 +02:00
|
|
|
<span v-if="imprintUrl && privacyPolicyUrl"> | </span>
|
2021-07-28 22:58:12 +02:00
|
|
|
<a :href="privacyPolicyUrl" rel="noreferrer noopener nofollow" target="_blank" v-if="privacyPolicyUrl">{{ $t('navigation.privacy') }}</a>
|
2020-07-18 21:39:30 +02:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
2021-12-04 15:47:32 +01:00
|
|
|
<script lang="ts" setup>
|
|
|
|
import {computed} from 'vue'
|
|
|
|
import {useStore} from 'vuex'
|
2020-07-18 21:39:30 +02:00
|
|
|
|
2021-12-04 15:47:32 +01:00
|
|
|
const store = useStore()
|
|
|
|
|
|
|
|
const imprintUrl = computed(() => store.state.config.legal.imprintUrl)
|
|
|
|
const privacyPolicyUrl = computed(() => store.state.config.legal.privacyPolicyUrl)
|
2020-07-18 21:39:30 +02:00
|
|
|
</script>
|
2021-10-18 14:20:46 +02:00
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
.legal-links {
|
|
|
|
margin-top: 1rem;
|
|
|
|
text-align: right;
|
2021-11-22 22:12:54 +01:00
|
|
|
color: var(--grey-300);
|
2021-10-18 14:20:46 +02:00
|
|
|
font-size: 1rem;
|
|
|
|
}
|
|
|
|
</style>
|