Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# CHANGELOG

## 2026-11-10 - Sponsor WhatsApp message names Border Pulse (draft)

- The sponsor card's WhatsApp button now opens a prefilled message saying the patient found the clinic on Border Pulse (EN/ES). The visitor can edit it before sending. This lets the business see the source in its own inbox, which analytics cannot show.
- Checks: full `npm test` passes after a prerendered build.

## 2026-11-10 - Sponsor link goes to the live clinic site; bolder CBP report time (draft)

- The Constandse sponsor card now links to the clinic's live site (constandse-dental.vercel.app) instead of its preview deployment.
Expand Down
2 changes: 1 addition & 1 deletion src/components/sponsors/SponsoredCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default function SponsoredCard({ sponsor, placement, language = 'en' }) {
</a>
{sponsor.whatsapp && (
<a
href={`https://wa.me/${sponsor.whatsapp}`}
href={`https://wa.me/${sponsor.whatsapp}${sponsor.whatsappText ? `?text=${encodeURIComponent(sponsor.whatsappText[es ? 'es' : 'en'])}` : ''}`}
target="_blank"
rel="sponsored noopener"
onClick={() => log('whatsapp')}
Expand Down
5 changes: 5 additions & 0 deletions src/lib/sponsors.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ export const SPONSORS = [
},
url: 'https://constandse-dental.vercel.app/',
whatsapp: '19153007751',
// Prefilled so the business sees where the patient came from.
whatsappText: {
en: 'Hi, I found your clinic on Border Pulse and would like to book an appointment.',
es: 'Hola, encontré su consultorio en Border Pulse y quiero agendar una cita.',
},
// Ciudad Juárez crossings: PDN, BOTA, Ysleta, Stanton DCL, El Paso (combined).
ports: ['240202', '240201', '240104', '240204', '240221'],
guides: [
Expand Down
Loading