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;
27 <nav title={$_('forum_list.title')}>
32 <ErrorBlock message={$_('forum_list.error.unavailable')} />
35 <ForumList {forums} />
43 grid-column: col-start 1;
45 border-right: 1px solid black;