This commit is contained in:
2019-03-07 18:48:39 +00:00
parent c4611a2500
commit 22ca8953ab
5 changed files with 17 additions and 380 deletions

View File

@@ -1,11 +1,11 @@
<template>
<v-container>
<v-layout text-xs-center wrap="">
<v-layout text-xs-center wrap>
<v-flex xs12>
<v-img :src="require('../assets/logo.svg')" class="my-3" contain height="200"></v-img>
</v-flex>
<v-flex mb-4>
<h1 class="display-2 font-weight-bold mb-3">Welcome to AyaNova</h1>
<v-flex mb-4 v-if="this.formReady">
<h1 class="display-2 font-weight-bold mb-3">{{ this.$gzlocale.get("Welcome")}}</h1>
</v-flex>
</v-layout>
</v-container>
@@ -13,7 +13,18 @@
<script>
export default {
data: () => ({})
created() {
this.$gzlocale
.fetch(["Welcome"])
.then(() => (this.formReady = true))
.catch(err => {
this.formReady = true;
this.$gzerror(err);
});
},
data() {
return { formReady: false };
}
};
</script>