Skip to content

docs(newsletter): Add newsletter signup form#537

Merged
Tobbe merged 3 commits intomainfrom
tobbe-newsletter-signup
Nov 17, 2025
Merged

docs(newsletter): Add newsletter signup form#537
Tobbe merged 3 commits intomainfrom
tobbe-newsletter-signup

Conversation

@Tobbe
Copy link
Member

@Tobbe Tobbe commented Nov 17, 2025

image

This PR adds the form above to the main https://cedarjs.com website so that new visitors to the site can easily sign up to receive news of new Cedar releases etc

@Tobbe Tobbe added this to the chore milestone Nov 17, 2025
@netlify
Copy link

netlify bot commented Nov 17, 2025

Deploy Preview for cedarjs ready!

Name Link
🔨 Latest commit a2c8b56
🔍 Latest deploy log https://app.netlify.com/projects/cedarjs/deploys/691b467c958bbd00089c1091
😎 Deploy Preview https://deploy-preview-537--cedarjs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Nov 17, 2025

Greptile Summary

  • Added Netlify Forms-powered newsletter subscription form to homepage with email validation and proper styling
  • Created dedicated thank you page with community links and next steps for new subscribers

Confidence Score: 4/5

  • This PR is safe to merge with minimal risk.
  • The implementation is straightforward with proper HTML form validation and Netlify Forms integration. One potential concern is ensuring the form is properly detected by Netlify during build, which depends on the data-netlify attribute being present in the built HTML.
  • Verify that docs/src/pages/index.tsx newsletter form is detected by Netlify during deployment.

Important Files Changed

Filename Overview
docs/src/pages/index.tsx Added newsletter subscription form using Netlify Forms with proper styling and email validation.

Sequence Diagram

sequenceDiagram
    participant User
    participant Browser
    participant Index as "index.tsx"
    participant Netlify as "Netlify Forms"
    participant ThankYou as "newsletter-thank-you.tsx"
    
    User->>Browser: "Visit homepage"
    Browser->>Index: "Load page"
    Index->>Browser: "Render newsletter form"
    User->>Browser: "Enter email and submit"
    Browser->>Netlify: "POST /newsletter-thank-you"
    Netlify->>Netlify: "Process form submission"
    Netlify->>Browser: "Redirect to thank you page"
    Browser->>ThankYou: "Load thank you page"
    ThankYou->>Browser: "Render confirmation message"
Loading

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 files reviewed, no comments

Edit Code Review Agent Settings | Greptile
React with 👍 or 👎 to share your feedback on this new summary format

@Tobbe Tobbe merged commit e8c5b84 into main Nov 17, 2025
32 checks passed
@Tobbe Tobbe deleted the tobbe-newsletter-signup branch November 17, 2025 16:15
@Tobbe Tobbe modified the milestones: chore, v1.0.0 Nov 17, 2025
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