elk/pages/pinned.vue

25 lines
525 B
Vue
Raw Normal View History

2022-11-26 13:58:10 +01:00
<script setup lang="ts">
definePageMeta({
middleware: 'auth',
})
2023-01-09 21:20:26 +01:00
const { $t } = useFluent()
2022-11-26 13:58:10 +01:00
useHeadFixed({
2023-01-09 21:20:26 +01:00
title: () => $t('account_pinned'),
2022-11-26 13:58:10 +01:00
})
</script>
<template>
<MainContent>
<template #title>
2023-01-05 00:17:30 +01:00
<NuxtLink to="/public/pinned" timeline-title-style flex items-center gap-2 @click="$scrollToTop">
2023-01-03 11:45:32 +01:00
<div i-ri:pushpin-line />
2023-01-09 21:20:26 +01:00
<span>{{ $t('account_pinned') }}</span>
2023-01-03 11:45:32 +01:00
</NuxtLink>
2022-11-26 13:58:10 +01:00
</template>
2023-01-03 11:45:32 +01:00
<TimelinePinned v-if="isMastoInitialised && currentUser" />
2022-11-26 13:58:10 +01:00
</MainContent>
</template>