1
0
mirror of https://github.com/elk-zone/elk synced 2024-11-28 14:58:10 +09:00
elk/components/account/AccountCard.vue

19 lines
422 B
Vue
Raw Normal View History

<script setup lang="ts">
import type { Account } from 'masto'
const { account } = defineProps<{
account: Account
}>()
2022-11-24 16:53:27 +09:00
cacheAccount(account)
</script>
<template>
2022-11-23 23:39:48 +09:00
<div flex justify-between hover:bg-active transition-100>
<AccountInfo :account="account" hover p1 as="router-link" :to="getAccountPath(account)" />
2022-11-23 07:40:20 +09:00
<div h-full p1>
<AccountFollowButton :account="account" />
</div>
</div>
</template>