diff --git a/frontend/src/App.svelte b/frontend/src/App.svelte index 5b2ef21..f9ec111 100644 --- a/frontend/src/App.svelte +++ b/frontend/src/App.svelte @@ -1,4 +1,11 @@ - - {#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} - + { e.preventDefault(); document.getElementById('main')?.focus(); }}>Skip to content + + + + + + + {#each tabs as tab} + + + {tab.label} + + {/each} + + + + {#if error} + + + Can't reach the ParentCalendar server: {error} + + {:else if !app.household} + + + + + + {: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} - - - - {#each tabs as tab} - - - {tab.label} - - {/each} - - -{#if app.toast} - {app.toast} -{/if} +
Can't reach the ParentCalendar server: {error}
Loading…