refactor: migrate to Svelte 5

use runes ($props, $state, $derived, $effect, etc)
This commit is contained in:
2024-08-02 17:50:16 +02:00
parent 245049222b
commit 6f8a619af2
60 changed files with 1120 additions and 859 deletions

View File

@@ -6,9 +6,15 @@
// Components
import Image from '$components/atoms/Image.svelte'
export let title: string
export let image: any
export let back = false
let {
title,
image,
back = false,
}: {
title: string
image: any
back?: boolean
} = $props()
</script>
<section class="banner">