feat: settings page

This commit is contained in:
Liyas Thomas
2021-07-05 05:08:03 +00:00
committed by GitHub
parent ababd79da2
commit dc5a09bebc
7 changed files with 147 additions and 174 deletions

View File

@@ -1,26 +0,0 @@
<template>
<SmartModal v-if="show" @close="hideModal">
<template #header>
<h3 class="heading">{{ $t("login") }}</h3>
<div>
<ButtonSecondary icon="close" @click.native="hideModal" />
</div>
</template>
<template #body>
<FirebaseLogin />
</template>
</SmartModal>
</template>
<script>
export default {
props: {
show: Boolean,
},
methods: {
hideModal() {
this.$emit("hide-modal")
},
},
}
</script>

View File

@@ -14,7 +14,6 @@
:title="$t('choose_language')"
:label="`${
$i18n.locales.find(({ code }) => code == $i18n.locale).country
| formatCountry
} ${$i18n.locales.find(({ code }) => code == $i18n.locale).name}`"
/>
</template>
@@ -24,7 +23,7 @@
)"
:key="locale.code"
:to="switchLocalePath(locale.code).toString()"
:label="`${locale.country | formatCountry} ${locale.name}`"
:label="`${locale.country} ${locale.name}`"
/>
</tippy>
</span>