A personal site made from scratch! https://badblocks.dev
Find a file
badbl0cks 8e35387841
Switch to Cap invisible widget, add form drafts to middleware, and improve OTP
validation

Use the Cap client widget in the contact UI with status icons and auto-solve,
replacing the capwidget element. Normalize and tighten phone validation by
splitting
normalizePhone and isValidPhone in the Otp lib and use it in contact action
validation. Replace loose text validation with a character-stripper helper.
Also bump several dependencies and adjust middleware to save and restore form
data for
form actions.
2026-01-27 09:49:06 -08:00
.vscode Initial commit from Astro 2025-12-19 14:06:51 -08:00
db Add support for cap, a pow captcha, and implement on contact form 2026-01-06 20:50:30 -08:00
public new minimal retro theme, progress on parallax hero, refactor into semantic html, 2026-01-04 21:36:24 -08:00
src Switch to Cap invisible widget, add form drafts to middleware, and improve OTP 2026-01-27 09:49:06 -08:00
.dockerignore docker image building and docker compose support 2026-01-06 08:08:12 -08:00
.gitignore work on porting over contact form from old site, also added initial db support 2026-01-06 08:07:19 -08:00
.prettierrc.mjs Add contact actions and migrate contact form to Astro actions 2026-01-22 14:04:27 -08:00
astro.config.mjs More progress but need to fully refactor into Astro action and take advantage of 2026-01-19 18:10:33 -08:00
bun.lockb Switch to Cap invisible widget, add form drafts to middleware, and improve OTP 2026-01-27 09:49:06 -08:00
docker-compose.yml docker image building and docker compose support 2026-01-06 08:08:12 -08:00
Dockerfile docker image building and docker compose support 2026-01-06 08:08:12 -08:00
package.json Switch to Cap invisible widget, add form drafts to middleware, and improve OTP 2026-01-27 09:49:06 -08:00
tsconfig.json Add contact actions and migrate contact form to Astro actions 2026-01-22 14:04:27 -08:00