From f1d851d8213cce593a73fb06d172cd07763c48f4 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 5 Mar 2026 10:54:53 +0000 Subject: [PATCH 1/7] Initial plan From a3341b22766953ab1ae3cbc8d4b5f49aa1963666 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 5 Mar 2026 11:17:38 +0000 Subject: [PATCH 2/7] Switch newsletter forms from Mailchimp to Brevo (static HTML form approach) Co-authored-by: bobbyiliev <21223421+bobbyiliev@users.noreply.github.com> --- .env.example | 4 +++ .../devops-survival-guide/client-content.tsx | 14 +++------- components/book-promotion-popup.tsx | 27 ++++++++++--------- components/footer/newsletter-form.tsx | 16 +++++------ components/sponsor-sidebar.tsx | 14 +++------- 5 files changed, 32 insertions(+), 43 deletions(-) diff --git a/.env.example b/.env.example index 8c0f6cea0..d2ba9a7aa 100644 --- a/.env.example +++ b/.env.example @@ -17,3 +17,7 @@ WATCHPACK_POLLING=true # Optional: API Keys (if needed) # OPENAI_API_KEY=your_api_key_here + +# Brevo (newsletter) — set to your Brevo subscription form URL +# e.g. https://sibforms.com/serve/MUIFAAAA... +# NEXT_PUBLIC_BREVO_FORM_URL=https://sibforms.com/serve/YOUR_FORM_ID_HERE diff --git a/app/books/devops-survival-guide/client-content.tsx b/app/books/devops-survival-guide/client-content.tsx index 9559d1f71..1f200eb60 100644 --- a/app/books/devops-survival-guide/client-content.tsx +++ b/app/books/devops-survival-guide/client-content.tsx @@ -525,7 +525,7 @@ export function ClientContent() {