Repository navigation
fix(landing): Built with in the hero, the Mind loads whole, a floating scrollbar, link previews - #293
Conversation
Axel and Ancung asked for the stack under the hero buttons, not the apps (which are listed lower down): "Built with" NEAR, NEAR AI, Meteor, Composio and GLM, from the logos already in public/brands/powered. On phones the label sits on its own line and the five logos fit one line under it (checked at 360 and 390 px). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On a fresh load the 2D hands rose and the 3D body came seconds later. The hands are CSS and keep moving while the main thread stalls; the body's first draw compiled its skinned, morphing shaders then. The shaders are now compiled and one frame drawn under the page loader, and the body is drawn once before the entrance starts the hands. Measured in headless Chromium (software GL) on the hero: the first frame after the loader lifted took 2.4 s before, 0.6 s after, and the body is up about 1.3 s after the loader lifts. Not measured on a real GPU; the cause is likely, not proven. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The browser's page scrollbar sat in a light strip of its own beside the sky (Ancung, 12 Nov): its gutter always shows the page's background, so it can't be see-through. The native bar is hidden and OverlayScrollbar draws a thin thumb over the page: shown while scrolling or on hover at the edge, fades after, draggable, dark with a light edge for the sky and the night. With no bar there is no width to reserve, so scrollbar-gutter: stable goes. Checked with a real 17 px scrollbar (Playwright without --hide-scrollbars) at 1024, 1512 and 1920 px: no bar width, no sideways scroll; dragging the thumb scrolls the page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- A shared hellonear.xyz link shows the hero as its preview: opengraph-image.jpg and twitter-image.jpg (1200 x 630, rendered from the page), metadataBase https://hellonear.xyz, a large-image Twitter card. next build writes og:image as https://hellonear.xyz/opengraph-image.jpg. - A refresh starts at the hero (Ancung, 12 Nov): an inline script turns off scroll restoration and drops a section hash before the page paints. Checked: a reload after scrolling and a fresh load of /#safety both land at the top. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Clicking Minds, Safety, Skills or a hero button put "#safety" and so on in the address bar (Ancung, 13 Nov). PageLoader, which already covers the page, jumps and lifts for these links, now keeps the address as it was. Tests: landing typecheck; Playwright on the dev server: Safety, Minds and Skills each land on their section with the URL still http://localhost:3100/, and the logo goes back to the top. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Ancung picked his own screenshot of the desktop hero for the link preview (13 Nov). It is cropped to 1.9:1 from the top and scaled to 1200 x 630, for opengraph-image.jpg and twitter-image.jpg. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Merged, thanks @AncungAulia (and @Nabil-Aufa, it's your folder). Checked: CI build passes, landing typecheck passes locally, every logo in Two small things, no need to block:
Approving this merge also deploys |
|
Live on the hosted demo:
|
|
@Lexirieru Lenis is in, as you asked: What it does
Checked (Playwright on the dev server)
Not checked: a real phone. 🤖 Generated with Claude Code |
|
Correction to my comment above: this PR was already merged when I pushed Lenis, so it isn't here. It's in #295 instead, on top of 🤖 Generated with Claude Code |
@Lexirieru @Nabil-Aufa The two points of #290, plus four landing fixes Ancung asked for. Nabil, it's your folder; Ancung took this over so it lands before the freeze.
#290
components/hero/Hero.tsx,STACK):public/brands/powered/, replacing Telegram, Gmail and Sheets. The apps stay in PoweredBy's "Works with" lower down.components/hero/MindStage.tsx):compileAsync) and one frame drawn under the page loader, before it says the Mind is loaded. The body is also drawn once beforeplay("enter")starts the hands.Also (Ancung, 12–13 Nov)
components/OverlayScrollbar.tsx):scrollbar-gutter: stablegoes. Checked with a real 17 px scrollbar (Playwright without--hide-scrollbars) at 1024, 1512 and 1920 px: no bar width, no sideways scroll.app/layout.tsxturns off scroll restoration and drops a section hash. Checked with a reload after scrolling, and a fresh/#safety.#…in the address:PageLoaderkeeps the URL as it was. Checked with Safety, Minds and Skills (each lands on its section) and the logo.app/opengraph-image.jpgandtwitter-image.jpg: Ancung's pick of the hero, at 1200 × 630, with alt text.metadataBasehttps://hellonear.xyz, and a large-image Twitter card.next buildwritesog:imageashttps://hellonear.xyz/opengraph-image.jpg.apps/landing/CLAUDE.mdupdated.Tests (local, on
main5538554)bun run typecheckandbun run build: pass.next start: the checks above, plus no sideways scroll on phones at 360 and 390 px.Closes #290.
🤖 Generated with Claude Code