From 150e6c4cfd8f30288c147905b03e8a12069b39f3 Mon Sep 17 00:00:00 2001 From: Chad Nuttall Date: Wed, 23 Sep 2026 19:47:29 -0400 Subject: [PATCH] Polish trade page and inquiry form copy (#122) The /trade journey read like generic B2B copy. Rewrites the page intro, "What to expect" bullets, form section heading, field labels (sentence case to match the tour inquiry dialog; "Your name", "Business type"), submit button, and success message in the brewery's voice. Optional fields are now marked, and the server-side validation errors shown verbatim in the form no longer leak camelCase API field names. No behavioral, schema, analytics, or backend changes; venueType values and server-side validation semantics are untouched. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- app/(pages)/trade/page.tsx | 22 +++++++++++----------- app/api/trade-inquiry/route.ts | 2 +- components/trade-inquiry-form.tsx | 20 ++++++++++---------- docs/admin/trade-inquiries.md | 6 +++--- lib/trade-leads-common.ts | 31 +++++++++++++++++++++++++------ smoke-tests/accessibility.spec.ts | 16 ++++++++-------- smoke-tests/analytics.spec.ts | 21 ++++++++++++--------- smoke-tests/smoke.spec.ts | 10 +++++----- tests/lib/trade-leads.test.ts | 16 ++++++++++++---- 9 files changed, 87 insertions(+), 57 deletions(-) diff --git a/app/(pages)/trade/page.tsx b/app/(pages)/trade/page.tsx index 82c080a..2884568 100644 --- a/app/(pages)/trade/page.tsx +++ b/app/(pages)/trade/page.tsx @@ -8,7 +8,7 @@ import { BUSINESS_EMAIL } from "@/lib/site"; export const metadata: Metadata = { title: "Trade & Wholesale", description: - "Stock Deep Dive Brewing Co beer at your bar, restaurant, hotel, or retail location. Submit a trade inquiry for Saba, Sint Maarten / Saint Martin, and nearby islands.", + "Carry island-brewed Deep Dive beer at your bar, restaurant, hotel, or shop. We supply trade accounts on Saba, Sint Maarten / Saint Martin, and nearby islands.", keywords: [ "Deep Dive Brewing wholesale", "trade inquiry Saba", @@ -22,7 +22,7 @@ export const metadata: Metadata = { openGraph: { title: "Trade & Wholesale | Deep Dive Brewing Co", description: - "Stock Deep Dive Brewing Co beer at your bar, restaurant, hotel, or retail location. Submit a trade inquiry.", + "Carry island-brewed Deep Dive beer at your bar, restaurant, hotel, or shop. We supply trade accounts on Saba, Sint Maarten / Saint Martin, and nearby islands.", url: "/trade", images: [ { @@ -37,7 +37,7 @@ export const metadata: Metadata = { card: "summary_large_image", title: "Trade & Wholesale | Deep Dive Brewing Co", description: - "Stock Deep Dive Brewing Co beer at your bar, restaurant, hotel, or retail location. Submit a trade inquiry.", + "Carry island-brewed Deep Dive beer at your bar, restaurant, hotel, or shop. We supply trade accounts on Saba, Sint Maarten / Saint Martin, and nearby islands.", images: ["/photos/og-default.jpg"], }, }; @@ -58,24 +58,24 @@ export default function TradePage() { Trade & Wholesale

- Interested in carrying Deep Dive Brewing Co at your bar, restaurant, - hotel, or retail location? We partner with accounts across Saba, - Sint Maarten / Saint Martin, and the surrounding islands. + We brew on Saba and work with bars, restaurants, hotels, shops, and + distributors across Saba, Sint Maarten / Saint Martin, and nearby + islands. Tell us about your business and we'll take it from there.

What to expect

-

Get in Touch

+

Send an inquiry

diff --git a/app/api/trade-inquiry/route.ts b/app/api/trade-inquiry/route.ts index e1bee3c..ce6fe17 100644 --- a/app/api/trade-inquiry/route.ts +++ b/app/api/trade-inquiry/route.ts @@ -59,7 +59,7 @@ export async function POST(req: NextRequest) { } catch (error) { logError("trade_inquiry.unexpected", error, { requestId }); return NextResponse.json( - { ok: false, error: "Failed to submit inquiry." }, + { ok: false, error: "Something went wrong on our end. Please try again." }, { status: 500 } ); } diff --git a/components/trade-inquiry-form.tsx b/components/trade-inquiry-form.tsx index dd60466..7a9e416 100644 --- a/components/trade-inquiry-form.tsx +++ b/components/trade-inquiry-form.tsx @@ -59,7 +59,7 @@ export function TradeInquiryForm() { const data = (await res.json()) as { ok?: boolean; error?: string }; if (!res.ok || !data.ok) { - throw new Error(data.error || "Submit failed"); + throw new Error(data.error || "Something went wrong. Please try again."); } setStatus("success"); @@ -99,9 +99,9 @@ export function TradeInquiryForm() { aria-live="polite" className="rounded-lg border border-moss/30 bg-moss/5 p-8 text-center outline-none focus-visible:ring-2 focus-visible:ring-moss/50" > -

Thank you for your inquiry.

+

Thanks for reaching out.

- We'll be in touch soon. + Your inquiry is in our inbox. The Deep Dive team will follow up.

); @@ -125,7 +125,7 @@ export function TradeInquiryForm() {