chore: account link

This commit is contained in:
Anthony Fu 2022-11-21 18:16:04 +08:00
parent 2267ca6122
commit 89845517e3
2 changed files with 6 additions and 5 deletions

View file

@ -7,8 +7,8 @@ defineProps<{
</script>
<template>
<a :href="`/@${account.acct}`" flex gap-2 font-bold items-center>
<NuxtLink :href="`/@${account.acct}`" flex gap-2 font-bold items-center>
<img :src="account.avatar" class="w-5 h-5 rounded">
<CommonRichContent :content="account.displayName" />
</a>
</NuxtLink>
</template>