1
0
elk/components/account/AccountCard.vue
2022-11-27 20:40:16 +01:00

19 lines
422 B
Vue

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