mirror of
https://github.com/elk-zone/elk.git
synced 2025-03-09 01:37:27 +03:00
15 lines
353 B
Vue
15 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>
|