elk/pages/[[server]]/public/index.vue

21 lines
469 B
Vue
Raw Normal View History

<script setup lang="ts">
2022-11-28 15:25:32 +01:00
const { t } = useI18n()
useHydratedHead({
2022-11-29 22:50:13 +01:00
title: () => t('title.federated_timeline'),
2022-11-25 12:48:48 +01:00
})
</script>
<template>
<MainContent>
<template #title>
2023-01-05 00:17:30 +01:00
<NuxtLink to="/public" timeline-title-style flex items-center gap-2 @click="$scrollToTop">
<div i-ri:earth-line />
<span>{{ $t('title.federated_timeline') }}</span>
2022-11-29 21:15:53 +01:00
</NuxtLink>
</template>
2022-11-26 13:58:10 +01:00
2023-01-15 09:38:02 +01:00
<TimelinePublic v-if="isHydrated" />
</MainContent>
</template>