Skip to content

Homepage: scroll freely, real buttons, tighter spacing - #116

Merged
charan-rathore merged 1 commit into
mainfrom
fix/free-scroll
Nov 13, 2026
Merged

charan-rathore merged 1 commit into
mainfrom
fix/free-scroll

Conversation

@charan-rathore

Copy link
Copy Markdown
Owner

Why the homepage felt stuck

  • The pinned chapters added up to 13.8 screens of scrolling.
  • Every scene re-measured and re-styled on every scroll event, even when it was far off screen.
  • The scenes trailed the scrollbar by 70 ms.

Changes

  • Shorter chapters: about 9.8 screens on desktop and 7.6 on phones. The heights now live in CSS, with a phone breakpoint.
  • Faster smoothing: a 40 ms half-life, so the scenes no longer trail the scrollbar.
  • Less work while scrolling: an IntersectionObserver gates each scene, so chapters off screen neither read layout nor write styles.
  • One button system:
    • Buttons are 48 px tall with a 12 px radius: a filled primary and a bordered secondary.
    • The secondary replaces the underlined "See how it works" link that sat next to the pill. It now says "Try the sample memory" and jumps to the live demo.
    • On phones the hero buttons stack full width.
    • Nav links get proper hit areas, and the nav button is 38 px.
  • Less empty space: section top padding is about a third smaller, and the demo section is shorter.

Generated by Claude Code

…cing

The pinned chapters were 13.8 screens long and every scene re-laid out on
every scroll event, even off screen, so the page felt stuck. Chapters are
now 9.8 screens (7.6 on phones), smoothing is 40 ms instead of 70, and a
scene only reads layout or writes styles while it is near the viewport.

Buttons share one system: 48 px, 12 px radius, filled primary and a
bordered secondary (no bare underlined link next to a pill). Nav links get
real hit areas. Section and demo padding drops by about a third.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RuUzfKR31rVxVEVZEEP8Vd
@vercel

vercel Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
memo-rable Ready Ready Preview Nov 13, 2026 1:11pm UTC

@charan-rathore
charan-rathore merged commit 80a91e7 into main Nov 13, 2026
6 checks passed

This branch was successfully deployed

1 active deployment
Preview — 5f4a5f06 Deployed Nov 13, 2026 by vercel[bot]
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.

2 participants