flotilla/src/app/components/NoteContentBoard.svelte
2026-07-29 15:52:13 -07:00

17 lines
524 B
Svelte

<script lang="ts">
import type {ComponentProps} from "svelte"
import {Pinboard} from "@welshman/domain"
import Content from "@app/components/Content.svelte"
import {reader} from "@app/core"
const props: ComponentProps<typeof Content> = $props()
const board = reader(Pinboard)(props.event)
</script>
<div class="flex flex-col">
<strong class="text-lg">{board?.title() || "Untitled shelf"}</strong>
{#if board?.description()}
<span class="text-sm opacity-70">{board.description()}</span>
{/if}
</div>