feat: improve account links feedback
This commit is contained in:
parent
47ad3fe8bf
commit
2fb5412a08
8 changed files with 16 additions and 9 deletions
|
@ -8,8 +8,12 @@ const { link = true } = defineProps<{
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<NuxtLink :to="link ? getAccountPath(account) : undefined" min-w-0 flex gap-1 items-center>
|
||||
<NuxtLink
|
||||
:to="link ? getAccountPath(account) : undefined"
|
||||
:class="link ? 'text-link-rounded' : ''"
|
||||
min-w-0 flex gap-1 items-center
|
||||
>
|
||||
<AccountAvatar :account="account" w-5 h-5 />
|
||||
<ContentRich hover:underline :content="getDisplayName(account, { rich: true })" :emojis="account.emojis" />
|
||||
<ContentRich :content="getDisplayName(account, { rich: true })" :emojis="account.emojis" />
|
||||
</NuxtLink>
|
||||
</template>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue