Skip to content

fix(website): code review fixes — responsive grid, unique IDs, iframe sandbox, design tokens#103

Merged
blove merged 1 commit into
mainfrom
fix/code-review-issues
Apr 10, 2026
Merged

fix(website): code review fixes — responsive grid, unique IDs, iframe sandbox, design tokens#103
blove merged 1 commit into
mainfrom
fix/code-review-issues

Conversation

@blove
Copy link
Copy Markdown
Contributor

@blove blove commented Apr 10, 2026

Summary

Addresses 4 important issues from code review:

  1. Responsive grid overflow — FeaturesGrid minmax(440px)minmax(min(440px, 100%)) prevents horizontal overflow on mobile screens < 440px
  2. Duplicate HTML IDs — WhitePaperGate sections now use library-specific IDs (angular-whitepaper-gate, render-whitepaper-gate, chat-whitepaper-gate)
  3. Iframe sandboxing — All 17 cockpit iframes get sandbox="allow-scripts allow-same-origin" for defense-in-depth
  4. Design token consistency — Added renderGreen and chatPurple to @cacheplane/design-tokens, replaced all hardcoded #1a7a40 and #5a00c8 values across 15 component files

17 files changed across 3 landing page component sets + LibrariesSection + design tokens.

Test plan

  • nx build website — success
  • nx lint website — 0 errors, 0 warnings
  • CI green

🤖 Generated with Claude Code

…me sandbox, design tokens

1. FeaturesGrid: minmax(440px) → minmax(min(440px, 100%)) for mobile
2. WhitePaperGate: unique IDs per library (angular-, render-, chat-)
3. Iframes: add sandbox="allow-scripts allow-same-origin"
4. Design tokens: add renderGreen (#1a7a40) and chatPurple (#5a00c8),
   replace all hardcoded color values across 15 component files

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 10, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cacheplane Ready Ready Preview, Comment Apr 10, 2026 8:21pm

Request Review

@blove blove merged commit 7b29933 into main Apr 10, 2026
14 checks passed
@blove blove deleted the fix/code-review-issues branch May 7, 2026 16:30
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