Geofenced lead-intake system for a contingency-fee elder-abuse / nursing-home-neglect law practice. Generates a dedicated landing page per California facility on the CMS / CDPH watchlists, collects qualifying intake submissions, and writes them to a JSONL log for an intake VA to call within 15 minutes.
pnpm install
pnpm devThen open http://localhost:3000.
data/facilities-{1..5}.json— 50 California long-term-care facilities, sourced from CMS Medicare Care Compare, CDPH Cal Health Find, CMS Special Focus Facility Program (Feb 2026 posting), and the Nursing Home Abuse Watchlist.lib/facilities.ts— combines the JSON shards and exposes typed accessors.app/page.tsx— internal demo index of all 50 facilities, grouped by tier.app/facility/[slug]/page.tsx— public-facing landing page per facility (statically generated).components/IntakeForm.tsx— the qualifying intake form (relationship, incident type, when, contact info).app/api/intake/route.ts— receives submissions and appends them todata/submissions.jsonl.
The landing pages are written to stay inside California's no-direct-solicitation rule:
- Reference only publicly available CMS / CDPH data.
- Frame allegations as publicly filed claims, not findings of fact.
- Disclose attorney-advertising status and that submission does not create an attorney–client relationship.
The facility list itself contains nothing private — every flag is on the public CMS/CDPH/SFF program record.
- HubSpot push (one webhook call away).
- Auto-calendaring after submission.
- Ad-platform creative + audience definitions per facility.
- VA-facing dashboard (the JSONL is enough for v1).