Home services / Client project / Public site
Hero Pro Services
A home-services site rebuilt from WordPress to Next.js, with lead capture, consent, and tracking under test.

Overview
What it is
Hero Pro Services is a home-services company in the Nashville area, covering handyman, HVAC, plumbing, electrical, remodeling, and storm-shelter work. The new site replaced a WordPress build. The team edits pages in Sanity, and every service request goes straight into the company's Jobber account.
Scope
What the site includes
- 01
Service and service-area pages the team edits in Sanity
- 02
A storm-shelter section and a water-filtration landing page for paid search
- 03
A three-step request form that creates leads in Jobber
- 04
Consent handling that changes by visitor region
Role
My role
I led the build after a teammate's early front-end pass. I redid the interface and built the CMS integration, lead capture, tracking, and test suite, and I've run releases since launch.
Build
Technical notes
- Lead capture
- The request form posts to a server route that creates the request in Jobber, carries the Google click ID through, and logs structured failures for alerting.
- Consent
- Consent Mode v2 defaults depend on region. California, non-US, and unknown visitors start denied, and enhanced-conversion data is only sent after an explicit Accept.
- Quality gates
- Vitest and Playwright cover the form, schema, redirects, consent order, and accessibility. Lighthouse CI gates six key pages on performance, SEO, and accessibility.
- Release checks
- After each release, a script checks every page and redirect against the live domain.
- Next.js
- React
- TypeScript
- Sanity
- Tailwind CSS
- Jobber API
- Vitest
- Playwright
- Lighthouse CI
Selected work
Development work
- 01 Interface Design
- 02 Frontend Development
- 03 CMS Integration
- 04 Lead Capture
- 05 Analytics and Consent
- 06 Testing and Release
Results
Results
- The first test push caught and fixed five production bugs, including canonical URLs that pointed at the wrong host.
- The October 2026 consent release passed 286 automated tests before deploy, then a live check of every page and all 44 redirects.