From 71ca66bcba70f7a463df6ee9bdcb0e14b8e60595 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Mon, 27 Jul 2026 16:54:28 +0200 Subject: feat: minimal grocery list — add items, check them off MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Groceries DB schema (id, name, checked, created_at) with Drizzle + libsql - /+page.server.ts: load (unchecked items, newest first), add & toggle actions - /+page.svelte: text input + Add button, item list with toggle buttons - Mobile-first styling with scoped CSS classes - AGENTS.md: project-specific rules including UI validation --- src/routes/+page.svelte | 95 +++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 93 insertions(+), 2 deletions(-) (limited to 'src/routes/+page.svelte') diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 1b6e963..fc56140 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,6 +1,97 @@ -

Home

-

Welcome! Groceries and chores coming soon.

+

Groceries

+ +
+ + +
+ +{#if form?.error} +

{form.error}

+{/if} + +
+ +
+ +
+ + -- cgit v1.3