mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-19 15:29:59 +00:00
20 lines
423 B
Vue
20 lines
423 B
Vue
<script setup lang="ts">
|
|
const { data: timelines } = await useAsyncData('timelines-home', () => masto.timelines.fetchPublic({ local: true }).then(r => r.value))
|
|
|
|
useHead({
|
|
title: 'Local'
|
|
})
|
|
</script>
|
|
|
|
<template>
|
|
<MainContent>
|
|
<template #title>
|
|
<span text-lg font-bold>Local timeline</span>
|
|
</template>
|
|
|
|
<slot>
|
|
<TimelineList :timelines="timelines" />
|
|
</slot>
|
|
</MainContent>
|
|
</template>
|