migrate web to svelte 5

This commit is contained in:
Rotimi Best
2025-12-25 05:37:21 +00:00
parent 50d6ee3111
commit 334c67f22a
63 changed files with 621 additions and 479 deletions
+12 -2
View File
@@ -1,6 +1,16 @@
<script lang="ts" context="module">
<script>
/**
* @typedef {Object} Props
* @property {import('svelte').Snippet} [children]
*/
/** @type {Props} */
let { children } = $props();
</script>
<script lang="ts" module>
import { CustomImg as img } from '$lib/components';
export { img };
</script>
<slot />
{@render children?.()}