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>
|
|
|
|
|
|
|
|
<script>
|
2020-09-05 22:35:52 +02:00
|
|
|
import {mapState} from 'vuex'
|
2020-07-18 21:39:30 +02:00
|
|
|
|
2020-09-05 22:35:52 +02:00
|
|
|
export default {
|
|
|
|
name: 'legal',
|
|
|
|
computed: mapState({
|
|
|
|
imprintUrl: state => state.config.legal.imprintUrl,
|
|
|
|
privacyPolicyUrl: state => 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>
|