]> git.r.bdr.sh - rbdr/forum/blob - src/routes/$layout.svelte
Add jest for testing
[rbdr/forum] / src / routes / $layout.svelte
1 <script>
2 import '$/config/i18n';
3 import { isLoading } from 'svelte-i18n';
4 import ForumList from '$/components/forum_list/forum_list.svelte';
5 import Header from '$/components/header/header.svelte';
6 import Loader from '$/components/loader/loader.svelte';
7 import Footer from '$/components/footer/footer.svelte';
8 </script>
9
10 {#if $isLoading}
11 <Loader />
12 {:else}
13 <Header />
14 <main>
15 <slot />
16 </main>
17 <ForumList />
18 <Footer />
19 {/if}