You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

43 lines
926 B

<template>
<v-card class="mx-auto" max-width="400">
<v-img :src="`https://picsum.photos/seed/${seed}/400/200`" height="200px" />
<v-card-title>
{{ $t('page.landing.title') }}
</v-card-title>
<v-card-text>
{{ $t('page.landing.introduction') }}
</v-card-text>
<v-card-actions>
<v-btn :to="localePath('/researchStudies')">
{{ $t('page.landing.startButton') }}
</v-btn>
</v-card-actions>
</v-card>
</template>
<script>
export default {
layout: 'landing',
auth: 'guest',
data() {
return {
seed: +new Date(),
}
},
head() {
// https://kazupon.github.io/vue-i18n/api/#vue-injected-methods
const $t = this.$t.bind(this)
return {
title: $t('page.landing.title'),
}
},
mounted(){
if (this.$store.getters['authorisation/isUser']) {
this.$router.push(this.localePath('/researchStudies'))
}
},
}
</script>