Commit graph

3 commits

Author SHA1 Message Date
608348a5a5
More progress but need to fully refactor into Astro action and take advantage of
all the boilerplate
2026-01-19 18:10:33 -08:00
f5eac7145c
Progress on contact form refactor from JS into Typescript 2026-01-13 22:24:46 -08:00
72e57fb7ff
Break out contact form into separate component and implement OTP and rate
limiting, add iconify-icon dependency

Add src/components/ContactForm.astro implementing OTP verify/send flows and
server-side validation Add src/lib/Otp.ts (otplib-backed) with per-hour OTP and
per-week message rate limits and helper functions Expose OTP_SUPER_SECRET_SALT
in astro.config and add otplib Rename src/lib/cap.ts to src/lib/CapAdapter.ts
and update imports Replace inline contact page logic with ContactForm and adjust
SMS client Add iconify-icon dependency
2026-01-09 10:25:15 -08:00