feat: display status meta over card (#325)
This commit is contained in:
parent
22a82bca22
commit
8537f9e0ae
17 changed files with 115 additions and 82 deletions
|
@ -1,9 +1,10 @@
|
|||
<script setup lang="ts">
|
||||
import type { Account } from 'masto'
|
||||
|
||||
const { link = true } = defineProps<{
|
||||
const { link = true, avatar = true } = defineProps<{
|
||||
account: Account
|
||||
link?: boolean
|
||||
avatar?: boolean
|
||||
}>()
|
||||
</script>
|
||||
|
||||
|
@ -14,7 +15,7 @@ const { link = true } = defineProps<{
|
|||
:class="link ? 'text-link-rounded ml-0 pl-0' : ''"
|
||||
min-w-0 flex gap-1 items-center
|
||||
>
|
||||
<AccountAvatar :account="account" w-5 h-5 />
|
||||
<AccountAvatar v-if="avatar" :account="account" w-5 h-5 />
|
||||
<ContentRich ws-nowrap :content="getDisplayName(account, { rich: true })" :emojis="account.emojis" />
|
||||
</NuxtLink>
|
||||
</AccountHoverWrapper>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue