2022-11-13 05:34:43 +00:00
|
|
|
<script setup lang="ts">
|
|
|
|
import type { Post } from '~/api-client/types'
|
|
|
|
|
|
|
|
const props = defineProps<{
|
|
|
|
post: Post
|
|
|
|
}>()
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
2022-11-13 16:05:32 +00:00
|
|
|
<NuxtLink flex flex-col gap-2 my-4 :to="`/${post.account.acct}/${post.id}`">
|
2022-11-13 05:34:43 +00:00
|
|
|
<AccountInfo :account="post.account" />
|
2022-11-13 16:05:32 +00:00
|
|
|
<PostBody :post="post" />
|
2022-11-13 05:34:43 +00:00
|
|
|
<PostActions :post="post" />
|
2022-11-13 16:05:32 +00:00
|
|
|
</NuxtLink>
|
2022-11-13 05:34:43 +00:00
|
|
|
</template>
|