]>
Commit | Line | Data |
---|---|---|
a7cf03c1 | 1 | <script lang="ts"> |
be1ce532 RBR |
2 | import type { Forum } from '$lib/data/types'; |
3 | ||
4 | export let forum: Forum; | |
c1bc5993 | 5 | |
58f7d521 | 6 | import { _ } from 'svelte-i18n'; |
a7cf03c1 | 7 | import TopicSummary from '$lib/components/topic_summary/topic_summary.svelte'; |
c1bc5993 RBR |
8 | </script> |
9 | ||
852ee620 RBR |
10 | <h1 class="py-4 font-bold text-3xl">{forum.glyph} {$_(forum.label)}</h1> |
11 | <ul class="list-disc list-inside pl-2"> | |
6ccc6f60 RBR |
12 | {#if forum.topics} |
13 | {#each forum.topics as topic} | |
14 | <TopicSummary {topic} /> | |
15 | {/each} | |
16 | {/if} | |
58f7d521 | 17 | </ul> |