moved shared code to the shared package

This commit is contained in:
Jakub Dorfman 2026-08-19 19:18:31 +02:00
parent 478a5fd466
commit c3989114b8
20 changed files with 2206 additions and 0 deletions

View file

@ -0,0 +1,11 @@
<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>