chore: init

This commit is contained in:
Anthony Fu 2022-11-13 13:34:43 +08:00
commit 8424b7b98b
27 changed files with 7424 additions and 0 deletions

15
components/PostCard.vue Normal file
View 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>