From c0bb12cee227f8e970385051998076508ec66fc8 Mon Sep 17 00:00:00 2001 From: iamdoubz <> Date: Thu, 5 Nov 2026 16:08:40 -0600 Subject: [PATCH] Add scan page --- frontend/src/routes/ScanPage.svelte | 106 ++++++++++++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 frontend/src/routes/ScanPage.svelte diff --git a/frontend/src/routes/ScanPage.svelte b/frontend/src/routes/ScanPage.svelte new file mode 100644 index 0000000..0ecbfe3 --- /dev/null +++ b/frontend/src/routes/ScanPage.svelte @@ -0,0 +1,106 @@ + + +{#if error} +
{error}
+{:else if !scan} +Loading…
+{:else} +Reading the page. This usually takes under a minute; you can leave this screen.
+Reading failed: {scan.error}
+This scan was discarded.
+ {:else if scan.status === 'published'} +Published {scan.events.length} events{scan.menu_items.length ? ` and ${scan.menu_items.length} menu days` : ''}.
+ {#if scan.layout_type === 'menu'} + Pick lunch days + {/if} + {#each calendars as c (c.id)} + + {/each} + See the calendar +