Skip to content

FE-185 Add newsletter signup form submission to NewsletterForm component #305

@BigBen-7

Description

@BigBen-7

Track
Frontend

Difficulty
Trivial

Description
NewsletterForm.tsx renders a form but it is unclear whether form submission is wired to any backend endpoint. Implement the submit handler and validate the email field.

Acceptance Criteria

  • Submitting a valid email POSTs to the backend newsletter endpoint.
  • Zod validates the email format before submission.
  • Success state replaces the form with a confirmation message.
  • Duplicate email or server error is shown as an inline error message.

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions