Seriously clean static Astro build. Your localized California copy on LA and Fresno doesn't read like generic AI filler at all, and pairing the directory with 8 interactive tools (like the IICRC Category & Class cost calculator) is textbook Information Gain. Below is a quick ~2-minute live walkthrough clicking through every catch I spotted, plus a 1-click fix prompt you can paste straight into Claude Code.
Click any chapter pill below to jump straight to that spot on the site.
rel="nofollow noopener sponsored" on external links, explicit width="1200" height="630" on lazy WebP images, dual Formspree + Supabase capture, Umami events, and a pre-wired mobile #call-bar + phone_click listener.
The hero <section> sets .text-white, and in Tailwind v4 preflight input, select, textarea { color: inherit }. Because neither .card nor .field sets a dark text color, #lf-name, #lf-phone, #lf-city, and #lf-service compute to white text on a white background on / (while /contact/ renders fine because its parent has dark text).
text-slate-900 to .card (and/or .field) so all inputs and dropdowns render crisp dark slate everywhere.
Your regional hub /directory/los-angeles-metro/ filters cleanly! However, on City, County, and Service+City pages (LA, San Diego, San Francisco, Orange County), out-of-area companies appear under "Local providers": Kustom Disaster Restoration (Gold River / Sacramento County, 385 mi north) ranks Top 4 in LA, SD, SF, and OC, and CRBR (Chico, 475 mi north) shows up on LA while 5.0-star local pros like Team Pro Restoration (Sherman Oaks) get buried at #18 because matched cards sort purely by raw review count descending.
Local (city-based) -> County-wide -> Statewide before sorting by review count and rating.
Like Takeshi noted on your post, routing homeowners into your quote form instead of exposing contractor phone numbers is smart directory design so leads don't bypass you (and you already put nofollow sponsored on external links, which protects SEO). Three quick funnel leaks to tighten up:
Website button and raw mailto: link (49 pros, including hr@westcoastfireandwater.com), letting flooded homeowners click out and call contractors directly without attribution. Consider saving external website links for a paid Featured tier!Request a quote on a provider card lands on a blank /contact/ page. Passing ?city=fresno&provider=west-coast to auto-select the city and show "Requesting quote for [City / Provider]" removes friction and tracks intent.Get a Quote and links to /contact/ instead of /tools/cost-calculator/.Statewide | Statewide badges and double city strings (Temecula, Temecula), add CA CSLB license # + IICRC badge support, and expand TCPA micro-copy under submit to explicitly cover calls/texts from partner restoration companies.
Saw in your bundle that you already built <div id="call-bar"> (reveals at scrollY >= 300px) AND wired up phone_click tracking in Supabase! Starting form-only pre-launch makes total sense so you don't pay monthly phone fees before pages index.
scrollY = 0 on a real iPhone Safari viewport (390x664), the 2-line header (~81px) + hero padding push Get My Quote 206px below the fold before #call-bar triggers. Compacting mobile hero spacing (or adding a compact Get Quote pill next to Menu) puts an action on screen 1 immediately.#call-bar will capture urgent callers without needing WhatConverts yet.X-Robots-Tag heads-up: Obviously noindex is intentional while staging! Just flagging that nginx/1.24.0 is also sending an HTTP header X-Robots-Tag: noindex, nofollow on every route (even /sitemap-index.xml), which is super easy to forget on launch day after removing Astro's <meta name="robots"> and robots.txt Disallow: /."Estimates and...". Add a fallback to statewide provider count when localCount === 0 and trim cleanly under 155 chars.LocalBusiness (with no address/phone) and city pages use Service listing the directory itself as provider, which conflicts with your footer disclaimer ("This directory does not perform the work"). Switching city pages to CollectionPage + ItemList fixes entity alignment./favicon.ico + /apple-touch-icon.png (currently 404), 301 redirect /sitemap.xml to /sitemap-index.xml, fix minor typo on /tools/cost-calculator/ ("providers., so treat"), and keep an eye on GSC indexation across the 250 service x city URLs once live.
Click below and paste straight into Claude Code inside your Astro repo to knock out all of these cleanly.
Review and apply these verified fixes on californiawaterrestoration.com (Astro + Tailwind v4 + nginx):
1. [CRITICAL CSS] Homepage hero quote form inputs & dropdowns render white-on-white because hero <section> has .text-white and Tailwind v4 sets input/select/textarea { color: inherit }.
- Add text-slate-900 to .card and/or .field so #lf-name, #lf-phone, #lf-city, and #lf-service render crisp dark text on white backgrounds everywhere.
2. [CRITICAL GEO-FILTER & SORT] While /directory/los-angeles-metro/ filters cleanly, City, County, and Service+City pages (LA, San Diego, San Francisco, Orange County) pull out-of-area companies (e.g. Kustom in Gold River/Sacramento, Steadfast in Pleasanton, CRBR in Chico) into "Local providers" and sort purely by raw review count descending (burying true local LA pros at #17-#18).
- Align city/county provider matching strictly with the displayed service areas / regional hubs.
- Tier sort order by Local (city-based) -> County-wide -> Statewide BEFORE sorting by review count and rating.
3. [MONETIZATION & CRO]
- Pass ?city=<slug>&provider=<slug> on provider card "Request a quote" buttons into /contact/, auto-select #lf-city, and show a subtle header noting which city/provider the quote is for.
- Demote or gate free outbound contractor Website & raw mailto: links (audit HR addresses like hr@westcoastfireandwater.com) so emergency leads don't bypass the quote funnel.
- Fix the homepage dark-teal tools banner ("Not sure how bad it is? Use the severity assessment and cost calculator...") so its CTA links to /tools/cost-calculator/ or /tools/severity-assessment/ instead of /contact/.
- Deduplicate repeated "Statewide" pills and doubled city names ("Temecula, Temecula"), add optional CSLB license # + IICRC badge fields on cards, and expand TCPA consent micro-copy under submit to explicitly cover calls/SMS from partner restoration companies.
4. [MOBILE 390x664 FIRST SCREEN]
- Compact mobile header / hero vertical spacing (or add a small "Get Quote" button beside Menu on <lg) so the primary quote CTA is visible above 664px on iPhone Safari before the scrollY >= 300px #call-bar appears.
5. [META DESCRIPTIONS, SCHEMA, INTERNAL LINKS & LAUNCH SCRIPT]
- Fix meta description generator where localCount === 0 prints "0 local providers" / "Compare 0 water damage restoration providers" (Bakersfield + 10 counties), fix "1 providers" grammar, and eliminate mid-sentence "..." truncation across city/county descriptions (<= 155 chars).
- Switch homepage JSON-LD from LocalBusiness to WebSite + Organization, and switch city/county JSON-LD from Service (which claims the directory is the provider, conflicting with the footer disclaimer) to CollectionPage + ItemList.
- Add 3-5 contextual internal links from each of the 25 California blog posts up to relevant city, county, and regional directory hubs.
- Generate /favicon.ico + 180x180 /apple-touch-icon.png, add a 301 redirect from /sitemap.xml -> /sitemap-index.xml, and fix minor typo on /tools/cost-calculator/ ("providers., so treat").
- Document/script launch-day unlock for ALL 3 indexing gates: robots.txt Disallow, Astro <meta name="robots">, AND nginx server header X-Robots-Tag: noindex, nofollow.