1
0
elk/components/account/AccountCard.vue
2022-11-30 18:15:18 +01:00

24 lines
491 B
Vue

<script setup lang="ts">
import type { Account } from 'masto'
const { account } = defineProps<{
account: Account
hoverCard?: boolean
}>()
cacheAccount(account)
</script>
<template>
<div flex justify-between hover:bg-active transition-100>
<AccountInfo
:account="account" hover p1 as="router-link"
:hover-card="hoverCard"
:to="getAccountRoute(account)"
/>
<div h-full p1>
<AccountFollowButton :account="account" />
</div>
</div>
</template>