"use client"; import { useState } from "react"; import Link from "next/link"; type FormState = { name: string; email: string; topic: string; message: string; }; export default function ContactPage() { const [submitted, setSubmitted] = useState(false); const [form, setForm] = useState({ name: "", email: "", topic: "general", message: "" }); const [isSubmitting, setIsSubmitting] = useState(false); function handleSubmit(e: React.FormEvent) { e.preventDefault(); setIsSubmitting(true); setTimeout(() => { setSubmitted(true); setIsSubmitting(false); }, 600); } return (
{/* Header */}
Route Commerce Back to Home
{/* Page header */}

Get in Touch

Contact Us

Questions about produce, wholesale accounts, or becoming a partner? We would love to hear from you.

{/* Contact info cards */}

Address

Serving farms and trucking routes across the nation

Phone

support@routecommerce.com

Email

hello@routecommerce.com

{/* Contact form */}

Send a Message

Get in Touch

{submitted ? (

Message received.

We will be in touch within 1-2 business days.

) : (
setForm({ ...form, name: e.target.value })} className="w-full rounded-xl border-2 border-[#e5e5e5] bg-white px-5 py-4 text-base text-[#1a1a1a] placeholder:text-[#999] outline-none focus:border-[#1a4d2e] focus:ring-4 focus:ring-[#1a4d2e]/10 transition-colors" placeholder="Jane Smith" />
setForm({ ...form, email: e.target.value })} className="w-full rounded-xl border-2 border-[#e5e5e5] bg-white px-5 py-4 text-base text-[#1a1a1a] placeholder:text-[#999] outline-none focus:border-[#1a4d2e] focus:ring-4 focus:ring-[#1a4d2e]/10 transition-colors" placeholder="jane@example.com" />