Dev Log
/projects/: added 'The work, in numbers' section + Coverage CTA above footer
What was done
- Numbers section. Added the same 8-card stat grid that appears on
/about/bailey/(lots platted, developments engineered, subdivisions as engineer of record, subdivisions as surveyor, lots in active entitlement pipeline, active developments, 6 counties in primary service area, 25 cities served) to the bottom of/projects/. Soft-white background, identical visual treatment so the two pages rhyme. - Coverage CTA. Removed the inline
.coverage-noteparagraph at the bottom of the project grid. Replaced with a dark-background CTA section (the same<section class="section-tight section-dark">pattern used across services pages and the bailey pillar) directly above the footer:- Eyebrow: “Coverage”
- H2: “From Sun Valley to Emmett.”
- Body: the user’s full sentence — “Over 20 years, Bailey has delivered projects across all 14 Treasure Valley cities and in communities from Sun Valley to Mountain Home to Emmett.”
- Button: “See all service areas →”
- Dropped CSS for
.coverage-notesince the inline-callout pattern is gone. Added scoped CSS for the new sections (numbers grid styling lifted frombailey.astro; CTA inner using thecta-inner2fr-auto grid pattern).
Why
User request, two changes in one ask:
- Move the “by the numbers” framing onto
/projects/so the projects page carries quantitative weight on its own without requiring a click to the pillar page. - Make the coverage line act like every other page’s “above-the-footer” CTA — visually distinct, action-oriented, brand-consistent — instead of an inline paragraph that read like a footnote.
Files affected
Modified
src/pages/projects/index.astro— addedbaileyStatsimport, replaced<p class="coverage-note">block with the two new sections, swapped scoped CSS
Created
src/content/devlog/2026-04-23-projects-numbers-and-coverage-cta.md(this entry, backfilled)
Verification
- Build verify: 20/20 PASS (verified at the time of change and again at session-end consolidation)
- HTML spot-check: 8
.number-valuecards rendered, “From Sun Valley to Emmett” h2 + “See all service areas” button text both present indist/projects/index.html