2024-04-22 09:38:51 +02:00
|
|
|
<template>
|
2024-04-25 08:56:01 +02:00
|
|
|
<a :href="`/@${account.acct}`"
|
|
|
|
|
class="shrink break-all rounded bg-pink-700/80 text-pink-200 px-2 py-1 not-prose font-semibold cursor-pointer [&:not(:last-child)]:mr-1 duration-200 hover:bg-pink-600/30">
|
2024-04-22 09:38:51 +02:00
|
|
|
<img class="h-[1em] w-[1em] rounded ring-1 ring-white/5 inline align-middle mb-1 mr-1" :src="account.avatar"
|
|
|
|
|
alt="" />
|
|
|
|
|
{{ account.display_name }}
|
2024-04-25 08:56:01 +02:00
|
|
|
</a>
|
2024-04-22 09:38:51 +02:00
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script lang="ts" setup>
|
2024-04-25 08:56:01 +02:00
|
|
|
import type { Account } from "~/types/mastodon/account";
|
2024-04-22 09:38:51 +02:00
|
|
|
|
|
|
|
|
const props = defineProps<{
|
|
|
|
|
account: Account;
|
|
|
|
|
}>();
|
|
|
|
|
</script>
|