]> git.r.bdr.sh - rbdr/forum/blob - src/components/forum/forum.svelte
ea9b2064e5ea8e73cd28c7054143a7eaa6b7192b
[rbdr/forum] / src / components / forum / forum.svelte
1 <script>
2 export let forum;
3
4 import { _ } from 'svelte-i18n';
5 import TopicSummary from '$/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>