refactor: improve UI
This commit is contained in:
parent
1771291c08
commit
889b4b8a00
12 changed files with 54 additions and 39 deletions
13
components/account/AccountLink.vue
Normal file
13
components/account/AccountLink.vue
Normal file
|
@ -0,0 +1,13 @@
|
|||
<script setup lang="ts">
|
||||
import type { Account } from 'masto'
|
||||
|
||||
defineProps<{
|
||||
account: Account
|
||||
}>()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<NuxtLink :to="`/@${account.acct}`">
|
||||
{{ getDisplayName(account) }}
|
||||
</NuxtLink>
|
||||
</template>
|
Loading…
Add table
Add a link
Reference in a new issue