Testing page generation

This commit is contained in:
ZXY101
2023-08-03 10:08:04 +02:00
parent 00f438a290
commit 07e007aaa7
26 changed files with 564 additions and 92 deletions

12
src/routes/+page.svelte Normal file
View File

@@ -0,0 +1,12 @@
<script lang="ts">
import { goto } from '$app/navigation';
import Button from '$lib/components/Button.svelte';
import Catalog from '$lib/components/Catalog.svelte';
function onClick() {
goto('/upload');
}
</script>
<Button on:click={onClick}>Upload</Button>
<Catalog />