Repository navigation
design: solutions-page - Add stat bento and closing CTA - #100
Conversation
Patterns - Add Section - Stat Feature Bento (feature stat card plus two stacked stat cards) - Add CTA - Split Check Card (copy and buttons beside a solid-badge checklist card) Styling - Add stat-feature-bento.scss for the feature card glow and decorative rings - Compile assets/css/stat-feature-bento.css Wiring - Register stat-feature-bento bundle in package.json build scripts - Load stat-feature-bento.css on the solutions page in inc/animations.php - Add stat-feature-bento.css to editor styles in functions.php Content - Source copy, stats and checklist from the Solutions Landing content doc - Use the 300+, 10,000+ and 220,000+ proof points - Point CTAs to /free-consultation/ and /services/
Stat bento - Make columns stretch so the feature card always matches the two small cards plus the gap - Add a scoped flex-grow rule to stat-feature-bento.scss - Recompile assets/css/stat-feature-bento.css - Raise the intro width cap from 720px to 900px so the heading wraps once CTA check card - Change the column split from 50/50 to 60/40 so the heading wraps once - Increase the gap between the content and the checklist card to spacing 100
…olutions-page-stats-and-cta Stack - Bring the first layer's CHANGELOG entry for PR #99 into this layer Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (8)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe pull request adds two WordPress patterns for the Solutions page: a statistics bento and a split checklist CTA. It also adds styling and build, editor, and front-end stylesheet integration for the statistics bento. ChangesSolutions page patterns
Priority: ⬇️ Low Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Feature Merge Risk: ⚪ Minimal · up to This change adds two Solutions page patterns with supporting styles. No concrete merge-blocking problem was found. Checking the large stat's appearance on very narrow screens is a reasonable manual QA step. Architecture SummaryArchitecture risk: 🔵 Low · up to The change affects 7 systems. Changed systems: Architecture concerns Review detailsSystems and components
Before / after behavior
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Changelog - Add Unreleased entry for the Solutions stat bento and CTA check card patterns - Link the entry to PR #100 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
@coderabbitai review |
✅ Action performedReview finished.
|
Design Summary
The Solutions landing page (
/solutions/) needs two more sections after the route tiles: a proof section built around the page's headline stats, and a closing call to action. This adds both as reusablels-themepatterns, with the small amount of SCSS and wiring the proof section needs. This is the second layer of the Solutions page stack, based on the hero and route tiles layer (#99).Patterns
patterns/sections/stat-feature-bento.php: eyebrow, heading and paragraph above a two-column bento. The left column is one large feature stat card (300+ custom block themes, with 150+ bespoke plugins in the supporting line). The right column is two stacked stat cards (10,000+ peak concurrent sessions handled, 220,000+ posts migrated without metadata loss). The columns stretch and the cards grow to fill them, so the feature card is always exactly as tall as the two small cards plus the gap between them, whatever the copy length. The columns stack on mobile. The heading and paragraph sit in a 900px content width so the heading wraps once.patterns/cta/split-cta-check-card.php: eyebrow, heading, paragraph and two buttons on the left (60%), and a bordered surface card with a four-item checklist on the right (40%). Each item has a solid filled check badge using the existingicon.backgroundandicon.colortokens, so no new styling was needed. Primary CTA goes to/free-consultation/, secondary to/services/. The gap between the columns isspacing|100.Styling (
src/scss/structural/stat-feature-bento.scss, compiled toassets/css/)content:""pseudo-elements, absolute positioning or aspect-ratio. Each rule carries a// JSON limitation:comment.flex-growrule that keeps the feature card and the stacked cards the same total height. A core column does not pass its flex layout to its children, so the per-block fill setting does not apply there.text.brandtoken, which resolves differently in light and dark mode. Ring sizes and offsets are multiples of thespacing|100token, since there is no token for decorative geometry.Wiring
package.json: the new SCSS file added tobuild:css,build:css:devandwatch:css.inc/animations.php: the bundle loads on the Solutions page viais_page( 'solutions' ), with a render-marker fallback.functions.php: the stylesheet added as an editor style.Content
Linked Stories/Tasks/PRs/Design Files / Related Epics
Relates to Linear LSA-128
Milestones & Timeline
No milestone, release date or deadline supplied. Stack sequence: #99 first, followed by #100.
Designs / Mockups
Accessibility Considerations
pointer-events: noneand sit behind the card content.100, matching the existing Services eyebrows. The large stat uses font size token1000.Acceptance Criteria
Review checklist; completion has not been independently verified.
The existing branch is
feat/lsa-128-solutions-page-stats-and-cta; it has not been renamed. The template'sdesign/criterion remains unverified.Dependencies
Testing/Validation Steps
Existing checked results below are author-reported evidence, not new validations performed during this description update.
php -lon all 4 changed PHP filesphpcs(WordPress standard) on all 4 changed PHP files: no errors or warningsnpm run schema:validateandnpm run lint:jsonnpm run security:scannpm run patterns:escape: neither new pattern flagged (26 existing warnings elsewhere)npm run build:css: no diff after rebuildingnpm run theme:validate: completes with warnings only, all from.github/promptsplaceholders unrelated to this changehttp://localhost:8882/solutions/in light and dark mode (chromium, webkit, Mobile Chrome accessibility): 27 passed in each mode, with this layer's patterns on the pageAdditional Context
Scope and exclusions
text.brandcolour for now. The design uses a light-to-dark gradient on that number, which needs two new colour tokens with different light and dark values. They are proposed but not added here, pending approval.assets/css/stat-feature-bento.cssthat is 6 reviewable files and about +275 lines, within the preferred budget. This PR also carries a merge of the first layer's branch so its changelog commit is included; that merge adds only theCHANGELOG.mdentry from design: solutions-page - Add hero, route tiles and comparison #99.Changelog
meta:needs-changelog: user-facing new patterns. The original description states that the entry is added toCHANGELOG.mdafter the PR is created and links to it; this update does not independently verify that entry.🤖 Generated with Claude Code
Summary by CodeRabbit
Definition of Ready (DoR)
Definition of Done (DoD)