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

21 lines
469 B
Vue
Raw Normal View History

<script setup lang="ts">
2022-11-28 17:25:32 +03:00
const { t } = useI18n()
useHydratedHead({
2022-11-30 00:50:13 +03:00
title: () => t('title.federated_timeline'),
2022-11-25 14:48:48 +03:00
})
</script>
<template>
<MainContent>
<template #title>
2023-01-05 02:17:30 +03: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 23:15:53 +03:00
</NuxtLink>
</template>
2022-11-26 15:58:10 +03:00
2023-01-15 11:38:02 +03:00
<TimelinePublic v-if="isHydrated" />
</MainContent>
</template>