feat: support more actions for user

This commit is contained in:
三咲智子 2022-11-26 20:58:10 +08:00
parent 3d7d2ca405
commit 84478984dc
No known key found for this signature in database
GPG key ID: 69992F2250DFD93E
12 changed files with 184 additions and 37 deletions

22
pages/pinned.vue Normal file
View file

@ -0,0 +1,22 @@
<script setup lang="ts">
definePageMeta({
middleware: 'auth',
})
const paginator = masto.accounts.getStatusesIterable(currentUser.value!.account.id, { pinned: true })
useHead({
title: 'Pinned',
})
</script>
<template>
<MainContent>
<template #title>
<div i-ri:pushpin-line h-6 mr-1 />
<span>Pinned</span>
</template>
<TimelinePaginator :paginator="paginator" />
</MainContent>
</template>