diff --git a/frontend/src/App.svelte b/frontend/src/App.svelte new file mode 100644 index 0000000..5b2ef21 --- /dev/null +++ b/frontend/src/App.svelte @@ -0,0 +1,99 @@ + + +
+ {#if error} +

Can't reach the ParentCalendar server: {error}

+ {:else if !app.household} +

Loading…

+ {:else if path === '/new'} + + {:else if scanId} + {#key scanId}{/key} + {:else if path === '/calendar'} + + {:else if path === '/lunch'} + + {:else if path === '/settings'} + + {:else} + + {/if} +
+ + + +{#if app.toast} +
{app.toast}
+{/if} + +