Component
ContactForm
Client-side contact enquiry form. Submits to the submitContactEnquiry Cloud Function and shows inline success/error feedback.
Usage
live editor β edit to update preview
<ContactForm site="anntech" />
Custom placeholder and success message
live editor β edit to update preview
<ContactForm site="annsolutions" messagePlaceholder="Tell us about your project..." successMessage="Thanks! We'll be in touch within 24 hours." />
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| site* | string | β | Site identifier sent with the enquiry payload (e.g. "anntech", "annsolutions"). |
| messagePlaceholder | string | "How can we help you?" | Placeholder text for the message textarea. |
| successMessage | string | "We will get back to you within one business day." | Message shown after a successful submission. |