1
0
mirror of https://github.com/elk-zone/elk synced 2024-12-04 01:38:06 +09:00
elk/pages/public/local.vue

18 lines
470 B
Vue
Raw Normal View History

<script setup lang="ts">
const { data: timelines } = await useAsyncData('timelines-home', () => masto.timelines.fetchPublic({ local: true }).then(r => r.value))
</script>
<template>
<MainContent>
<template #title>
2022-11-23 17:08:49 +09:00
<span text-lg font-bold>Local timeline</span>
</template>
<template #actions>
2022-11-23 17:08:49 +09:00
<div i-ri:equalizer-fill mr-1 h-6 />
</template>
<slot>
<TimelineList :timelines="timelines" />
</slot>
</MainContent>
</template>