From 35556dca71eafdac4eb5d2fe781ba39687d0b058 Mon Sep 17 00:00:00 2001
From: Berke Güzel <wenekar1@gmail.com>
Date: Thu, 29 Jan 2026 23:56:21 +0300
Subject: initial commit

---
 src/routes/+page.svelte | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 src/routes/+page.svelte

(limited to 'src/routes/+page.svelte')

diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte
new file mode 100644
index 0000000..e304a68
--- /dev/null
+++ b/src/routes/+page.svelte
@@ -0,0 +1,24 @@
+<script lang="ts">
+	import PostCard from "$lib/components/PostCard.svelte";
+	import { getPosts } from "$lib/utils/posts";
+
+	const posts = getPosts();
+</script>
+
+<svelte:head>
+	<title>wenekar sucks at programming</title>
+	<meta
+		name="description"
+		content="A personal blog built with SvelteKit and MDsveX"
+	/>
+</svelte:head>
+
+<section>
+	{#if posts.length === 0}
+		<p>No posts.</p>
+	{:else}
+		{#each posts as post}
+			<PostCard {post} />
+		{/each}
+	{/if}
+</section>
-- 
cgit v1.2.3

