]> git.r.bdr.sh - rbdr/forum/blobdiff - src/routes/__layout.svelte
Apply formatting
[rbdr/forum] / src / routes / __layout.svelte
index b856e214daa128a99772412475154de333fefff4..62881f25defb19d3752c9152263788844e2e854d 100644 (file)
@@ -1,5 +1,5 @@
-<script>
-  import "../app.css";
+<script lang="ts">
+       import '../app.css';
        import '$lib/i18n';
 
        import { isLoading } from 'svelte-i18n';
        <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>
+       <nav title={$_('forum_list.title')}>
+               {#if $store.loading}
+                       <Loader />
+               {/if}
+               {#if $store.error}
+                       <ErrorBlock message={$_('forum_list.error.unavailable')} />
+               {/if}
+               {#if forums}
+                       <ForumList {forums} />
+               {/if}
+       </nav>
        <Footer />
 {/if}