Skip to content

Apply Apple design language to landing page#4

Merged
afsan123 merged 1 commit into
mainfrom
claude/build-petfolio-app-QXVbL
May 18, 2026
Merged

Apply Apple design language to landing page#4
afsan123 merged 1 commit into
mainfrom
claude/build-petfolio-app-QXVbL

Conversation

@syed-reza98
Copy link
Copy Markdown
Member

Summary

  • Rewrites templates/index.html following Apple.com design patterns — no other files touched
  • Adopts white #ffffff / off-white #f5f5f7 / dark #1d1d1f section alternation, identical to Apple product pages
  • All form IDs, JS functions, and API routes fully preserved

Apple design patterns applied

Navigation

  • Sticky global nav (44px, frosted glass) mirrors Apple's global header
  • Sticky local sub-nav (52px) with section anchor links and a right-aligned CTA — identical to Apple's product page sub-navigation (MacBook Air: Overview · Tech Specs · Compare)

Typography

  • Hero headline at clamp(48px, 8vw, 96px) with -2px letter-spacing — Apple's signature tight bold display type
  • Section headlines at clamp(32px, 5vw, 56px) with -1px tracking
  • Muted #6e6e73 body text at 17px — Apple's standard body size and secondary color

Stat callout section

  • Giant clamp(120px, 20vw, 200px) "7" with "days on track." — mirrors Apple's "9.5× faster" performance callouts

Section rhythm

  • White → Off-white → White → Dark (#1d1d1f) → Off-white — exact Apple alternating section pattern
  • Generous 100px vertical padding per section

Bento highlights grid

  • 2×2 card grid ("Get the highlights.") matching Apple MacBook Air's feature overview section
  • Dark and blue accent tiles for visual variety

CTAs

  • border-radius: 980px pill buttons in #0071e3 (Apple's exact CTA blue) with hover states
  • Secondary "Learn more →" inline links

Footer

  • 4-column link grid on #f5f5f7 background
  • Fine-print tagline row above columns, legal links row below — Apple's footer structure

Test plan

  • Local sub-nav anchor links scroll to correct sections
  • Waitlist form validates and posts to /api/join
  • Counter animates from /api/stats on load
  • Success state shows #spot-number correctly
  • shake() fires on empty/invalid fields
  • All sections render correctly at 1440px, 960px, 600px, 375px
  • No horizontal overflow on mobile

https://claude.ai/code/session_01UP2KyuZxM8D7kEkq4akq3t


Generated by Claude Code

Rewrite templates/index.html following Apple.com design patterns:
sticky global + local sub-nav, huge display-weight hero type, white/off-
white (#f5f5f7) / dark (#1d1d1f) section alternation, bento highlights
grid, giant stat callout (7 days), pill CTAs, multi-column Apple-style
footer, and subdued muted-color typography hierarchy throughout.

https://claude.ai/code/session_01UP2KyuZxM8D7kEkq4akq3t
@vercel
Copy link
Copy Markdown

vercel Bot commented May 18, 2026

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

Project Deployment Actions Updated (UTC)
petfolio-waitlist Ready Ready Preview, Comment May 18, 2026 4:00pm

@afsan123 afsan123 marked this pull request as ready for review May 18, 2026 16:06
@afsan123 afsan123 merged commit cf82c40 into main May 18, 2026
5 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.

3 participants