1
0
mirror of https://github.com/elk-zone/elk synced 2024-12-01 08:18:07 +09:00
elk/components/account/AccountInlineInfo.vue

16 lines
429 B
Vue

<script setup lang="ts">
import type { Account } from 'masto'
const { link = true } = defineProps<{
account: Account
link?: boolean
}>()
</script>
<template>
<NuxtLink :to="link ? getAccountPath(account) : undefined" min-w-0 flex gap-1 items-center>
<AccountAvatar :account="account" w-5 h-5 />
<ContentRich hover:underline :content="getDisplayName(account)" :emojis="account.emojis" />
</NuxtLink>
</template>