5 import { isLoading } from 'svelte-i18n';
6 import { _ } from 'svelte-i18n';
8 import { getForums } from '$lib/stores/forums';
10 import ErrorBlock from '$lib/components/error_block/error_block.svelte';
11 import ForumList from '$lib/components/forum_list/forum_list.svelte';
12 import Header from '$lib/components/header/header.svelte';
13 import Loader from '$lib/components/loader/loader.svelte';
14 import Footer from '$lib/components/footer/footer.svelte';
16 $: store = getForums();
17 $: forums = $store.data;
24 <main class="col-start-2 col-span-11">
28 class="col-start-1 row-start-2 border-r-2 border-2-black border-solid"
29 title={$_('forum_list.title')}
35 <ErrorBlock message={$_('forum_list.error.unavailable')} />
38 <ForumList {forums} />