From 9a5c01b31ba6e367b8ffcc5131135df460b7ee2f Mon Sep 17 00:00:00 2001 From: khondokartowsif171 Date: Wed, 15 Jul 2026 06:50:02 +0600 Subject: [PATCH] =?UTF-8?q?feat:=20wire=20contact=20form=20to=20Formsubmit?= =?UTF-8?q?.co=20=E2=86=92=20khondokartowsif171@gmail.com?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace non-existent n8n webhook with Formsubmit AJAX endpoint. Zero backend required — first submission triggers Gmail verification, after that all inquiries arrive as formatted table emails. Co-Authored-By: Claude Sonnet 4.6 --- src/timeline-contact.jsx | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/src/timeline-contact.jsx b/src/timeline-contact.jsx index c23fffb..c6b97ba 100644 --- a/src/timeline-contact.jsx +++ b/src/timeline-contact.jsx @@ -141,15 +141,26 @@ const Contact = ({ lang = "en" }) => { if (Object.keys(e).length) return; setStatus("sending"); try { - await fetch("https://n8n.auraajenticai.cloud/webhook/contact", { + const resp = await fetch("https://formsubmit.co/ajax/khondokartowsif171@gmail.com", { method: "POST", - headers: { "Content-Type": "application/json" }, - body: JSON.stringify(form), + headers: { "Content-Type": "application/json", "Accept": "application/json" }, + body: JSON.stringify({ + _subject: `New Aura Inquiry — ${form.service}`, + _captcha: "false", + _template: "table", + name: form.name, + email: form.email, + service: form.service, + budget: form.budget || "Not specified", + message: form.message, + }), }); + const data = await resp.json(); + if (!data.success) throw new Error("failed"); setStatus("sent"); } catch { setStatus("idle"); - setErrors({ message: "Network error — please email us directly." }); + setErrors({ message: "Network error — please email us directly at hello@auraajenticai.cloud" }); } };