From 69d345b334c7a3fecdb0cd5f440fabd83a755309 Mon Sep 17 00:00:00 2001
From: ivarlovlie <git@ivarlovlie.no>
Date: Sat, 18 Feb 2023 15:25:29 +0100
Subject: .

---
 src/routes/parts/header.svelte | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 src/routes/parts/header.svelte

(limited to 'src/routes/parts/header.svelte')

diff --git a/src/routes/parts/header.svelte b/src/routes/parts/header.svelte
new file mode 100644
index 0000000..55f1da0
--- /dev/null
+++ b/src/routes/parts/header.svelte
@@ -0,0 +1,12 @@
+<script lang="ts">
+	import { locale } from "$i18n/i18n-svelte";
+	import LocaleSwitcher from "$components/locale-switcher.svelte";
+</script>
+
+<header>
+	<a href="/{$locale}">
+		<h1>Auroraklinikken</h1>
+	</a>
+
+	<LocaleSwitcher />
+</header>
-- 
cgit v1.3

