chore: init
This commit is contained in:
commit
8424b7b98b
27 changed files with 7424 additions and 0 deletions
23
components/AccountInfo.vue
Normal file
23
components/AccountInfo.vue
Normal file
|
@ -0,0 +1,23 @@
|
|||
<script setup lang="ts">
|
||||
import type { Account } from '~/api-client/types'
|
||||
|
||||
const props = defineProps<{
|
||||
account: Account
|
||||
}>()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div flex gap-2>
|
||||
<div p1>
|
||||
<img :src="account.avatar" rounded w-10 h-10>
|
||||
</div>
|
||||
<div flex flex-col>
|
||||
<h4 font-bold>
|
||||
{{ account.display_name }}
|
||||
</h4>
|
||||
<p op50>
|
||||
@{{ account.acct }}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
Loading…
Add table
Add a link
Reference in a new issue