elk/pages/[[server]]/public/index.vue
Joaquín Sánchez ab2881b9a2
refactor: remove useHeadFixed workaround (#1938)
Co-authored-by: Ayaka Rizumu <464388324@qq.com>
2023-04-01 04:14:12 -07:00

22 lines
462 B
Vue

<script setup lang="ts">
const { t } = useI18n()
useHead({
title: () => t('title.federated_timeline'),
})
</script>
<template>
<MainContent>
<template #title>
<NuxtLink to="/public" timeline-title-style flex items-center gap-2 @click="$scrollToTop">
<div i-ri:earth-line />
<span>{{ t('title.federated_timeline') }}</span>
</NuxtLink>
</template>
<TimelinePublic v-if="isHydrated" />
</MainContent>
</template>