feat: add db, form actions, load data

This commit is contained in:
2025-04-07 01:19:20 +02:00
parent 190cd50d97
commit c9cfb27d5f
22 changed files with 1021 additions and 5 deletions

View File

@@ -0,0 +1,13 @@
<script lang="ts">
let { img, name, link } = $props();
console.log(img)
</script>
<div class="border-2 rounded-md max-w-48 p-2">
{#if img}
<img src={img!.src} alt={img!.alt} />
{/if}
<p>{name}</p>
</div>