refactor: migrate to props and runes

this was done using sv migrate and a bit of ai to fully migrate
This commit is contained in:
2026-04-24 01:12:33 -04:00
parent 2864c81f83
commit 9064aecedb
17 changed files with 463 additions and 326 deletions
@@ -3,9 +3,13 @@
import { onMount } from 'svelte';
import Paste from '$lib/components/Paste.svelte';
export let data: PageData;
interface Props {
data: PageData;
}
let now = new Date();
let { data }: Props = $props();
let now = $state(new Date());
onMount(() => {
const interval = setInterval(() => {