mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-26 19:27:03 +03:00
20 lines
634 B
Vue
20 lines
634 B
Vue
<script setup lang="ts">
|
|
import type { Account } from 'masto'
|
|
|
|
defineProps<{
|
|
account: Account
|
|
}>()
|
|
</script>
|
|
|
|
<template>
|
|
<div flex="~ col gap2" rounded w-100 z-900 overflow-hidden p-4>
|
|
<div flex="~ gap2" items-center>
|
|
<NuxtLink :to="getAccountPath(account)" flex-auto rounded-full hover:bg-active transition-100 pr5 mr-a>
|
|
<AccountInfo :account="account" />
|
|
</NuxtLink>
|
|
<AccountFollowButton text-sm :account="account" />
|
|
</div>
|
|
<ContentRich text-4 text-secondary :content="account.note" :emojis="account.emojis" />
|
|
<AccountPostsFollowers text-sm :account="account" />
|
|
</div>
|
|
</template>
|