]>
Commit | Line | Data |
---|---|---|
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} |