import { useState, ChangeEvent, FormEvent } from "react"; import { Mail, MessageSquare, Phone, Send, CheckCircle, AlertTriangle } from "lucide-react"; import { motion } from "motion/react"; export default function Contact() { const [formData, setFormData] = useState({ name: "", email: "", subject: "", message: "", }); const [formStatus, setFormStatus] = useState<"idle" | "submitting" | "success" | "error">("idle"); const [errorMessage, setErrorMessage] = useState(""); const handleChange = (e: ChangeEvent) => { setFormData({ ...formData, [e.target.name]: e.target.value, }); }; const handleSubmit = async (e: FormEvent) => { e.preventDefault(); if (!formData.name || !formData.email || !formData.message) { setFormStatus("error"); setErrorMessage("Please complete all required fields."); return; } setFormStatus("submitting"); try { const response = await fetch("https://formspree.io/f/mojrrdov", { method: "POST", headers: { "Content-Type": "application/json", Accept: "application/json", }, body: JSON.stringify(formData), }); if (response.ok) { setFormStatus("success"); setFormData({ name: "", email: "", subject: "", message: "" }); } else { setFormStatus("error"); setErrorMessage("An error occurred on the server. Please check your network and try again."); } } catch (err) { setFormStatus("error"); setErrorMessage("Could not submit the form. Please check your connection or contact our support team."); } }; return (
{/* Header */}
Get In Touch

Custom setup assist is{" "} one click away

Need support with custom scripting, configuration, or folder watcher automation? Message our core team immediately.

{/* Column breakdown */}
{/* Left Column - Contact Details */}

Direct Channels

Our support team answers personal emails and WhatsApp inquiries directly. Get prompt assistance with your offline integration.

{/* WhatsApp Support */}

WhatsApp Instant Chat

+92 303 4572298

Answered in minutes
{/* Email Support */}

Secure Developer Mailbox

bahaduralimunnabhai@gmail.com

Under 12hr Response SLA
{/* Developer Location / Core info */}

Enterprise Configurations

For corporate deployment arrays, local security audits, or customized CLI wrappers.

{/* Right Column - Premium AJAX Formspree Card */}
{/* Name */}
{/* Email */}
{/* Subject */}
{/* Message */}