summaryrefslogtreecommitdiff
path: root/src/routes/+layout.svelte
diff options
context:
space:
mode:
authoraxtloss <axtlos@disroot.org>2024-12-24 19:25:48 +0100
committeraxtloss <axtlos@disroot.org>2024-12-24 20:04:59 +0100
commite46cb88d3763a64e97557b2db2f9b74ae7627555 (patch)
tree9c00ad1e59f4fdc36e050d9329eb7cfdeb0588d2 /src/routes/+layout.svelte
parentc19fb8828e1dfdd4ce548269ff7cf08de96adf95 (diff)
downloadwebsite-e46cb88d3763a64e97557b2db2f9b74ae7627555.tar.gz
website-e46cb88d3763a64e97557b2db2f9b74ae7627555.tar.bz2
new website dropped
Diffstat (limited to '')
-rw-r--r--src/routes/+layout.svelte37
1 files changed, 0 insertions, 37 deletions
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
deleted file mode 100644
index ad34a2e..0000000
--- a/src/routes/+layout.svelte
+++ /dev/null
@@ -1,37 +0,0 @@
-<script lang="ts">
- import Header from './Header.svelte';
- import './styles.scss';
- import { onMount } from "svelte";
-
- onMount(async () => {
- if( navigator.brave && await navigator.brave.isBrave() || !1 ) {
- window.location.href="/not-very-brave.html"
- }
- });
-</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>