- i18n implementation into homepage

This commit is contained in:
Peter Papp
2021-04-06 08:26:35 +02:00
parent e0daa46b50
commit 20f8fe4b51
8 changed files with 154 additions and 110 deletions
@@ -10,10 +10,10 @@
<header class="header container">
<h1 class="main-title">
Jednoduchý a Bezpečný Cloud vo Vrecku
{{ $t('homepage_header_title') }}
</h1>
<h2 class="sub-title">
Virtuální šanon, vždy s tebou.
{{ $t('homepage_header_description') }}
</h2>
<div v-if="config.isAuthenticated">
@@ -23,10 +23,10 @@
</div>
<div v-if="! config.isAuthenticated">
<router-link :to="{name: 'SignUp'}" class="theme-button">
Zaregistrujte se
{{ $t('page_index.menu.sign_in') }}
</router-link>
<span class="log-in">
alebo <router-link :to="{name: 'SignIn'}">prihláste se</router-link>
{{ $t('global.or') }} <router-link :to="{name: 'SignIn'}">{{ $t('page_index.menu.log_in') }}</router-link>
</span>
</div>
</header>
@@ -51,11 +51,6 @@
'config'
]),
},
data() {
return {
}
},
}
</script>