2022-11-16 00:56:11 +09:00
|
|
|
<script setup lang="ts">
|
2023-01-08 15:21:09 +09:00
|
|
|
import type { mastodon } from 'masto'
|
2022-11-16 00:56:11 +09:00
|
|
|
|
2022-11-22 22:03:36 +09:00
|
|
|
const { account } = defineProps<{
|
2023-01-08 15:21:09 +09:00
|
|
|
account: mastodon.v1.Account
|
2022-11-29 02:24:39 +09:00
|
|
|
hoverCard?: boolean
|
2022-11-16 00:56:11 +09:00
|
|
|
}>()
|
2022-11-24 16:53:27 +09:00
|
|
|
|
|
|
|
cacheAccount(account)
|
2022-11-16 00:56:11 +09:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
2022-11-23 23:39:48 +09:00
|
|
|
<div flex justify-between hover:bg-active transition-100>
|
2022-11-29 02:24:39 +09:00
|
|
|
<AccountInfo
|
|
|
|
:account="account" hover p1 as="router-link"
|
|
|
|
:hover-card="hoverCard"
|
2022-12-01 06:38:18 +09:00
|
|
|
shrink
|
|
|
|
overflow-hidden
|
2022-12-01 02:15:18 +09:00
|
|
|
:to="getAccountRoute(account)"
|
2022-11-29 02:24:39 +09:00
|
|
|
/>
|
2022-12-01 06:38:18 +09:00
|
|
|
<div h-full p1 shrink-0>
|
2022-11-23 07:40:20 +09:00
|
|
|
<AccountFollowButton :account="account" />
|
2022-11-16 00:56:11 +09:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|