1
0
mirror of https://github.com/elk-zone/elk synced 2024-12-20 01:28:01 +09:00
elk/pages/settings/profile/index.vue

35 lines
919 B
Vue
Raw Normal View History

<script lang="ts" setup>
const { lg } = breakpoints
</script>
<template>
<MainContent :back="!lg">
<template #title>
<div text-lg font-bold flex items-center gap-2 @click="$scrollToTop">
<span>{{ $t('settings.profile.label') }}</span>
</div>
</template>
<SettingsNavItem
command
icon="i-ri:user-settings-line"
:text="$t('settings.profile.appearance.label')"
to="/settings/profile/appearance"
>
<template #description>
{{ $t('settings.profile.appearance.description') }}
</template>
</SettingsNavItem>
<SettingsNavItem
command
icon="i-ri:hashtag"
:text="$t('settings.profile.featured_tags.label')"
to="/settings/profile/featured-tags"
>
<template #description>
{{ $t('settings.profile.featured_tags.description') }}
</template>
</SettingsNavItem>
</MainContent>
</template>