Skip to content

Add a Buttondown newsletter signup to the website - #268

Merged
patrickdappollonio merged 2 commits into
mainfrom
newsletter
Jul 16, 2026
Merged

patrickdappollonio merged 2 commits into
mainfrom
newsletter

Conversation

@patrickdappollonio

Copy link
Copy Markdown
Owner

This adds a newsletter signup section to the getdux.app homepage, placed right after the hero. The form posts directly to Buttondown's embed-subscribe endpoint for the getduxapp newsletter, needs no client-side JavaScript, and is styled entirely with the site's existing theme tokens (card, pill, btn-primary, and the shared focus-ring treatment). A Newsletter link was also added to the footer navigation, and the README gains a small shields.io badge pointing to the Buttondown subscribe page.

It also adds two internal landing pages that match the rest of the site's look and tone: /newsletter/thanks, shown after someone subscribes and reminding them to click the confirmation email before anything arrives, and /newsletter/confirmed, shown once the subscription is confirmed. Both are built on a small shared NewsletterStatus component so they cannot drift apart visually, are marked noindex, and are excluded from the sitemap since they only make sense as redirect targets.

For the pages to be used, Buttondown's dashboard needs its redirect after subscribing and redirect after confirmation settings pointed at https://getdux.app/newsletter/thanks and https://getdux.app/newsletter/confirmed respectively. Until then, subscribers land on Buttondown's hosted pages and everything still works.

@patrickdappollonio
patrickdappollonio merged commit 6624fb5 into main Jul 16, 2026
5 checks passed
@patrickdappollonio
patrickdappollonio deleted the newsletter branch July 16, 2026 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant