feat(newsletter): newsletter signup as internal component
Deploy / verify (push) Successful in 1m18s
Deploy / deploy (push) Successful in 1m34s

Wire a newsletter signup form into the CMS internal-component pattern
(form-newsletter). Posts to /api/newsletter which subscribes to listmonk
(double opt-in) and mirrors a best-effort backup record to the RustyCMS
forms plugin. Reuses the contact-form anti-spam stack: Cloudflare
Turnstile, honeypots, client-age check, origin validation.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Peter Meier
2026-06-25 11:02:48 +02:00
parent 0ab2c58eb4
commit af90483dc4
6 changed files with 506 additions and 1 deletions
+1 -1
View File
@@ -469,7 +469,7 @@ export type CalendarBlockData = Omit<
};
/** Internal component block (_type: "internal_component"). */
export type InternalComponentId = "form-contact" | "form-mitmachen";
export type InternalComponentId = "form-contact" | "form-mitmachen" | "form-newsletter";
export interface InternalComponentBlockData {
_type?: "internal_component";