mirror of
https://github.com/elk-zone/elk
synced 2024-12-22 18:48:00 +09:00
29 lines
779 B
Vue
29 lines
779 B
Vue
<script lang="ts" setup>
|
|
const { t } = useI18n()
|
|
|
|
// limit: 20 is the default configuration of the official client
|
|
const paginator = useMasto().v2.suggestions.list({ limit: 20 })
|
|
|
|
useHeadFixed({
|
|
title: () => `${t('tab.for_you')} | ${t('nav.explore')}`,
|
|
})
|
|
</script>
|
|
|
|
<template>
|
|
<CommonPaginator :paginator="paginator" key-prop="account">
|
|
<template #default="{ item }">
|
|
<AccountBigCard
|
|
:account="item.account"
|
|
as="router-link"
|
|
:to="getAccountRoute(item.account)"
|
|
border="b base"
|
|
/>
|
|
</template>
|
|
<template #loading>
|
|
<AccountBigCardSkeleton border="b base" />
|
|
<AccountBigCardSkeleton border="b base" op50 />
|
|
<AccountBigCardSkeleton border="b base" op25 />
|
|
</template>
|
|
</CommonPaginator>
|
|
</template>
|