2022-11-15 18:56:11 +03:00
|
|
|
<script setup lang="ts">
|
|
|
|
import type { Account } from 'masto'
|
|
|
|
|
2022-11-22 16:03:36 +03:00
|
|
|
const { account } = defineProps<{
|
2022-11-15 18:56:11 +03:00
|
|
|
account: Account
|
2022-11-28 20:24:39 +03:00
|
|
|
hoverCard?: boolean
|
2022-11-15 18:56:11 +03:00
|
|
|
}>()
|
2022-11-24 10:53:27 +03:00
|
|
|
|
|
|
|
cacheAccount(account)
|
2022-11-15 18:56:11 +03:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
2022-11-23 17:39:48 +03:00
|
|
|
<div flex justify-between hover:bg-active transition-100>
|
2022-11-28 20:24:39 +03:00
|
|
|
<AccountInfo
|
|
|
|
:account="account" hover p1 as="router-link"
|
|
|
|
:hover-card="hoverCard"
|
|
|
|
:to="getAccountPath(account)"
|
|
|
|
/>
|
2022-11-23 01:40:20 +03:00
|
|
|
<div h-full p1>
|
|
|
|
<AccountFollowButton :account="account" />
|
2022-11-15 18:56:11 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|