2023-01-05 22:50:14 +00:00
|
|
|
<script setup lang="ts">
|
2023-01-08 06:21:09 +00:00
|
|
|
import type { mastodon } from 'masto'
|
2023-01-05 22:50:14 +00:00
|
|
|
|
|
|
|
defineProps<{
|
2023-01-08 06:21:09 +00:00
|
|
|
account: mastodon.v1.Account
|
2023-01-05 22:50:14 +00:00
|
|
|
}>()
|
|
|
|
</script>
|
|
|
|
|
2023-07-02 18:55:18 +01:00
|
|
|
<!-- TODO: reuse AccountInfo.vue -->
|
|
|
|
|
2023-01-05 22:50:14 +00:00
|
|
|
<template>
|
2023-01-07 14:55:10 +00:00
|
|
|
<div flex gap-2 items-center>
|
2023-01-05 22:50:14 +00:00
|
|
|
<AccountAvatar w-10 h-10 :account="account" shrink-0 />
|
|
|
|
<div flex="~ col gap1" shrink h-full overflow-hidden leading-none>
|
|
|
|
<div flex="~" gap-2>
|
2023-01-06 19:12:00 +00:00
|
|
|
<AccountDisplayName :account="account" line-clamp-1 ws-pre-wrap break-all text-base />
|
2023-07-21 13:50:36 +01:00
|
|
|
<AccountLockIndicator v-if="account.locked" text-xs />
|
2023-01-08 14:08:11 +00:00
|
|
|
<AccountBotIndicator v-if="account.bot" text-xs />
|
2023-01-05 22:50:14 +00:00
|
|
|
</div>
|
|
|
|
<AccountHandle text-sm :account="account" text-secondary-light />
|
|
|
|
</div>
|
2023-01-07 14:55:10 +00:00
|
|
|
</div>
|
2023-01-05 22:50:14 +00:00
|
|
|
</template>
|