feat(pages): add /my-stuff/stories

This commit is contained in:
parent ff0787f75e
commit 294b1b0602
Signed by: tablet
GPG Key ID: 924A5F6AF051E87C

@ -0,0 +1,13 @@
<script setup lang="ts">
import SingleStory from "~/components/listings/singleStory.vue";
import { IStory } from "@models/stories";
const { data: stories } = await useApiFetch<{ stories: IStory[]; total: number }>("/user/me/stories");
</script>
<template>
<a-list :grid="{ gutter: 6, lg: 2, sm: 1 }" :data-source="stories.stories">
<template #renderItem="{ item }">
<single-story :story="item" show-actions />
</template>
</a-list>
</template>