Cleanup the file structure

This commit is contained in:
Astra 2025-04-20 13:50:26 +09:00
parent 57f7c5d6e5
commit 2a0228693b
Signed by: astra
SSH key fingerprint: SHA256:jQDNS75/33T59Ey4yAzrUPP/5YQaXEetsW8hwUae+ag
24 changed files with 394 additions and 810 deletions

View file

@ -1,19 +0,0 @@
<script lang="ts">
import PostComponent from "./lib/PostComponent.svelte";
import { fetchAllPosts, Post } from "./lib/pdsfetch";
const postsPromise = fetchAllPosts();
</script>
<main>
{#await postsPromise}
<p>Loading...</p>
{:then postsData}
{#each postsData as postObject}
<PostComponent post={postObject as Post} />
{/each}
{/await}
</main>
<style>
</style>