1
0
mirror of https://github.com/elk-zone/elk synced 2024-12-29 05:57:59 +09:00
elk/components/account/AccountHoverCard.vue

21 lines
648 B
Vue
Raw Normal View History

<script setup lang="ts">
import type { Account } from 'masto'
defineProps<{
account: Account
}>()
</script>
<template>
2022-11-29 05:42:17 +09:00
<div flex="~ col gap2" rounded min-w-90 max-w-120 z-100 overflow-hidden p-4>
2022-11-28 18:51:15 +09:00
<div flex="~ gap2" items-center>
<NuxtLink :to="getAccountRoute(account)" flex-auto rounded-full hover:bg-active transition-100 pr5 mr-a>
2022-11-28 18:51:15 +09:00
<AccountInfo :account="account" />
</NuxtLink>
2022-11-28 18:51:15 +09:00
<AccountFollowButton text-sm :account="account" />
</div>
<ContentRich text-4 text-secondary :content="account.note" :emojis="account.emojis" />
2022-11-28 18:51:15 +09:00
<AccountPostsFollowers text-sm :account="account" />
</div>
</template>