feat: styling
This commit is contained in:
parent
8424b7b98b
commit
4adab40932
17 changed files with 330 additions and 36 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue