mirror of
https://github.com/elk-zone/elk
synced 2024-12-15 15:18:00 +09:00
16 lines
392 B
Vue
16 lines
392 B
Vue
<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>
|
|
<span text-lg font-bold>Local timeline</span>
|
|
</template>
|
|
|
|
<slot>
|
|
<TimelineList :timelines="timelines" />
|
|
</slot>
|
|
</MainContent>
|
|
</template>
|