src/components/marketing/contact-form.tsx
How to Customize
Editing the Informational Column (Left)
The left column contains your contact details and introductory text. You can edit this information directly in the JSX.src/components/marketing/contact-form.tsx
Customizing the Form (Right Column)
The right column contains the form itself. You can customize its validation rules, submission feedback, and compliance text.Adjusting Validation Rules
Client-side validation is handled by Zod. The validation schema,contactFormSchema, is at the top of the file. You can change rules like making a field optional or increasing a minimum length.
src/components/marketing/contact-form.tsx
Customizing Submission Messages (Toasts)
After a user submits the form, a “toast” notification appears to confirm success or failure. These messages are located in theonSubmit function and can be customized.
src/components/marketing/contact-form.tsx
Editing Compliance Text
The text displayed below the submit button (e.g., GDPR, ISO) can be edited at the bottom of the component.src/components/marketing/contact-form.tsx