elk/pages/settings/language/index.vue

24 lines
595 B
Vue
Raw Permalink Normal View History

2023-01-04 13:57:12 +00:00
<script setup lang="ts">
const { t } = useI18n()
useHeadFixed({
title: () => `${t('settings.language.label')} | ${t('nav.settings')}`,
})
</script>
2022-12-26 23:04:24 +00:00
<template>
<MainContent back-on-small-screen>
2022-12-26 23:04:24 +00:00
<template #title>
<div text-lg font-bold flex items-center gap-2 @click="$scrollToTop">
<span>{{ $t('settings.language.label') }}</span>
</div>
</template>
<div p6>
<label space-y-2>
<p font-medium>{{ $t('settings.language.display_language') }}</p>
<SettingsLanguage select-settings />
</label>
2022-12-26 23:04:24 +00:00
</div>
</MainContent>
</template>