Update to svelte 5

This commit is contained in:
2025-10-13 16:05:50 +02:00
parent f936e4c0f2
commit 6d89c5ddd9
129 changed files with 2443 additions and 2180 deletions

View File

@@ -1,7 +1,7 @@
<script lang="ts">
import { user } from "lib/UserStore";
let nav: HTMLElement;
let nav: HTMLElement = $state();
export const toggle = () => {
var body = document.getElementById("page_body");
@@ -21,7 +21,7 @@ export const reset = () => {
}
</script>
<button id="button_toggle_navigation" class="button_toggle_navigation" on:click={toggle}>☰</button>
<button id="button_toggle_navigation" class="button_toggle_navigation" onclick={toggle}>☰</button>
<nav bind:this={nav} id="page_navigation" class="page_navigation">
<a href="/#">Home</a>
<a href="/#prepaid">For Creators</a>