From a1cc191fde35e34af44f1e8b9bbb4b5050039183 Mon Sep 17 00:00:00 2001 From: iamdoubz <> Date: Thu, 5 Nov 2026 16:08:40 -0600 Subject: [PATCH] Add month grid --- frontend/src/routes/MonthGrid.svelte | 84 ++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 frontend/src/routes/MonthGrid.svelte diff --git a/frontend/src/routes/MonthGrid.svelte b/frontend/src/routes/MonthGrid.svelte new file mode 100644 index 0000000..38c6b08 --- /dev/null +++ b/frontend/src/routes/MonthGrid.svelte @@ -0,0 +1,84 @@ + + +
+

{monthLabel(month)}

+
+ {#each names as n}
{n}
{/each} + {#each weeks as week} + {#each week as day} + {@const list = byDay.get(day) ?? []} + {@const outside = day.slice(0, 7) !== month} + {#snippet cell()} + {parse(day).getDate()} + {#each list.slice(0, 3) as e (e.id)} + {e.title} + {/each} + {#if list.length > 3}+{list.length - 3}{/if} + {/snippet} + {#if onday} + + {:else} +
{@render cell()}
+ {/if} + {/each} + {/each} +
+
+ +