Skip to content

Rework why-switch section + copyable hero command#995

Merged
lane711 merged 1 commit into
mainfrom
lane711/rework-why-switch-section
Jul 6, 2026
Merged

Rework why-switch section + copyable hero command#995
lane711 merged 1 commit into
mainfrom
lane711/rework-why-switch-section

Conversation

@lane711

@lane711 lane711 commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

What

  • Replace 4 AI-generated pain-*.png background cards in "Why Developers Switch to SonicJS" with clean icon cards (FeatureIcon + ICONS, glass-morphism) matching the four-pillars section.
  • Delete the 4 orphaned images (~9.7MB).
  • Add CopyCommand client component — hero + final-CTA install command (npx create-sonicjs@latest my-app) is now copyable with copied-state feedback.

Tests

  • Updated 94-marketing-home.spec.ts: why-switch icon cards (no image alt), new copy-to-clipboard test.

🤖 Generated with Claude Code

Replace 4 AI-generated pain-*.png background cards in "Why Developers
Switch to SonicJS" with clean icon cards (FeatureIcon + ICONS, glass-
morphism), matching the four-pillars section. Delete the 4 orphaned
images (~9.7MB).

Add CopyCommand client component so the hero install command
(npx create-sonicjs@latest my-app) is copyable, with copied-state
feedback; used in both hero and final CTA.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@lane711 lane711 merged commit 036baf3 into main Jul 6, 2026
1 of 2 checks passed
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