-
Notifications
You must be signed in to change notification settings - Fork 125
Open
Labels
Description
Description
The newsletter form on the home page submits successfully but lacks proper email validation and doesn't store subscriber data, making it ineffective for collecting genuine leads.
Steps to Reproduce
- Navigate to the home page
- Scroll to the newsletter section at the bottom
- Enter an invalid email (e.g., "test" or "test@domain")
- Click Subscribe button
- Form submits without proper validation
- Success message appears regardless of email validity
Expected Behavior
- Form should validate email format using regex
- Show specific error message for invalid emails
- Store valid emails in localStorage
- Prevent duplicate subscriptions
- Display appropriate success/error messages
Actual Behavior
- Form accepts invalid email formats (e.g., "test", "test@", "@domain.com")
- No validation beyond HTML5 type="email" attribute
- Only shows a generic success message without storing subscriber information
- No duplicate email detection
Reactions are currently unavailable