Initial ui redo progress #1

Merged
breadone merged 23 commits from ui-redo into main 2026-02-17 18:29:59 +13:00
Showing only changes of commit d2e5e8f69d - Show all commits

View File

@@ -16,10 +16,13 @@
let { children, data } = $props(); let { children, data } = $props();
let dateValue = $derived(data.date); let dateValue = $derived(data.date);
let entries = $derived(data.entries); let entries = $derived(data.entries);
let title = $state("Memento")
$effect(() => { $effect(() => {
// Navigate when dateValue changes // Navigate when dateValue changes
goto(`/${dateValue}`); goto(`/${dateValue}`);
title = `Memento: ${dateValue}`
}); });
$effect(() => { $effect(() => {
@@ -28,7 +31,10 @@
}); });
</script> </script>
<svelte:head><link rel="icon" href={favicon} /></svelte:head> <svelte:head>
<title>{title}</title>
<link rel="icon" href={favicon} />
</svelte:head>
<ModeWatcher /> <ModeWatcher />
<div <div