Update svelte and typescript usage
All checks were successful
Build / build (push) Successful in 22s

This commit is contained in:
Chris 2026-08-05 17:15:08 +01:00
commit 26bd739638
19 changed files with 237 additions and 934 deletions

View file

@ -1,9 +1,19 @@
<script lang="ts">
export let name: string;
export let link: string;
export let img = "https://placehold.it/600x300";
export let size = { width: 600, height: 300 };
export let description: string;
interface Props {
name: string;
link: string;
img?: string;
size?: { width: number; height: number };
description: string;
}
let {
name,
link,
img = "https://placehold.it/600x300",
size = { width: 600, height: 300 },
description
}: Props = $props();
</script>
<div class="card">