👽️ Updated legacy svelte components to runes
All checks were successful
Build and deploy website / build (push) Successful in 1m7s

This commit is contained in:
2025-02-15 14:34:47 +01:00
parent 7c5b228e59
commit 04f279dab3
8 changed files with 39 additions and 24 deletions

View File

@ -1,10 +1,16 @@
<script lang="ts">
export let title: string = ""
interface Props {
title?: string
children: any
}
const { title = "", children }: Props = $props()
</script>
<details class="collapse collapse-arrow bg-base-200">
<summary class="collapse-title text-xl font-medium">{title}</summary>
<div class="collapse-content">
<slot />
{@render children()}
</div>
</details>