2022-12-11 10:52:36 +00:00
|
|
|
<script lang="ts" setup>
|
2023-01-09 20:20:26 +00:00
|
|
|
const { $t } = useFluent()
|
2022-12-13 18:44:40 +00:00
|
|
|
|
2022-12-11 10:52:36 +00:00
|
|
|
// limit: 20 is the default configuration of the official client
|
2023-01-08 08:27:38 +00:00
|
|
|
const paginator = useMasto().v2.suggestions.list({ limit: 20 })
|
2022-12-13 18:44:40 +00:00
|
|
|
|
|
|
|
useHeadFixed({
|
2023-01-09 20:20:26 +00:00
|
|
|
title: () => `${$t('tab_for_you')} | ${$t('nav_explore')}`,
|
2022-12-13 18:44:40 +00:00
|
|
|
})
|
2022-12-11 10:52:36 +00:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
2023-01-08 08:27:38 +00:00
|
|
|
<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>
|
2022-12-11 10:52:36 +00:00
|
|
|
</template>
|