]> git.r.bdr.sh - rbdr/forum/blame - src/lib/components/tag/tag.svelte
Start migration to supabase
[rbdr/forum] / src / lib / components / tag / tag.svelte
CommitLineData
a7cf03c1 1<script lang="ts">
be1ce532
RBR
2 import type { Tag } from '$lib/data/types';
3
4 export let tag: Tag;
cbe4a5fc 5
58f7d521 6 import { _ } from 'svelte-i18n';
a7cf03c1 7 import TopicSummary from '$lib/components/topic_summary/topic_summary.svelte';
cbe4a5fc
RBR
8</script>
9
58f7d521
RBR
10<h1>{$_('tag.title')}: {tag.id}</h1>
11<ul>
12 {#each tag.topics as topic}
13 <TopicSummary {topic} />
14 {/each}
15</ul>