]> git.r.bdr.sh - rbdr/forum/blame - src/lib/components/tag/tag.svelte
Don't remember what this WIP was about
[rbdr/forum] / src / lib / components / tag / tag.svelte
CommitLineData
a7cf03c1 1<script lang="ts">
3d65cb04 2 import type { Topic } from '$lib/data/types';
be1ce532 3
3d65cb04 4 export let tag: string;
852ee620 5 export let topics: Topic[];
cbe4a5fc 6
58f7d521 7 import { _ } from 'svelte-i18n';
a7cf03c1 8 import TopicSummary from '$lib/components/topic_summary/topic_summary.svelte';
cbe4a5fc
RBR
9</script>
10
852ee620
RBR
11<h1 class="py-4 font-bold text-3xl">{$_('tag.title')}: {tag}</h1>
12<ul class="list-disc list-inside pl-2">
13 {#each topics as topic}
58f7d521
RBR
14 <TopicSummary {topic} />
15 {/each}
16</ul>