2022-11-13 14:34:43 +09:00
|
|
|
<script setup lang="ts">
|
2022-11-14 11:20:07 +09:00
|
|
|
import type { Account } from 'masto'
|
2022-11-13 14:34:43 +09:00
|
|
|
|
2022-11-14 11:20:07 +09:00
|
|
|
defineProps<{
|
2022-11-13 14:34:43 +09:00
|
|
|
account: Account
|
|
|
|
}>()
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<div flex gap-2>
|
|
|
|
<div p1>
|
2022-11-14 11:20:07 +09:00
|
|
|
<NuxtLink :to="`/@${account.acct}`">
|
|
|
|
<img :src="account.avatar" rounded w-10 h-10>
|
|
|
|
</NuxtLink>
|
2022-11-13 14:34:43 +09:00
|
|
|
</div>
|
2022-11-14 11:20:07 +09:00
|
|
|
<NuxtLink flex flex-col :to="`/@${account.acct}`">
|
2022-11-13 14:34:43 +09:00
|
|
|
<h4 font-bold>
|
2022-11-14 11:20:07 +09:00
|
|
|
{{ account.displayName }}
|
2022-11-13 14:34:43 +09:00
|
|
|
</h4>
|
|
|
|
<p op50>
|
|
|
|
@{{ account.acct }}
|
|
|
|
</p>
|
2022-11-14 11:20:07 +09:00
|
|
|
</NuxtLink>
|
2022-11-14 11:56:48 +09:00
|
|
|
<slot />
|
2022-11-13 14:34:43 +09:00
|
|
|
</div>
|
|
|
|
</template>
|