Conversation
Bring main up to date with prepro (Next.js rewrite)
chore: merge prepro into main
…Design - Add vite.lib.config.ts for ESM library build (window.PlantFaced) - Add tsconfig.lib.json for declaration emit - Add components/index.ts barrel exporting all 13 components + types - Add components/PreviewProvider.tsx wrapping MemoryRouter + CartProvider - Add .design-sync/ with config, conventions, NOTES, and 5 rich previews - Update package.json with build:lib script (vite → tailwind → tsc) - Update .gitignore to exclude ds-bundle/, .ds-sync/, .design-sync/.cache/ Synced to Claude Design project "Plant Faced — Design System" (be20a42f). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KGg1H4VjfbEdWYkXrPTzD2
- Replace Next.js with Vite + React Router; remove app/ dir and next config - Add ProductDetail page at /products/:slug with gallery, buy box, and related products - Rebrand primary color to terracotta (#B85C38) and secondary to warm linen (#F2E4D4) - Update all components to remap color classes (bg-primary CTAs, text-primary on light bg) - Convert getProducts() to fetch-based async (SPA-compatible) - Add navigation.ts with scroll-to-section helpers and section ID types Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KGg1H4VjfbEdWYkXrPTzD2
- Update conventions.md brand color table: primary #B85C38, secondary #F2E4D4 - Update Hero preview gradient from teal to terracotta (#B85C38 → #8a3d22) - Update NOTES.md Hero background note to reference terracotta Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KGg1H4VjfbEdWYkXrPTzD2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
app/dir,next.config.mjs, and all'use client'/next/image/next/linkusage/products/:slugroute with image gallery, buy box (color swatches, size picker, qty stepper), breadcrumb, and related products gridprimary→#B85C38(terracotta),secondary→#F2E4D4(warm linen); all components updated to remap color classesTest plan
npm run dev— home page loads, products render with terracotta buttons/products/<slug>loads with gallery + buy box/#sectionand scrolls correctly🤖 Generated with Claude Code
https://claude.ai/code/session_01KGg1H4VjfbEdWYkXrPTzD2