Skip to content

feat(homepage): editorial redesign — sage palette, typography hero, plant category grid#1

Open
RSBromley wants to merge 1 commit into
contensis:masterfrom
RSBromley:feat/homepage-editorial-redesign
Open

feat(homepage): editorial redesign — sage palette, typography hero, plant category grid#1
RSBromley wants to merge 1 commit into
contensis:masterfrom
RSBromley:feat/homepage-editorial-redesign

Conversation

@RSBromley
Copy link
Copy Markdown

Summary

  • Design tokens: Replace bright mint (#77E8C6) with sage green (#8FBC8F) across all token references; add new --semantic-background-warm (#FAFAF8) warm off-white token. Update hardcoded hex values in LinkButton.styled.tsx and table zebra stripes.
  • Hero redesign: LandingHero rewritten from full-bleed background image + floating white card → editorial two-column layout. Large Source Serif 4 headline fills the left column as the primary visual anchor; editorial accent photo sits in the right column on desktop. Decorative sage rule above the headline. imageAlt prop bug fixed (was declared but never passed to <img>).
  • New section: PlantCategoryGrid — "Find your perfect plant" 3-column responsive editorial grid with portrait-ratio cards, full-card link pattern, hover lift, and Storybook story. Hardcoded with 3 starter categories (Low Light, Easy Care, Pet-Friendly); CMS integration is a follow-up.
  • Testimonials: Remove heavy dark background and background-image overlay. New cream/warm-white background, typographic " quotation mark in sage, dot pagination (rendered from React state), sage arrow buttons.
  • Spacing: Section vertical rhythm increased from 80px/120px100px/140px for editorial breathing room.
  • Header: isLight={false} — switches to dark logo now that hero background is white.

Testing

  • No tests exist in this project (Storybook only) — all 3 new/modified components have updated Storybook stories
  • All TypeScript errors are pre-existing (node_modules type conflicts) — zero new errors introduced in src/
  • Responsive breakpoints: mobile → tablet → laptop → desktop handled in each styled component

Post-Deploy Monitoring & Validation

No additional operational monitoring required: all changes are purely presentational (Styled Components + JSX structure). No new data fetching, API calls, or state management changes. Visual QA on staging is the primary validation.

Follow-up

  • Wire PlantCategoryGrid categories to a CMS minilist so editors can manage them
  • Validate sage #8FBC8F contrast ratio on warm white #FAFAF8 with browser DevTools (WCAG AA: 4.5:1 for text, 3:1 for UI)
  • Supply real plant category photography to /static/img/categories/

Compound Engineered 🤖 Generated with Claude Code

- Replace bright mint (#77E8C6) with sage green (#8FBC8F) across design
  tokens, LinkButton, and table stripe
- Add --semantic-background-warm (#FAFAF8) warm off-white token
- Redesign LandingHero to typography-led two-column layout: large Source
  Serif 4 headline as primary visual anchor, editorial accent photo right
- Add PlantCategoryGrid — new "Find your perfect plant" section with
  3-column responsive editorial cards, positioned after hero
- Restyle TestimonialSlider: remove dark background, use warm off-white,
  pull-quote typographic treatment with sage quotation mark, dot pagination
- Update homepage spacing: 100px/140px section rhythm (up from 80px/120px)
- Switch isLight={false} on MainLayout for correct dark logo on white hero

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
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