moved shared code to the shared package
This commit is contained in:
parent
478a5fd466
commit
c3989114b8
20 changed files with 2206 additions and 0 deletions
11
packages/shared/src/blocks/TextBlock.svelte
Normal file
11
packages/shared/src/blocks/TextBlock.svelte
Normal 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue