2022-11-25 11:21:53 +03:00
|
|
|
<script setup lang="ts">
|
|
|
|
import type { Account } from 'masto'
|
|
|
|
|
|
|
|
defineProps<{
|
|
|
|
account: Account
|
|
|
|
}>()
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
2022-11-27 06:54:46 +03:00
|
|
|
<div rounded w-80 z-900 overflow-hidden p-4>
|
2022-11-25 11:21:53 +03:00
|
|
|
<AccountInfo :account="account" />
|
2022-11-26 23:41:18 +03:00
|
|
|
<div text-sm flex flex-row text-secondary mt-4>
|
2022-11-26 19:42:53 +03:00
|
|
|
<NuxtLink :to="`/${getFullHandle(account)}/`">
|
2022-11-26 00:57:40 +03:00
|
|
|
{{ formattedNumber(account.statusesCount) }} Posts
|
2022-11-25 11:21:53 +03:00
|
|
|
</NuxtLink>
|
|
|
|
<span flex-1 text-center> • </span>
|
2022-11-26 19:42:53 +03:00
|
|
|
<NuxtLink :to="`/${getFullHandle(account)}/following`">
|
2022-11-26 00:57:40 +03:00
|
|
|
{{ humanReadableNumber(account.followingCount) }} Following
|
2022-11-25 11:21:53 +03:00
|
|
|
</NuxtLink>
|
|
|
|
<span flex-1 text-center> • </span>
|
2022-11-26 19:42:53 +03:00
|
|
|
<NuxtLink :to="`/${getFullHandle(account)}/followers`">
|
2022-11-26 00:57:40 +03:00
|
|
|
{{ humanReadableNumber(account.followersCount) }} Followers
|
2022-11-25 11:21:53 +03:00
|
|
|
</NuxtLink>
|
|
|
|
</div>
|
2022-11-26 23:41:18 +03:00
|
|
|
<ContentRich text-4 text-secondary :content="account.note" :emojis="account.emojis" />
|
2022-11-25 11:21:53 +03:00
|
|
|
</div>
|
|
|
|
</template>
|