Testing page generation
This commit is contained in:
12
src/routes/+page.svelte
Normal file
12
src/routes/+page.svelte
Normal 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 />
|
||||
Reference in New Issue
Block a user