From e235aa6cf4914cbff6c72f19e0fcf6888da349f7 Mon Sep 17 00:00:00 2001
From: axtloss <axtlos@disroot.org>
Date: Tue, 20 Aug 2024 01:20:30 +0200
Subject: yayyy new website!!

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

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

diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
new file mode 100644
index 0000000..7772574
--- /dev/null
+++ b/src/routes/+layout.svelte
@@ -0,0 +1,31 @@
+<script lang="ts">
+  import Header from './Header.svelte';
+  import './styles.scss';
+</script>
+
+<div class="app">
+  <Header>
+    <main>
+      <slot />
+    </main>
+  </Header>
+</div>
+
+<style>
+  .app {
+    display: flex;
+    flex-direction: column;
+  }
+
+  main {
+    flex: 1;
+    display: flex;
+    flex-direction: column;
+    padding: 1rem;
+      padding-top: 4em;
+    width: 100%;
+    max-width: 64rem;
+    margin: 0 auto;
+    box-sizing: border-box;
+  }
+</style>
-- 
cgit v1.2.3

