gestionar idioma con states de vuex
This commit is contained in:
@@ -1,21 +1,15 @@
|
||||
<template>
|
||||
<div class="text-center max-w-xl mx-auto flex flex-col items-center justify-center h-screen">
|
||||
<h1 class="text-2xl md:text-3xl font-medium leading-snug">
|
||||
Estamos mejorando el Kit,<br/>
|
||||
pronto estarán disponibles todas sus herramientas.
|
||||
</h1>
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
lang: '',
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
const langcode = this.$store.getters['langcode'];
|
||||
this.lang = langcode;
|
||||
|
||||
<!-- Texto secundario -->
|
||||
<p class="mt-6 text-base text-gray-700">
|
||||
Síguenos en
|
||||
<a
|
||||
href="https://www.instagram.com/kitecosocial/"
|
||||
class="text-[#5636d0] font-medium hover:underline"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
@kit-eco.social
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
</template>
|
||||
this.$router.replace(`/${langcode}`);
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user