/* 6ix Mela — "Work with us" hub: smart contact form with reason selector. All submissions are wired to GoHighLevel later (see handleSubmit note). */ const REASONS = [ { id: 'vip', ic: 'crown', t: 'VIP & Box Suite', d: 'Box suites, premium VIP floor, group bookings.' }, { id: 'sponsor', ic: 'briefcase', t: 'Sponsorship', d: 'Brand activations, booths, stage & on-site presence.' }, { id: 'partner', ic: 'handshake', t: 'Partners & Creators', d: 'Content creators, promoters, recruiters, media, vendors.' }, { id: 'other', ic: 'sparkles', t: 'Something Else', d: 'Press, general enquiries, working with us any other way.' }, ]; const EXTRA_FIELDS = { vip: [ { name: 'party', label: 'Party size', placeholder: 'e.g. 6–10 guests', type: 'text' }, { name: 'arrival', label: 'Arrival time', type: 'select', options: ['No preference', 'At doors (6 PM)', 'Early evening', 'Late / headliner sets'] }, ], sponsor: [ { name: 'company', label: 'Company / brand', placeholder: 'Brand name', type: 'text' }, { name: 'interest', label: 'Interest', type: 'select', options: ['Title sponsor', 'Stage sponsor', 'On-site activation / booth', 'Food & beverage', 'Media / digital', 'Not sure yet'] }, ], partner: [ { name: 'role', label: "You're a…", type: 'select', options: ['Content creator', 'Promoter', 'Recruiter', 'Media / press', 'Vendor', 'Other'] }, { name: 'handle', label: 'Link / handle', placeholder: '@yourhandle or URL', type: 'text' }, ], other: [], }; const GHL_HOOKS = { vip: 'https://services.leadconnectorhq.com/hooks/w3wfodCcYtM88V7A3DGR/webhook-trigger/fd03bbe6-d4c5-4ba6-8f28-06d1951cc98a', sponsor: 'https://services.leadconnectorhq.com/hooks/w3wfodCcYtM88V7A3DGR/webhook-trigger/004eea8a-09f1-4993-b43a-0f8bc9cf786b', partner: 'https://services.leadconnectorhq.com/hooks/w3wfodCcYtM88V7A3DGR/webhook-trigger/eb628734-71f9-4799-80a7-010bb4e4049f', other: 'https://services.leadconnectorhq.com/hooks/3EB3P4lGiKfN4zAxsSbL/webhook-trigger/f4d471a4-9c7b-4ce2-9a81-21c4bd2962fb', }; function Connect({ reason, onReason }) { const [sent, setSent] = React.useState(false); const cur = REASONS.find((r) => r.id === reason) || REASONS[0]; const handleSubmit = (e) => { e.preventDefault(); const data = Object.fromEntries(new FormData(e.target)); data.enquiry_type = reason; data.hook = (['vip','sponsor','partner','other'].includes(reason)) ? reason : 'subscribers'; fetch('/wp-json/6ixmela/v1/ghl', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify(data), }).catch(() => {}); setSent(true); }; return (
Work with the 6ix

Let's Build
The Mela

Tables, brands, creators, vendors, media — if you want in, start here. Tell us what you've got in mind and the right person on our team picks it up.

{REASONS.map((r) => ( ))}
{sent ? (

You're In The Inbox

Thanks for reaching out about {cur.t.toLowerCase()}. The right person on our team will hit you back shortly. Talk soon — the 6ix is calling.

) : (
{cur.t}
{cur.t}

{cur.d}

{EXTRA_FIELDS[reason].map((f) => (
{f.type === 'select' ? ( ) : ( )}
))}
We reply within 2 business days · no spam, ever.
)}
); } window.Connect = Connect;