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/lib/components/Header.svelte | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 src/lib/components/Header.svelte

(limited to 'src/lib/components/Header.svelte')

diff --git a/src/lib/components/Header.svelte b/src/lib/components/Header.svelte
new file mode 100644
index 0000000..804497e
--- /dev/null
+++ b/src/lib/components/Header.svelte
@@ -0,0 +1,27 @@
+<script lang="ts">
+	import ThemeToggle from "./ThemeToggle.svelte";
+
+	interface Props {
+		title?: string;
+		description?: string;
+	}
+
+	let { title = "My Blog", description = "Super. Good. Code." }: Props =
+		$props();
+</script>
+
+<div class="wrapper-masthead">
+	<header class="container masthead">
+		<div class="site-info">
+			<h1><a href="/">{title}</a></h1>
+			<p class="site-description">{description}</p>
+		</div>
+
+		<nav>
+			<a href="/">Blog</a>
+			<a href="/apps">Apps</a>
+			<a href="/about">About</a>
+			<ThemeToggle />
+		</nav>
+	</header>
+</div>
-- 
cgit v1.2.3

