2022-11-25 08:21:53 +00:00
|
|
|
<script setup lang="ts">
|
|
|
|
import type { Account } from 'masto'
|
|
|
|
|
|
|
|
defineProps<{
|
|
|
|
account: Account
|
|
|
|
}>()
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<div bg-base border="~ base" rounded w-80 z-900 overflow-hidden p-4 class="account-hover-card">
|
|
|
|
<AccountInfo :account="account" />
|
|
|
|
<div text-sm flex flex-row text-gray mt-4>
|
2022-11-25 17:50:03 +00:00
|
|
|
<NuxtLink :to="`/${getShortHandle(account)}/`">
|
2022-11-25 08:21:53 +00:00
|
|
|
{{ account.statusesCount }} Posts
|
|
|
|
</NuxtLink>
|
|
|
|
<span flex-1 text-center> • </span>
|
2022-11-25 17:50:03 +00:00
|
|
|
<NuxtLink :to="`/${getShortHandle(account)}/following`">
|
2022-11-25 08:21:53 +00:00
|
|
|
{{ account.followingCount }} Following
|
|
|
|
</NuxtLink>
|
|
|
|
<span flex-1 text-center> • </span>
|
2022-11-25 17:50:03 +00:00
|
|
|
<NuxtLink :to="`/${getShortHandle(account)}/followers`">
|
2022-11-25 08:21:53 +00:00
|
|
|
{{ account.followersCount }} Followers
|
|
|
|
</NuxtLink>
|
|
|
|
</div>
|
2022-11-25 16:08:30 +00:00
|
|
|
<ContentRich text-4 text-gray :content="account.note" :emojis="account.emojis" />
|
2022-11-25 08:21:53 +00:00
|
|
|
</div>
|
|
|
|
</template>
|