2025-10-06 18:23:19 +00:00
|
|
|
<script lang="ts">
|
|
|
|
|
import type {ComponentProps} from "svelte"
|
2026-07-28 16:16:26 +00:00
|
|
|
import {tagSpec, tagValue} from "@welshman/util"
|
2025-10-06 18:23:19 +00:00
|
|
|
import ContentMinimal from "@app/components/ContentMinimal.svelte"
|
|
|
|
|
|
|
|
|
|
const props: ComponentProps<typeof ContentMinimal> = $props()
|
|
|
|
|
|
2026-07-28 16:16:26 +00:00
|
|
|
const title = tagValue(tagSpec("title"), props.event.tags)
|
2025-10-06 18:23:19 +00:00
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
{#if title}
|
|
|
|
|
<span class="text-sm">{title}</span>
|
|
|
|
|
{/if}
|
|
|
|
|
{#if props.event.content}
|
|
|
|
|
<ContentMinimal {...props} />
|
|
|
|
|
{/if}
|