From 9b2c63d92ff77ebce0f90a7be05437504422bf45 Mon Sep 17 00:00:00 2001
From: ivarlovlie <git@ivarlovlie.no>
Date: Sat, 11 Feb 2023 23:37:12 +0100
Subject: feat: Render localized content from sanity

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

(limited to 'src/components/header.svelte')

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

