No description
Find a file
Neeldhara Misra e7dd3ed8eb admin: descriptive commit messages + dev-mode sync fallback
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>
2026-04-19 18:26:27 +05:30
netlify/functions admin: descriptive commit messages + dev-mode sync fallback 2026-04-19 18:26:27 +05:30
public Initial commit: Interactives site 2026-04-17 03:09:40 +05:30
scripts Initial commit: Interactives site 2026-04-17 03:09:40 +05:30
src admin: descriptive commit messages + dev-mode sync fallback 2026-04-19 18:26:27 +05:30
.gitignore Switch to Netlify adapter with GitHub API persistence 2026-04-17 03:22:18 +05:30
astro.config.mjs Switch to standalone Netlify Function for admin API 2026-04-17 03:44:01 +05:30
components.json Initial commit: Interactives site 2026-04-17 03:09:40 +05:30
components.json.bak Initial commit: Interactives site 2026-04-17 03:09:40 +05:30
eslint.config.mjs Initial commit: Interactives site 2026-04-17 03:09:40 +05:30
LICENSE Initial commit: Interactives site 2026-04-17 03:09:40 +05:30
netlify.toml trigger redeploy for env var update 2026-04-17 03:53:04 +05:30
package-lock.json Switch to Netlify adapter with GitHub API persistence 2026-04-17 03:22:18 +05:30
package.json Switch to Netlify adapter with GitHub API persistence 2026-04-17 03:22:18 +05:30
README.md Initial commit: Interactives site 2026-04-17 03:09:40 +05:30
tsconfig.json Initial commit: Interactives site 2026-04-17 03:09:40 +05:30

Hatch Astro Template

Hatch Astro Template is a premium template built by https://www.shadcnblocks.com

Screenshot

Hatch Astro Template 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