elk/pages/settings/profile/index.vue

37 lines
927 B
Vue
Raw Normal View History

<script setup lang="ts">
definePageMeta({
middleware: 'auth',
})
2023-01-04 13:57:12 +00:00
const { t } = useI18n()
useHeadFixed({
title: () => `${t('settings.profile.label')} | ${t('nav.settings')}`,
})
</script>
<template>
<MainContent back-on-small-screen>
<template #title>
<div text-lg font-bold flex items-center gap-2 @click="$scrollToTop">
<span>{{ $t('settings.profile.label') }}</span>
</div>
</template>
2023-01-02 20:19:36 +00:00
<SettingsItem
command
icon="i-ri:user-settings-line"
:text="$t('settings.profile.appearance.label')"
:description="$t('settings.profile.appearance.description')"
to="/settings/profile/appearance"
/>
2023-01-02 20:19:36 +00:00
<SettingsItem
command
icon="i-ri:hashtag"
:text="$t('settings.profile.featured_tags.label')"
:description="$t('settings.profile.featured_tags.description')"
to="/settings/profile/featured-tags"
/>
</MainContent>
</template>