chore: upgrade to svelte 5 and make basic layout

This commit is contained in:
2025-01-07 13:50:33 +01:00
parent 2131df26b2
commit 811dccfe16
6 changed files with 56 additions and 11 deletions

View File

@@ -0,0 +1,25 @@
<script lang="ts">
let { data } = $props();
</script>
<h1 class="font-bold text-xl text-center m-4">Tasks ({data.tasks.length})</h1>
<table>
<thead>
<tr>
<th>ID</th>
<th>Name</th>
<th>Progress</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
{#each data.tasks as task}
<tr>
<td></td>
<td></td>
<td></td>
<td><button>Delete</button></td>
</tr>
{/each}</tbody
>
</table>