feat: basic conversations (#15)
This commit is contained in:
parent
4fc6e405e0
commit
1aa81a3a0a
7 changed files with 82 additions and 13 deletions
17
components/conversation/ConversationCard.vue
Normal file
17
components/conversation/ConversationCard.vue
Normal file
|
@ -0,0 +1,17 @@
|
|||
<script setup lang="ts">
|
||||
import type { Conversation } from 'masto'
|
||||
|
||||
const props = defineProps<{
|
||||
conversation: Conversation
|
||||
}>()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div flex flex-col gap-2>
|
||||
<div flex gap-2>
|
||||
With
|
||||
<AccountInlineInfo v-for="account in conversation.accounts" :key="account.id" :account="account" />
|
||||
</div>
|
||||
<StatusCard v-if="conversation.lastStatus" :status="conversation.lastStatus" :actions="false" />
|
||||
</div>
|
||||
</template>
|
Loading…
Add table
Add a link
Reference in a new issue