feat: styling

This commit is contained in:
Anthony Fu 2022-11-14 00:05:32 +08:00
parent 8424b7b98b
commit 4adab40932
17 changed files with 330 additions and 36 deletions

View file

@ -1,12 +1,12 @@
<script setup lang="ts">
const client = useClient()
const posts = await client.getPublicTimeline()
const { data: posts } = await useAsyncData(() => client.getPublicTimeline())
</script>
<template>
<div w-150>
<template v-for="post in posts" :key="post.id">
<PostCard :post="post" />
<PostCard :post="post" border="t gray/10" pt-4 />
</template>
</div>
</template>