feat: add db, form actions, load data
This commit is contained in:
13
src/lib/components/Card.svelte
Normal file
13
src/lib/components/Card.svelte
Normal 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>
|
Reference in New Issue
Block a user