domaino/packages/shared/src/blocks/TextBlock.svelte
2026-08-19 19:18:31 +02:00

11 lines
394 B
Svelte

<script lang="ts">
import { scrollReveal } from '$shared/scrollReveal';
let { data } = $props<{ data: { content?: string } }>();
</script>
<section use:scrollReveal class="reveal mx-auto max-w-3xl px-6 py-12 md:py-16">
<div class="prose-wellness text-lg text-fg-body/85">
{@html data.content || '<h2>Welcome</h2><p>Add warm, inviting copy in the CMS.</p>'}
</div>
</section>