File size: 591 Bytes
e8a6c67 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | <script lang="ts">
import type { Tier } from '$lib/types/tier';
import TierBadge from '$lib/components/glyphs/TierBadge.svelte';
interface Props { n: string; label: string; tier?: Tier; title?: string; }
let { n, label, tier, title }: Props = $props();
</script>
<h3 class="briefing-section-head">
<span class="briefing-section-num">{n}</span>
<span class="briefing-section-label">{label}</span>
{#if tier}
<span class="briefing-section-tier"><TierBadge {tier} compact /></span>
{/if}
{#if title}
<span class="briefing-section-title">{title}</span>
{/if}
</h3>
|