]> git.r.bdr.sh - rbdr/forum/blob - src/lib/components/forum/forum.svelte
b8864288c0a83feb47aa298924402a55ef369e49
[rbdr/forum] / src / lib / components / forum / forum.svelte
1 <script lang="ts">
2 export let forum;
3
4 import { _ } from 'svelte-i18n';
5 import TopicSummary from '$lib/components/topic_summary/topic_summary.svelte';
6 </script>
7
8 <h1>{forum.glyph} {$_(forum.label)}</h1>
9 <ul>
10 {#each forum.topics as topic}
11 <TopicSummary {topic} />
12 {/each}
13 </ul>