Updated to Svelte 5

This commit is contained in:
Mawoka
2025-09-21 12:42:04 +02:00
parent fa533257b3
commit a88cf13f82
137 changed files with 2279 additions and 1948 deletions
+6 -2
View File
@@ -5,7 +5,11 @@ SPDX-License-Identifier: MPL-2.0
-->
<script lang="ts">
export let open: boolean;
interface Props {
open: boolean;
}
let { open = $bindable() }: Props = $props();
const closeThing = () => {
open = false;
@@ -15,7 +19,7 @@ SPDX-License-Identifier: MPL-2.0
<form method="post" action="https://newsletter.mawoka.eu/subscription/form" class="bg-transparent">
<div class="absolute top-1 right-1">
<button type="button" on:click={closeThing}>
<button type="button" onclick={closeThing}>
<svg
class="w-6 h-6"
fill="none"