1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-05 08:29:57 +00:00
elk/components/account/AccountLink.vue

14 lines
298 B
Vue
Raw Normal View History

2022-11-23 14:39:48 +00:00
<script setup lang="ts">
import type { Account } from 'masto'
defineProps<{
account: Account
}>()
</script>
<template>
<NuxtLink :to="getAccountPath(account)">
<ContentRich font-bold :content="getDisplayName(account, { rich: true })" :emojis="account.emojis" />
2022-11-23 14:39:48 +00:00
</NuxtLink>
</template>