// Contact.jsx — "Let's Grow" CTA + EmailJS contact form, and the Footer const { useState: useStateC, useEffect: useEffectC } = React; function Contact() { const [sent, setSent] = useStateC(false); const [loading, setLoading] = useStateC(false); const [form, setForm] = useStateC({ name: "", email: "", who: "Small or local business", msg: "" }); const set = k => e => setForm(f => ({ ...f, [k]: e.target.value })); useEffectC(() => { if (typeof emailjs !== 'undefined') { emailjs.init("ASGrAIYroNSgqqlFI"); } }, []); const submit = async e => { e.preventDefault(); setLoading(true); try { await emailjs.send("service_alrckd9", "template_1dsystd", { user_name: form.name, user_email: form.email, user_type: form.who, user_message: form.msg }); setSent(true); } catch (error) { console.error("Email send failed:", error); alert("Oops, something went wrong. Please try again or email me directly at bryceliggins@gmail.com"); } finally { setLoading(false); } }; const field = { width: "100%", boxSizing: "border-box", fontFamily: "var(--font-body)", fontSize: 15, padding: "12px 13px", border: "var(--stroke) solid var(--gm-ink)", background: "#fff", color: "var(--gm-ink)", borderRadius: 0, outline: "none" }; const label = { fontFamily: "var(--font-display)", fontWeight: 700, textTransform: "uppercase", fontSize: 14, letterSpacing: ".04em", color: "var(--gm-ink)", marginBottom: 7, display: "block" }; return (
Let's Grow

Tell me what you're working on.

No pitch, no pressure. Send me the situation and I'll give you an honest read on whether I can help. If I'm not the right fit, I'll tell you that too.

{["Honest read", "~2 day reply"].map(t => ( {t} ))}
{sent ? (

Sent it over

Thanks, {form.name || "friend"}. I'll get back to you with an honest read, usually within a couple of business days.

) : (