From 010f307346e525ac2e4239a0549d2c1a4d6d102b Mon Sep 17 00:00:00 2001
From: Ruben Beltran del Rio <ruben@unlimited.pizza>
Date: Mon, 28 Jun 2021 23:38:23 +0200
Subject: Update sveltekit version

---
 src/routes/$layout.svelte | 46 ----------------------------------------------
 1 file changed, 46 deletions(-)
 delete mode 100644 src/routes/$layout.svelte

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

diff --git a/src/routes/$layout.svelte b/src/routes/$layout.svelte
deleted file mode 100644
index 234d26a..0000000
--- a/src/routes/$layout.svelte
+++ /dev/null
@@ -1,46 +0,0 @@
-<script>
-	import '$/config/i18n';
-
-	import { isLoading } from 'svelte-i18n';
-	import { _ } from 'svelte-i18n';
-
-	import { getForums } from '$/stores/forums';
-
-	import ErrorBlock from '$/components/error_block/error_block.svelte';
-	import ForumList from '$/components/forum_list/forum_list.svelte';
-	import Header from '$/components/header/header.svelte';
-	import Loader from '$/components/loader/loader.svelte';
-	import Footer from '$/components/footer/footer.svelte';
-
-	$: store = getForums();
-	$: forums = $store.data;
-</script>
-
-{#if $isLoading}
-	<Loader />
-{:else}
-	<Header />
-	<main>
-		<slot />
-	</main>
-  <nav title={$_('forum_list.title')}>
-    {#if $store.loading}
-      <Loader />
-    {/if}
-    {#if $store.error}
-      <ErrorBlock message={$_('forum_list.error.unavailable')} />
-    {/if}
-    {#if forums}
-      <ForumList forums={forums} />
-    {/if}
-  </nav>
-	<Footer />
-{/if}
-
-<style>
-	nav {
-		grid-column: col-start 1;
-		grid-row: 2;
-		border-right: 1px solid black;
-	}
-</style>
-- 
cgit 

