Commit graph

54 commits

Author SHA1 Message Date
Neeldhara Misra
11ab6c3b9f Fix esbuild charset and target for Netlify compatibility
Set esbuild charset to utf8 and target to es2022 to avoid
syntax errors from ASCII-escaped unicode in the bundled output
on Netlify's build environment.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-17 03:34:37 +05:30
Neeldhara Misra
fd8bbe16e6 Add netlify.toml, disable JS/CSS post-processing
Netlify's asset post-processing was re-minifying Vite's output
and causing esbuild syntax errors. Disable it since Astro/Vite
already handles bundling and minification.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-17 03:30:42 +05:30
Neeldhara Misra
9b182053f1 Switch to Netlify adapter with GitHub API persistence
- Swap @astrojs/node for @astrojs/netlify adapter
- Admin API reads/writes admin-data.json via GitHub API in production
- Status changes (commitStatus) and deletes commit directly to repo
- Env vars: ADMIN_PASSWORD, GITHUB_TOKEN
- Local dev falls back to filesystem (no env vars needed)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-17 03:22:18 +05:30
Neeldhara Misra
c5926b4213 Initial commit: Interactives site
Astro-based site with 40+ interactive math games, puzzles, and explorations.
Includes admin dashboard, todo system, blog, theme/subcategory navigation,
and embed pages for iframe embedding.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-17 03:09:40 +05:30