Dev Log

Homepage county cards + LUI card redesign + title fix

· Claude Opus 4.6 · Bot
homepageluidesignhtml-fix

What was done

Homepage “Where we work” redesign

  • Replaced 2-column Ada/Canyon city list with 6-county card grid matching /service-areas/ pattern
  • Cards are now <div> wrappers (not <a>) with individual city links inside — fixes the flat-URL-to-county bug
  • Added “Full service area list →” button

Homepage “About Bailey” CTA section

  • New section between “Where we work” and “Services overview”
  • Shows verified stats from baileyStats (19,913+ lots, 605 developments, 317 subdivisions)
  • “Read our story →” links to /about/bailey/

LUI card redesign

  • Replaced ZIG bot background with per-article Bailey aerial (jump-creek.png for rs4-nampa)
  • 3-column grid (desktop) / 2 (tablet) / 1 (mobile), 4:3 aspect ratio
  • “Powered by ZIG” credit in card footer with botgui.de link
  • Fixed nested-anchor HTML bug: card wrapper changed from <a> to <div> with separate internal links

Title suffix deduplication

  • BaseLayout now checks title.includes(site.name) before appending ”— Bailey Engineering”
  • Fixes “About Bailey Engineering — Bailey Engineering — Bailey Engineering” on pillar page
  • verify-build.sh Check 15 catches future instances

robots.production.txt

  • Created launch-ready robots.txt with AI crawler allows (GPTBot, ClaudeBot, PerplexityBot, etc.)
  • Prototype keeps Disallow: /; production variant ready for domain migration

Files affected

  • src/pages/index.astro (county cards + CTA + stats)
  • src/pages/service-areas/index.astro (city link fix)
  • src/pages/dev-iq/land-use-intelligence/index.astro (LUI cards)
  • src/layouts/BaseLayout.astro (title dedup)
  • src/scripts/verify-build.sh (new checks)
  • public/robots.production.txt (new)
Feedback