import { createFileRoute } from "@tanstack/react-router"; import { PageHero, Section } from "@/components/page-shell"; import { useState } from "react"; import { ArrowUpRight } from "lucide-react"; export const Route = createFileRoute("/enquiry")({ head: () => ({ meta: [ { title: "Enquiry — Request a Misting System Quote" }, { name: "description", content: "Send a quick enquiry to Promist for a misting system quote or consultation." }, { property: "og:title", content: "Enquiry" }, { property: "og:description", content: "Request a Promist misting system quote." }, ], }), component: Enquiry, }); function Enquiry() { const [sent, setSent] = useState(false); return ( <> { e.preventDefault(); setSent(true); }} > {[ { l: "Full name", n: "name", t: "text" }, { l: "Email address", n: "email", t: "email" }, { l: "Phone", n: "phone", t: "tel" }, { l: "Company (optional)", n: "company", t: "text" }, ].map((f) => ( {f.l} ))} How can we help? {sent ? "Thanks — we'll be in touch" : "Submit enquiry"} > ); }