vikunja-frontend/src/components/misc/legal.vue

28 lines
755 B
Vue
Raw Normal View History

<template>
<div class="legal-links">
<a :href="imprintUrl" rel="noreferrer noopener nofollow" target="_blank" v-if="imprintUrl">{{ $t('navigation.imprint') }}</a>
<span v-if="imprintUrl && privacyPolicyUrl"> | </span>
<a :href="privacyPolicyUrl" rel="noreferrer noopener nofollow" target="_blank" v-if="privacyPolicyUrl">{{ $t('navigation.privacy') }}</a>
</div>
</template>
<script>
import {mapState} from 'vuex'
export default {
name: 'legal',
computed: mapState({
imprintUrl: state => state.config.legal.imprintUrl,
privacyPolicyUrl: state => state.config.legal.privacyPolicyUrl,
}),
}
</script>
2021-10-18 14:20:46 +02:00
<style lang="scss" scoped>
.legal-links {
margin-top: 1rem;
text-align: right;
color: var(--grey-300);
2021-10-18 14:20:46 +02:00
font-size: 1rem;
}
</style>