Back to Projects
https://legalhelp911.com
Loading preview…
Project screenshot

LegalHelp911

Web App
Next.js 15React 19TypeScriptTailwind CSS 4PythonSupabaseVercel

About This Project

LegalHelp911 is the lead-generation site for a Miramar, Florida law firm, live on its own domain at legalhelp911.com. The home page leads with a six-step criminal case review (situation, type of matter, state and county, court date, current lawyer, then contact details), backed by five practice-area pages, attorney bios, a news section, a Spanish landing page, and privacy and terms pages with text-message terms. It is built with Next.js 15, React 19, TypeScript, and Tailwind CSS 4. Every lead form posts to a standard-library Python serverless function that Vercel deploys alongside the Next.js app. It validates the case-review answers against an allow-list, filters bots without a CAPTCHA, and writes the lead to Supabase Postgres with the server-only service role key, behind Row Level Security with no public policies. Consent is clickwrap: the browser sends only a wording version and form ID, and the server rebuilds the exact consent statement from versioned templates before storing it. The firm's /admin area for leads and news uses a PBKDF2-hashed password and HMAC-signed session cookies. Marketing strategy: with the site now public, the next phase is paid acquisition, launching a Google Ads campaign and a social media marketing campaign. The tracking was built first, so ad spend is measurable from day one. Leads are saved with the page they came from, their UTM source, medium, and campaign, and the visit's first ad click ID (Google, Meta, or Microsoft) and referring site, so each case review can be traced back to the ad behind it. The admin also has Google Ads and Meta Ads reporting views, ready to connect to each platform's API when the campaigns go live.

Security & Compliance

Compliance
TCPA
Controls
  • Clickwrap consent recorded with the exact wording, timestamp, IP, and user agent
  • Leads table unreachable from the browser: RLS on, no policies, service role only on the server
  • Admin password stored only as a PBKDF2 hash, with timing-safe checks and per-IP throttling

Key Features

  • Six-step criminal case review on the home page, plus lead forms on every practice page
  • Mixed-runtime Vercel deploy: Next.js pages plus a standard-library Python function
  • Versioned consent statement rebuilt on the server for each form submission
  • Honeypot, per-IP rate limiting, and duplicate detection instead of a CAPTCHA
  • Supabase Postgres with RLS, revoked public privileges, and service-role-only writes
  • Password-protected admin with PBKDF2 hashing, signed sessions, and login throttling
  • Spanish landing page, JSON-LD structured data, and attorney-advertising disclaimers
  • Ad-ready lead attribution (UTM tags and ad click IDs) ahead of Google Ads and social campaigns