Landing Page Redesign Design
Goal
Redesign the Volr docs landing page (docs.volr.io) to be more action-oriented, featuring a prominent npx volr command, Claude Code skills showcase, and a terminal animation demo.
Current State
- Basic hero with "Volr SDK Documentation" title and generic subtitle
- Two CTA buttons (Get Started, Live Demo)
- 6 documentation category cards
- Dot pattern background, clean but unremarkable
Design: Hero Redesign + Separated Sections
Section 1: Hero
Layout: Centered, full-width
- Headline: "Stablecoin Payments. One Command." (bold, large, 2 lines)
- Subtitle: "Add stablecoin payments to your app in minutes, not weeks."
- npx command box:
- Dark background (#111827)
- Monospace font displaying
$ npx volr - Copy icon on right side
- Click to copy to clipboard with "Copied!" feedback
- CTA buttons: Docs, GitHub, Discord (secondary style)
- Background: Existing dot pattern, slightly more subtle
Section 2: Skills Cards
Layout: 3-column grid (1-col mobile)
- Section title: "Built-in Claude Code Skills"
- Section subtitle: "AI-powered skills to accelerate your integration"
- Cards: Each card has:
- Lucide icon
- Skill name
- Description
- Copy URL button (copies skill URL for Claude Code usage)
- Skills to display: Based on actual Volr Claude Code skills (Quick Setup, Payment Config, Testing Suite as examples - replace with real skills)
Section 3: Terminal Demo Animation
Layout: Centered, max-width container with terminal window
Terminal window styling:
- Dark background (#0d1117)
- Fake macOS window buttons (red/yellow/green dots) top-left
- Monospace font, subtle shadow
- Border-radius for rounded corners
Animation flow (Framer Motion, loops):
- Cursor blink (0.5s)
- Type
npx volrcharacter by character (0.8s) - Enter + brief pause (0.3s)
- Sequential steps appear (0.6s each):
- spinner -> checkmark "Installing Volr SDK..."
- spinner -> checkmark "Configuring USDC payments..."
- spinner -> checkmark "Setting up webhooks..."
- spinner -> checkmark "Generating API keys..."
- Completion message fade-in (0.5s)
- Hold for 3s, then reset and loop
Colors: Green checkmarks (#4ade80), white text, subtle gray for dimmed text
Section 4: Documentation Cards (existing)
Keep current 6-card grid layout at the bottom, unchanged.
Technical Details
- Framework: Docusaurus (React)
- Animation: Framer Motion (already installed)
- Icons: lucide-react (already installed)
- Styling: CSS Modules + Tailwind (existing pattern)
- i18n: Must support en/ko translations (existing pattern)
- Responsive: Mobile-first, existing breakpoints (640/768/1024px)
- Dark mode: Full support using existing CSS custom properties
Files to Modify
src/pages/index.tsx- Main homepage componentsrc/pages/index.module.css- Homepage styles
Files to Create
src/components/TerminalDemo/TerminalDemo.tsx- Terminal animation componentsrc/components/TerminalDemo/TerminalDemo.module.css- Terminal stylessrc/components/SkillsSection/SkillsSection.tsx- Skills card sectionsrc/components/SkillsSection/SkillsSection.module.css- Skills stylessrc/components/NpxCommand/NpxCommand.tsx- Copyable npx command boxsrc/components/NpxCommand/NpxCommand.module.css- Command box styles
Anti-Patterns to Avoid (from STYLE_GUIDE.md)
- No fonts other than Host Grotesk / system monospace
- No non-4px-multiple spacing
- No heavy shadows or dramatic animations
- No purple/indigo gradients
- No low contrast text