Add new claymorphic component library

This commit is contained in:
2026-06-23 17:44:30 +00:00
parent fd4e7a9f2d
commit 949359dca5
291 changed files with 6460 additions and 2581 deletions
+5 -3
View File
@@ -2,17 +2,19 @@
import type {ComponentProps} from "svelte"
import {getTagValue} from "@welshman/util"
import Content from "@app/components/Content.svelte"
import Col from "@lib/components2/Col.svelte"
import Text from "@lib/components2/Text.svelte"
const props: ComponentProps<typeof Content> = $props()
const title = getTagValue("title", props.event.tags)
</script>
<div class="flex flex-col gap-2">
<Col gap={2}>
{#if title}
<p class="text-xl">{title}</p>
<Text size="xl">{title}</Text>
{/if}
{#if props.event.content}
<Content {...props} />
{/if}
</div>
</Col>