Add initial shared code packages

This commit is contained in:
Gabriel20xx committed 2026-08-04 15:17:15 +02:00
commit 838a97d344
54 files changed
+6265

No files matched your search

@@ -0,0 +1,31 @@
<script lang="ts">
import type { Snippet } from 'svelte';
let {
actions,
children,
description = '',
title
}: {
actions?: Snippet;
children?: Snippet;
description?: string;
title: string;
} = $props();
</script>
<div class="sc-page-header">
<div>
<h1>{title}</h1>
{#if description}
<p>{description}</p>
{/if}
{@render children?.()}
</div>
{#if actions}
<div>
{@render actions()}
</div>
{/if}
</div>