Skip to content

feat: shared UI component library (S4)#13

Merged
enricopiovesan merged 1 commit into
mainfrom
feat/ui-component-library
Jul 8, 2026
Merged

feat: shared UI component library (S4)#13
enricopiovesan merged 1 commit into
mainfrom
feat/ui-component-library

Conversation

@enricopiovesan

Copy link
Copy Markdown
Collaborator

Summary

  • Added 8 shared component groups to components.css: page-hero, two-col, stat-row/card, section-title-sm, section-lead, problem/benefit lists, use-case grid
  • scripts/strip_global_styles.py removes these classes from page-level <style is:global> blocks — 24 pages cleaned up
  • Each pattern is now defined exactly once; changing .two-col gap means editing one file

Test plan

  • Verify fintech, saas, ai-companies solution pages still render correctly
  • Check compare pages layout looks unchanged
  • Confirm npm run build completes with 80 pages

🤖 Generated with Claude Code

@enricopiovesan enricopiovesan enabled auto-merge (squash) July 8, 2026 05:31
Added page-hero, two-col, stat-row/stat-card, section-title-sm,
section-lead, problem-list/benefit-list, and use-case-grid as
globally-defined components in components.css. strip_global_styles.py
removes these from page-level <style is:global> blocks so each pattern
is defined once. Verified 80 pages build cleanly and classes resolve
from the shared stylesheet.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@enricopiovesan enricopiovesan force-pushed the feat/ui-component-library branch from af90ff4 to 4b058e9 Compare July 8, 2026 12:59
@enricopiovesan enricopiovesan merged commit 979606a into main Jul 8, 2026
2 checks passed
@enricopiovesan enricopiovesan deleted the feat/ui-component-library branch July 8, 2026 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant