mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-25 02:36:21 +03:00
25 lines
588 B
Vue
25 lines
588 B
Vue
<script setup lang="ts">
|
|
const paginator = useMasto().trends.getStatuses()
|
|
|
|
const { t } = useI18n()
|
|
|
|
useHead({
|
|
title: () => t('nav_side.explore'),
|
|
})
|
|
</script>
|
|
|
|
<template>
|
|
<MainContent>
|
|
<template #title>
|
|
<NuxtLink to="/explore" text-lg font-bold flex items-center gap-2 @click="$scrollToTop">
|
|
<div i-ri:hashtag />
|
|
<span>{{ t('nav_side.explore') }}</span>
|
|
</NuxtLink>
|
|
</template>
|
|
|
|
<slot>
|
|
<!-- TODO: Tabs for trending statuses, tags, and links -->
|
|
<TimelinePaginator :paginator="paginator" />
|
|
</slot>
|
|
</MainContent>
|
|
</template>
|