"use client"; import Link from "next/link"; import { ContactTurnstile } from "@/components/site/contact-turnstile"; import { Button } from "@/components/ui/button"; import { Input } from "@/components/ui/input"; import { Label } from "@/components/ui/label"; import { Textarea } from "@/components/ui/textarea"; import type { PublicContactProtectionSettings } from "@/lib/contact-protection"; type ContactFormCopy = { name: string; email: string; phone: string; company: string; message: string; note: string; submit: string; preview: string; }; type ContactFormProps = { action: (formData: FormData) => Promise; locale: string; previewHref: string; copy: ContactFormCopy; protection: PublicContactProtectionSettings; }; export function ContactForm({ action, locale, previewHref, copy, protection, }: ContactFormProps) { return (