mirror of
https://github.com/elk-zone/elk
synced 2024-12-12 05:38:04 +09:00
23 lines
479 B
Vue
23 lines
479 B
Vue
<script setup lang="ts">
|
|
definePageMeta({
|
|
middleware: 'auth',
|
|
})
|
|
|
|
const masto = await useMasto()
|
|
const paginator = masto.timelines.getHomeIterable()
|
|
</script>
|
|
|
|
<template>
|
|
<MainContent>
|
|
<template #title>
|
|
<div i-ri:home-fill h-6 mr-1 /><span>Home</span>
|
|
</template>
|
|
<template #actions>
|
|
<div color-gray i-ri:equalizer-fill mr-1 h-6 />
|
|
</template>
|
|
<slot>
|
|
<TimelinePaginator :paginator="paginator" />
|
|
</slot>
|
|
</MainContent>
|
|
</template>
|