forked from coracle/flotilla
18 lines
475 B
Svelte
18 lines
475 B
Svelte
<script lang="ts">
|
|
import type {ComponentProps} from "svelte"
|
|
import {getTagValue} from "@welshman/util"
|
|
import ContentMinimal from "@app/components/ContentMinimal.svelte"
|
|
import Text from "@lib/components2/Text.svelte"
|
|
|
|
const props: ComponentProps<typeof ContentMinimal> = $props()
|
|
|
|
const title = getTagValue("title", props.event.tags)
|
|
</script>
|
|
|
|
{#if title}
|
|
<Text size="sm">{title}</Text>
|
|
{/if}
|
|
{#if props.event.content}
|
|
<ContentMinimal {...props} />
|
|
{/if}
|