ui: hover card ui
This commit is contained in:
parent
3b92b27cc8
commit
0843878a42
5 changed files with 29 additions and 38 deletions
|
@ -7,21 +7,14 @@ defineProps<{
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<div rounded w-80 z-900 overflow-hidden p-4>
|
||||
<AccountInfo :account="account" />
|
||||
<div text-sm flex flex-row text-secondary mt-4>
|
||||
<NuxtLink :to="`/${getFullHandle(account)}/`">
|
||||
{{ formattedNumber(account.statusesCount) }} Posts
|
||||
</NuxtLink>
|
||||
<span flex-1 text-center> • </span>
|
||||
<NuxtLink :to="`/${getFullHandle(account)}/following`">
|
||||
{{ humanReadableNumber(account.followingCount) }} Following
|
||||
</NuxtLink>
|
||||
<span flex-1 text-center> • </span>
|
||||
<NuxtLink :to="`/${getFullHandle(account)}/followers`">
|
||||
{{ humanReadableNumber(account.followersCount) }} Followers
|
||||
<div flex="~ col gap2" rounded w-100 z-900 overflow-hidden p-4>
|
||||
<div flex="~ gap2" items-center>
|
||||
<NuxtLink :to="getAccountPath(account)" flex-auto rounded-full hover:bg-active transition-100 pr5 mr-a>
|
||||
<AccountInfo :account="account" />
|
||||
</NuxtLink>
|
||||
<AccountFollowButton text-sm :account="account" />
|
||||
</div>
|
||||
<ContentRich text-4 text-secondary :content="account.note" :emojis="account.emojis" />
|
||||
<AccountPostsFollowers text-sm :account="account" />
|
||||
</div>
|
||||
</template>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue