Migrate more stuff

This commit is contained in:
Jon Staab
2025-02-03 16:37:14 -08:00
parent 0f705c459a
commit 8d3433b167
150 changed files with 2001 additions and 1205 deletions

View File

@@ -1,10 +1,21 @@
<div class="relative z-feature mx-2 rounded-xl pt-4 {$$props.class}">
<script lang="ts">
interface Props {
icon?: import("svelte").Snippet
title?: import("svelte").Snippet
action?: import("svelte").Snippet
[key: string]: any
}
let {...props}: Props = $props()
</script>
<div class="relative z-feature mx-2 rounded-xl pt-4 {props.class}">
<div
class="flex min-h-12 items-center justify-between gap-4 rounded-xl bg-base-100 px-4 shadow-xl">
<div class="flex items-center gap-4">
<slot name="icon" />
<slot name="title" />
{@render props.icon?.()}
{@render props.title?.()}
</div>
<slot name="action" />
{@render props.action?.()}
</div>
</div>