2 import { _ } from 'svelte-i18n';
3 import { forums } from '$/stores/forums';
4 import Loader from '$/components/loader/loader.svelte';
5 import ErrorBlock from '$/components/error_block/error_block.svelte';
8 <nav title="{$_('forum_list.title')}">
13 <ErrorBlock message={$_('forum_list.error.unavailable')} />
16 {#each $forums.data as forum}
18 <a href="/f/{forum.id}">
19 <span aria-hidden="true" class="navigation-glyph {forum.glyph}">{forum.glyph}</span>
20 <span class="navigation-label">{$_(forum.label)}</span>
29 grid-column: col-start 1;
31 border-right: 1px solid black;
54 text-decoration: none;