ui: hover card ui

This commit is contained in:
Anthony Fu 2022-11-28 17:51:15 +08:00
parent 3b92b27cc8
commit 0843878a42
5 changed files with 29 additions and 38 deletions

View file

@ -115,17 +115,7 @@ watchEffect(() => {
<ContentRich text-sm filter-saturate-0 :content="field.value" />
</div>
</div>
<div flex gap-5>
<NuxtLink :to="getAccountPath(account)" exact-active-class="text-primary">
<span font-bold>{{ formattedNumber(account.statusesCount) }}</span> <span text-secondary>Posts</span>
</NuxtLink>
<NuxtLink :to="`${getAccountPath(account)}/following`" exact-active-class="text-primary">
<span font-bold>{{ humanReadableNumber(account.followingCount) }}</span> <span text-secondary>Following</span>
</NuxtLink>
<NuxtLink :to="`${getAccountPath(account)}/followers`" exact-active-class="text-primary">
<span font-bold>{{ humanReadableNumber(account.followersCount) }}</span> <span text-secondary>Followers</span>
</NuxtLink>
</div>
<AccountPostsFollowers :account="account" />
</div>
</div>
</template>