chore: init
This commit is contained in:
commit
8424b7b98b
27 changed files with 7424 additions and 0 deletions
15
components/PostCard.vue
Normal file
15
components/PostCard.vue
Normal file
|
@ -0,0 +1,15 @@
|
|||
<script setup lang="ts">
|
||||
import type { Post } from '~/api-client/types'
|
||||
|
||||
const props = defineProps<{
|
||||
post: Post
|
||||
}>()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div flex flex-col gap-4 mb-5>
|
||||
<AccountInfo :account="post.account" />
|
||||
<div v-html="post.content" />
|
||||
<PostActions :post="post" />
|
||||
</div>
|
||||
</template>
|
Loading…
Add table
Add a link
Reference in a new issue