feat: human readable numbers for counts
This commit is contained in:
parent
64e052d317
commit
94cd7c72f6
3 changed files with 21 additions and 6 deletions
|
@ -11,15 +11,15 @@ defineProps<{
|
|||
<AccountInfo :account="account" />
|
||||
<div text-sm flex flex-row text-gray mt-4>
|
||||
<NuxtLink :to="`/${getShortHandle(account)}/`">
|
||||
{{ account.statusesCount }} Posts
|
||||
{{ formattedNumber(account.statusesCount) }} Posts
|
||||
</NuxtLink>
|
||||
<span flex-1 text-center> • </span>
|
||||
<NuxtLink :to="`/${getShortHandle(account)}/following`">
|
||||
{{ account.followingCount }} Following
|
||||
{{ humanReadableNumber(account.followingCount) }} Following
|
||||
</NuxtLink>
|
||||
<span flex-1 text-center> • </span>
|
||||
<NuxtLink :to="`/${getShortHandle(account)}/followers`">
|
||||
{{ account.followersCount }} Followers
|
||||
{{ humanReadableNumber(account.followersCount) }} Followers
|
||||
</NuxtLink>
|
||||
</div>
|
||||
<ContentRich text-4 text-gray :content="account.note" :emojis="account.emojis" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue