diff options
author | axtloss <axtlos@disroot.org> | 2024-08-20 01:20:30 +0200 |
---|---|---|
committer | axtloss <axtlos@disroot.org> | 2024-08-20 01:20:30 +0200 |
commit | e235aa6cf4914cbff6c72f19e0fcf6888da349f7 (patch) | |
tree | 0d488cadc02706aa2c7652b42e4f21342125c5f7 /src/routes/+layout.svelte | |
parent | 479414a93ae03a4463c16d54b39cd155b1e04683 (diff) | |
download | website-e235aa6cf4914cbff6c72f19e0fcf6888da349f7.tar.gz website-e235aa6cf4914cbff6c72f19e0fcf6888da349f7.tar.bz2 |
yayyy new website!!
Diffstat (limited to '')
-rw-r--r-- | src/routes/+layout.svelte | 31 |
1 files changed, 31 insertions, 0 deletions
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> |