mirror of
https://github.com/elk-zone/elk.git
synced 2024-07-08 23:36:49 +01:00
16 lines
353 B
Vue
16 lines
353 B
Vue
<script setup lang="ts">
|
|
import type { Post } from '~/api-client/types'
|
|
|
|
const props = defineProps<{
|
|
post: Post
|
|
}>()
|
|
</script>
|
|
|
|
<template>
|
|
<NuxtLink flex flex-col gap-2 my-4 :to="`/${post.account.acct}/${post.id}`">
|
|
<AccountInfo :account="post.account" />
|
|
<PostBody :post="post" />
|
|
<PostActions :post="post" />
|
|
</NuxtLink>
|
|
</template>
|