Skip to content

Conversation

@Abhrxdip
Copy link

@Abhrxdip Abhrxdip commented Feb 1, 2026

…Added a Newsletter Subscription feature to the React Kolkata website, allowing visitors to subscribe to community updates about events, workshops, tech talks, and news. The feature includes full i18n support for English, Bengali, and Hindi.

Changes
Created newsletter type definitions (newsletter.ts)
Implemented NewsletterSubscription component with email validation and interest selection
Added newsletter section to home page after the blog section
Added comprehensive translations for EN, BN, and HI locales
Created unit tests for the newsletter component
Integrated with existing UI components (Button, Badge) and animated sections
Testing:
Added comprehensive unit tests using Vitest and React Testing Library
Tested email validation (invalid/valid email formats)
Tested interest selection/deselection functionality
Tested form submission flow (loading, success, error states)
Tested form disable during submission
Manual testing across different locales (EN/BN/HI)
Verified responsive design and dark mode compatibility
Notes:
The component currently simulates the API call with a timeout. Reviewers should note that an actual API endpoint at /api/newsletter/subscribe needs to be implemented for production use
The component is fully accessible and follows existing design patterns
All text content is internationalized and ready for the three supported languages
The feature is non-blocking and enhances user engagement without affecting existing functionality

@netlify
Copy link

netlify bot commented Feb 1, 2026

Deploy Preview for reactkolkata ready!

Name Link
🔨 Latest commit 31a4fbb
🔍 Latest deploy log https://app.netlify.com/projects/reactkolkata/deploys/697fbeeaf6c5c500087a9a4d
😎 Deploy Preview https://deploy-preview-135--reactkolkata.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.

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