elk/components/account/AccountCard.vue

19 lines
375 B
Vue
Raw Normal View History

<script setup lang="ts">
import type { Account } from 'masto'
const { account } = defineProps<{
account: Account
}>()
2022-11-24 10:53:27 +03:00
cacheAccount(account)
</script>
<template>
2022-11-23 17:39:48 +03:00
<div flex justify-between hover:bg-active transition-100>
2022-11-25 13:54:49 +03:00
<AccountInfo :account="account" hover p1 />
2022-11-23 01:40:20 +03:00
<div h-full p1>
<AccountFollowButton :account="account" />
</div>
</div>
</template>