Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
5c36312
feat: add A/B/C variant toggle for homepage testing
achalvs Feb 12, 2026
14ae6ca
feat: add 4 homepage variants (A/B/C/D) for team review
achalvs Feb 12, 2026
a8073ea
fix(variant-b): remove numbers, add dividers and copy buttons
achalvs Feb 12, 2026
becac14
fix(variant-b): move co-authored-by to top left
achalvs Feb 12, 2026
15298b8
fix(variant-c,d): fix layout issues
achalvs Feb 12, 2026
d36b02d
fix(variant-d): proper 100vh and vertical spacing
achalvs Feb 12, 2026
3d6dd7b
fix: remove 'The' from title, add copy button to variant A
achalvs Feb 12, 2026
e2503c5
fix: remove footer, add X link to top nav
achalvs Feb 12, 2026
c7ee8c0
fix: remove $ indentation, fix variant C layout with scroll snap
achalvs Feb 12, 2026
4180b96
fix: use consistent subheading across all variants
achalvs Feb 12, 2026
befd0af
fix(variant-c): use fixed positioning for scroll indicator at viewpor…
achalvs Feb 12, 2026
fb26a18
fix(variant-c,d): add proper scroll snap with container height and sn…
achalvs Feb 12, 2026
06536bd
fix(variant-c): center AgentTabs and CLI demo
achalvs Feb 12, 2026
7672950
fix: larger Sign Up/Sign In buttons, bottom-aligned in CLI
achalvs Feb 12, 2026
9ed76f2
fix(variant-c): adjust vertical centering with negative margin
achalvs Feb 12, 2026
39fbae4
fix(variant-b): move co-authored-by under CLI demo
achalvs Feb 12, 2026
f944dee
fix: remove $ indentation in AgentTabs (inline code on single line)
achalvs Feb 12, 2026
7f441bf
fix(variant-c,d): use flex spacers for proper scroll indicator positi…
achalvs Feb 12, 2026
5015fe8
fix(variant-c,d): remove nested scroll container, use minHeight instead
achalvs Feb 12, 2026
721bcd3
fix(variant-b): increase margin above co-authored-by
achalvs Feb 12, 2026
2f84a29
fix(variant-b): change prompts to user-focused (consuming services)
achalvs Feb 12, 2026
54ed72e
feat(landing): major landing page improvements
achalvs Feb 12, 2026
0be578f
feat(landing): add agent logos and MPP header logo
achalvs Feb 12, 2026
00e1196
chore: remove unused Icon variable
achalvs Feb 12, 2026
0801090
feat(landing): update prompts, logos, and styling
achalvs Feb 12, 2026
66811ce
feat(landing): add variant F - one-column layout without passkey
achalvs Feb 12, 2026
467ab94
feat(variant-f): redesign as single-page 100vh layout
achalvs Feb 12, 2026
46a3ad9
fix(variant-f): restore Cli.Demo with chrome, remove custom Simulated…
achalvs Feb 12, 2026
0bba650
Simplify variant F demo and fix build errors
achalvs Feb 12, 2026
1ffea06
Refine variant F landing page UI
achalvs Feb 12, 2026
23d5c99
chore: regenerate lockfile with pnpm 10
achalvs Feb 12, 2026
d843665
fix: add wallet connection steps to variant F demo
achalvs Feb 12, 2026
cd88d62
feat: add silent wallet connection steps for variant F demo
achalvs Feb 12, 2026
6844715
Fix wallet connection
achalvs Feb 12, 2026
bc6b0f1
feat: implement passkey-free demo with localStorage wallet
achalvs Feb 12, 2026
6a6218b
fix: use dedicated mpay client for demo with local account
achalvs Feb 12, 2026
0e98b52
fix: preserve initialBalance when using demo address
achalvs Feb 12, 2026
c8f6895
fix: vertically center content on tall viewports
achalvs Feb 12, 2026
158310c
feat: add "For Humans" page with services directory
achalvs Feb 12, 2026
431d30d
fix: use correct Mpay.create setup from client quickstart
achalvs Feb 12, 2026
5661617
fix: tighten variant F layout to fit viewport without scroll
achalvs Feb 12, 2026
194e68f
fix: sidebar background and animated prompt text wrapping
achalvs Feb 12, 2026
8de4c8d
fix: variant F viewport height and eliminate scroll
achalvs Feb 12, 2026
d5183ec
fix: position Works with services bar fixed at bottom of viewport
achalvs Feb 12, 2026
aea9e46
fix: position Works with bar fixed at bottom with more padding
achalvs Feb 12, 2026
65ba0b0
fix: don't let Window override initialBalance when demoAddress is set
achalvs Feb 12, 2026
4ebb06f
fix: increase variant F demo height to 330px to prevent clipping
achalvs Feb 12, 2026
83f0921
fix: add staleTime: 0 to balance queries to force fresh data
achalvs Feb 12, 2026
21ead3d
fix: align tables with other content (remove negative margin)
achalvs Feb 12, 2026
f4e4cad
fix: invalidate balance queries after each payment transaction
achalvs Feb 12, 2026
555098a
fix: header z-index overflow, table layout improvements
achalvs Feb 12, 2026
900f777
debug: add logging and invalidate all queries after payment
achalvs Feb 12, 2026
1823fcc
fix: always show tx hash status in demo - red warning if missing
achalvs Feb 13, 2026
f7ed7ad
refactor: variant F to use scroll snap like variant C
achalvs Feb 13, 2026
0003ec4
fix: add more CSS selectors for Vocs v2 navigation background
achalvs Feb 13, 2026
b78261f
fix: apply header background via useEffect for scroll snap variants
achalvs Feb 13, 2026
af60e4b
update: variant F agent prompt to fal.ai logo generation example
achalvs Feb 13, 2026
eda3aaf
fix: update AgentTabs prompts to remove URLs
achalvs Feb 13, 2026
37f8a57
update: new copy and content changes
achalvs Feb 13, 2026
5b79769
fix: remove text underline from cards and buttons on hover
achalvs Feb 13, 2026
ba37fa5
fix: more specific CSS to remove underlines from Vocs cards
achalvs Feb 13, 2026
615582f
fix: remove underlines from sidebar navigation links
achalvs Feb 13, 2026
61389b1
fix: add hover state to Vocs cards matching service cards style
achalvs Feb 13, 2026
068ba12
fix: improve card hover effects and reduce description size
achalvs Feb 13, 2026
20fbbb9
fix: add more padding below h1 headings
achalvs Feb 13, 2026
3e40197
update: h1 padding value
achalvs Feb 13, 2026
ac592ea
fix: style links inside callouts - blue color and underlined
achalvs Feb 13, 2026
0038522
fix: more aggressive card styling and remove h1 divider
achalvs Feb 13, 2026
b47513b
fix: revert sidebar links to default color, only callout links blue
achalvs Feb 13, 2026
99fb784
fix: keep default purple color for callout links, only add underline
achalvs Feb 13, 2026
20e244f
fix: card hover - title blue, card border darker, remove dividers
achalvs Feb 13, 2026
f540b6d
fix: callout links purple, darker purple on hover
achalvs Feb 13, 2026
982d458
fix: card layout with space-between, smaller description, hide dividers
achalvs Feb 13, 2026
59f6a42
fix: target Vocs cards by class name patterns
achalvs Feb 13, 2026
da90329
fix: target Vocs v2 cards using vocs: prefixed class selectors
achalvs Feb 13, 2026
ee260ca
fix: target callout links with more Vocs v2 selectors, force purple
achalvs Feb 13, 2026
5b2b3b4
fix: card layout - icon at top with auto margin, title/desc grouped a…
achalvs Feb 13, 2026
01dd2c9
fix: subtle card hover border color (gray-300)
achalvs Feb 13, 2026
708bbe9
feat: comprehensive dark mode theming using Vocs CSS variables
achalvs Feb 13, 2026
c49b507
Fix mermaid styling
achalvs Feb 13, 2026
cb35843
fix: move Ask AI spotlight to bottom right corner
achalvs Feb 13, 2026
2462e03
Landing page redesign, sidebar cleanup, and styling fixes
achalvs Feb 13, 2026
081ffa0
fix: remove muted opacity from landing page logo
achalvs Feb 13, 2026
c37575c
fix: sidebar active state white text via -webkit-text-fill-color
achalvs Feb 13, 2026
aab8cd9
Merge remote-tracking branch 'origin/main' into achal/homepage
achalvs Feb 13, 2026
333aad8
fix: regenerate lockfile with pnpm 10 to match CI
achalvs Feb 13, 2026
21bc508
Orange accent, callout styling, ASCII nodes, UI polish
achalvs Feb 13, 2026
34cac46
chore: update accent color to #FF7D3C
achalvs Feb 13, 2026
19b22f9
fix: update Codex logo to official monochrome brand asset
achalvs Feb 13, 2026
75b7809
Merge remote-tracking branch 'origin/main' into achal/homepage
achalvs Feb 13, 2026
5179e9b
simplify top nav: Docs, SDKs dropdown, X
achalvs Feb 13, 2026
6d9eae3
Hero variants A-E with toggle, SVG lockups, network background
achalvs Feb 14, 2026
ae74b8d
fix: regenerate lockfile with pnpm 10
achalvs Feb 14, 2026
149d4d0
Monochrome redesign, HB Set font, landing page polish
achalvs Feb 15, 2026
648ed0d
Mobile landing page polish: stacked lockup, service card, nav bg fix
achalvs Feb 16, 2026
a3f5575
fix: remove invalid color prop from AsciiLogo to fix type error
gakonst Feb 16, 2026
7e69d89
fix: resolve biome lint errors (svg a11y, noExplicitAny)
gakonst Feb 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
81 changes: 81 additions & 0 deletions .cursor/plans/hero_section_5_variants_6fa2e943.plan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
---
name: Redesigned landing page and theming
overview: Redesign the MPP documentation site landing page with a new hero section, orange accent theming, dark mode support, updated navigation, and new "For Humans" content section.
todos:
- id: landing-page
content: Redesigned single-viewport landing page with ASCII logo hero, agent CLI tabs, CTA buttons, and service logos
status: completed
- id: theming
content: Orange accent (#FF7D3C), light+dark color scheme, Berkeley Mono font, comprehensive dark mode CSS
status: completed
- id: navigation
content: Simplified top nav (Docs, SDKs dropdown, X link), restructured sidebar with "Setup & use" and "Integrate now" sections
status: completed
- id: for-humans
content: New /setup section with agents, integrate, and FAQ pages
status: completed
- id: logo-svg
content: Updated site logos to SVG format with proper light/dark variants
status: completed
- id: styling
content: Card hover effects, callout link styling, sidebar active state, heading spacing, service logo row
status: completed
isProject: false
---

# Redesigned landing page and theming

## Summary

Single-variant landing page redesign for the MPP documentation site. The hero fills the viewport (100vh) with a vertically centered layout: ASCII animation, subtitle, agent CLI tabs (Claude / Codex / Amp), CTA buttons, and a row of service logos at the bottom.

## What changed

### Landing page (`src/components/LandingPage.tsx`)

- **Hero**: Full-viewport section with `AsciiLogo`, subtitle copy, agent CLI tabs, and two CTA buttons ("Setup & use" → `/setup/agents`, "Integrate now" → `/specs`)
- **Agent tabs**: Tabbed component showing copy-pasteable CLI commands for Claude, Codex, and Amp with a click-to-copy button
- **Service logos**: fal.ai, Codex, Cloudflare, OpenRouter, ElevenLabs—icon + name, linking to the services list
- **Scroll lock**: Page locks to 100vh on the landing route so the hero fills the screen

### Theming and styling (`_root.css`, `vocs.config.ts`)

- Accent color changed from blue (`#0166FF`) to orange (`#FF7D3C`)
- Color scheme set to `"light dark"` for system-preference dark mode
- Berkeley Mono and Commit Mono font imports
- Comprehensive dark mode overrides for cards, callouts, sidebar, headings, code blocks
- Card hover effects, callout link styling, sidebar active state white text, heading padding

### Navigation (`vocs.config.ts`)

- Top nav simplified to: Docs, SDKs (dropdown with TypeScript/Python/Rust), X (Twitter)
- Sidebar restructured into "Setup & use" (agents, integrate, FAQ) and "Integrate now" (collapsed groups for Introduction, Quick Start, Protocol, Payment Methods, SDKs)

### New content pages

- `/setup` — landing index for non-developer audience
- `/setup/agents` — guide for using MPP with AI agents
- `/setup/integrate` — integration guide for app developers
- `/setup/faq` — frequently asked questions

### Logo updates

- Site logos converted from PNG to SVG (`mpp-logo-light.svg`, `mpp-logo-dark.svg`)
- Codex logo updated to official monochrome brand asset

## Files changed


| File | Change |
| ---------------------------------------- | ----------------------------------------------------------------- |
| `src/components/LandingPage.tsx` | Redesigned single-viewport hero with agent tabs and service logos |
| `src/components/AsciiLogo.tsx` | Updated ASCII animation component |
| `src/components/LandingPageVariants.tsx` | Added during iteration (variant exploration) |
| `src/pages/_root.css` | Orange accent, dark mode, card/callout/sidebar styling |
| `vocs.config.ts` | Accent color, color scheme, nav, sidebar restructure |
| `public/mpp-logo-*.svg` | SVG logo variants |
| `src/pages/setup/*.mdx` | New "For Humans" content section |
| `src/pages/overview.mdx` | Minor updates |
| `src/pages/protocol/index.mdx` | Minor updates |


1,877 changes: 1,877 additions & 0 deletions bun.lock

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,15 @@
"@fontsource/commit-mono": "^5.2.5",
"@tanstack/react-query": "^5.90.20",
"@tanstack/react-store": "^0.8.0",
"beautiful-mermaid": "^0.1.3",
"class-variance-authority": "^0.7.1",
"dayjs": "^1.11.19",
"geist": "^1.7.0",
"mermaid": "^11.12.2",
"mppx": "~0.1.0",
"react": "^19",
"react-dom": "^19",
"scroll-snap": "^5.0.2",
"tailwindcss": "^4.1.18",
"tempo.ts": "~0.14.0",
"viem": "latest",
Expand Down
Loading