1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-09-16 08:59:59 +01:00
elk/pages/public/local.vue

20 lines
423 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))
2022-11-25 11:48:48 +00:00
useHead({
title: 'Local'
})
</script>
<template>
<MainContent>
<template #title>
2022-11-23 08:08:49 +00:00
<span text-lg font-bold>Local timeline</span>
</template>
2022-11-24 06:42:26 +00:00
<slot>
<TimelineList :timelines="timelines" />
</slot>
</MainContent>
</template>