Aggiunge newsletter custom con D1, double opt-in e invio campagne.

Attiva il form footer, API subscribe/confirm/unsubscribe e endpoint admin protetti, riusando Resend per le email.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Javaxman
2026-07-28 23:23:19 +02:00
parent 9a8566a3f5
commit 7aff1abcfb
27 changed files with 1008 additions and 18 deletions

View File

@ -166,6 +166,8 @@ const withLocale = (href: string) => {
{notifySubject ? (
<input type="hidden" name="_subject" value={notifySubject} />
) : null}
<input type="hidden" name="locale" value={currentLocale} />
<input type="hidden" name="source" value="footer" />
<input
type="text"
name="_gotcha"