2024-08-08 09:27:29 +02:00

41 lines
1.1 KiB
Vue

<template>
<div class="redeem-logged-out">
<redeem-information v-bind="linkData" :is-contribution-link="isContributionLink" />
<b-jumbotron>
<div class="mb-2">
<h2>{{ $t('gdd_per_link.redeem') }}</h2>
</div>
<BRow>
<BCol sm="12" md="6">
<p>{{ $t('gdd_per_link.no-account') }}</p>
<b-button variant="primary" :to="register">
{{ $t('gdd_per_link.to-register') }}
</b-button>
</BCol>
<BCol sm="12" md="6" class="mt-4 mt-lg-0">
<p>{{ $t('gdd_per_link.has-account') }}</p>
<b-button variant="gradido" :to="login">{{ $t('gdd_per_link.to-login') }}</b-button>
</BCol>
</BRow>
</b-jumbotron>
</div>
</template>
<script>
import RedeemInformation from '@/components/LinkInformations/RedeemInformation'
import { authLinks } from '@/mixins/authLinks'
export default {
name: 'RedeemLoggedOut',
components: {
RedeemInformation,
},
mixins: [authLinks],
props: {
linkData: { type: Object, required: true },
isContributionLink: { type: Boolean, default: false },
},
}
</script>