fix login confusion and enforce reactive subscription after login

This commit is contained in:
JCEEE
2026-09-03 09:31:40 +01:00
parent 1360799b60
commit 8cec99715a
7 changed files with 204 additions and 18 deletions
+9 -1
View File
@@ -4,11 +4,13 @@
let {
title,
subtitle,
children
children,
secondary
}: {
title: string;
subtitle?: string;
children?: any;
secondary?: any;
} = $props();
</script>
@@ -21,6 +23,9 @@
{/if}
{@render children?.()}
</div>
{#if secondary}
<div class="card secondary">{@render secondary?.()}</div>
{/if}
</main>
<style>
@@ -64,6 +69,9 @@
font-size: 0.9rem;
line-height: 1.5;
}
.card.secondary {
margin-top: 1rem;
}
@media (max-width: 480px) {
.card {
padding: 1.5rem;