mirror of
https://github.com/elk-zone/elk.git
synced 2024-09-06 20:29:08 +01:00
24 lines
490 B
Vue
24 lines
490 B
Vue
<script setup lang="ts">
|
|
import type { Account } from 'masto'
|
|
|
|
const { account } = defineProps<{
|
|
account: Account
|
|
hoverCard?: boolean
|
|
}>()
|
|
|
|
cacheAccount(account)
|
|
</script>
|
|
|
|
<template>
|
|
<div flex justify-between hover:bg-active transition-100>
|
|
<AccountInfo
|
|
:account="account" hover p1 as="router-link"
|
|
:hover-card="hoverCard"
|
|
:to="getAccountPath(account)"
|
|
/>
|
|
<div h-full p1>
|
|
<AccountFollowButton :account="account" />
|
|
</div>
|
|
</div>
|
|
</template>
|