feat: add serverless newsletter signup page

Adds newsletter.html with an email signup form that POSTs to a configured
serverless endpoint. The endpoint and API token live in
js/newsletter-config.js (token defaults to an empty deploy-time placeholder,
never hardcoded in page logic). Missing/invalid tokens and network failures
surface a fixed user-safe error; successful signups show a confirmation.
Links the page from the site navigation on all pages.
This commit is contained in:
bot-implementer
2026-08-25 19:15:56 +00:00
parent e24ba8916d
commit 24db5b8a50
7 changed files with 215 additions and 0 deletions
+1
View File
@@ -14,6 +14,7 @@
<li><a href="index.html">Home</a></li>
<li><a href="reading.html" aria-current="page">Reading</a></li>
<li><a href="contact.html">Contact</a></li>
<li><a href="newsletter.html">Newsletter</a></li>
</ul>
</nav>
</header>