This commit is contained in:
2024-11-24 22:57:21 +01:00
parent bbf13cf203
commit 72933a46d1
48 changed files with 752 additions and 450 deletions

View File

@@ -20,9 +20,14 @@
<script lang="ts">
import { l } from "../util/util.ts"
export let to: string;
interface Props {
to: string;
children?: import('svelte').Snippet;
}
let { to, children }: Props = $props();
</script>
<a href={l(to)}>
<slot />
{@render children?.()}
</a>