No description
Server side: writeData() now takes a message, and each action in the POST handler computes its own — e.g. "admin: add idea "Title"", "admin: clear note on slug". For setTodos (which ships the whole blob), diff old vs new per slug to produce messages like "neighbor-sum-avoidance: add T6" or "mark T1 done, add T5". Client side: syncFromServer() falls back to the bundled admin-data.json when /api/admin is unreachable, so the admin panel reflects committed state under `astro dev` (which doesn't run Netlify Functions). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| netlify/functions | ||
| public | ||
| scripts | ||
| src | ||
| .gitignore | ||
| astro.config.mjs | ||
| components.json | ||
| components.json.bak | ||
| eslint.config.mjs | ||
| LICENSE | ||
| netlify.toml | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
Hatch Astro Template
Hatch Astro Template is a premium template built by https://www.shadcnblocks.com
Screenshot
Getting Started
npm install
npm run dev
Open http://localhost:3000 with your browser to see the result.
Tech Stack
- Astro
- Tailwind 4
- shadcn/ui
Deploy on Vercel
The easiest way to deploy your Next.js app is to use the Vercel Platform
