1
0
mirror of https://github.com/elk-zone/elk synced 2024-12-17 16:18:01 +09:00
elk/pages/explore.vue

24 lines
538 B
Vue
Raw Normal View History

2022-11-17 22:09:05 +09:00
<script setup lang="ts">
definePageMeta({
middleware: 'auth',
})
const masto = await useMasto()
const paginator = masto.trends.getStatuses()
</script>
<template>
<MainContent>
<template #title>
<div i-ri:hashtag h-6 mr-1 /><span>Explore</span>
</template>
<template #actions>
<div color-gray i-ri:equalizer-fill mr-1 h-6 />
</template>
<slot>
<!-- TODO: Tabs for trending statuses, tags, and links -->
<TimelinePaginator :paginator="paginator" />
</slot>
</MainContent>
</template>