Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions apps/landing/CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ Every button hovers like Open app (`.hero-btn`, `.btn-swipe`; `.btn-swipe-dark`
- Sky is drawn in code (SVG gradient with colours sampled from the sky art, a warm sun glow top-left, thin cirrus). Sun rays: three wide soft beams from the top-left (`.hero-rays`, screen blend). The front grass is a WebGL canvas (`components/hero/GrassSlope.tsx`) whose blade tips sway, with a gust of light sweeping across.
- The Mind is `public/hero/mind.glb` (`components/hero/MindStage.tsx`), rigged in Blender from the Hunyuan model (scripts in the gitignored `design/hellonear-assets/3d-mv/`: `fix_eyes.py`, `fix_blush.py`, `fix_face.py`, `extract_hands.py`, `build_rig_v4.py`, `render_mobile.py`). Bones: body (squash, stretch, slide), head (turned toward the cursor by the page), a two-joint sprout, two beak lips, and hands. Clips: `enter` (plays once on load), `idle` (loop), `hi` (one shot on a click on the head, then back to idle). Eyes, lids and blinks are driven by the page.
- The hands are 2D images (`grip-*`, `wave-left`), relit to match the 3D light (sun from the left), and moved in step with the clips through `onClip`: in `enter` they rise from behind the hill and grab the crest; in `hi` the screen-left hand waves twice. The rig's 3D hands are hidden. On a fresh load the hands used to rise alone and the body came seconds later (#290): the hands are CSS, which keeps moving while the main thread stalls, and the body's first draw compiled its skinned, morphing shaders then. Now `MindStage` compiles them (`compileAsync`) and draws one frame under the page loader before saying it is loaded, and `start` draws the body once before `play("enter")` starts the hands. Measured in headless Chromium (software GL): the first frame after the loader lifted took 2.4 s before, 0.6 s after; the sprout now peeks at about 0.9 s and the body is up at about 1.3 s, as the entrance means. On a real GPU it is not measured yet (likely cause, not proven).
- Buttons: "Meet your Mind" scrolls to the Minds; "Watch the demo" opens the demo post on X (https://x.com/hellonearai/status/2121301045540450520) in a new tab (#334, Axel, 15 Nov), since the demo section has no video yet. The footer's "Demo video" opens the same post (Nabil, 15 Nov).
- Under the buttons, "Built with" and the stack's logos (#290: NEAR, NEAR AI, Meteor, Composio, GLM; `STACK` in `Hero.tsx`, files from `public/brands/powered/`; Meteor and Z.ai show their mark beside the name, as in PoweredBy). The apps are listed lower down, in PoweredBy's "Works with". Phones: the label on its own line and the five logos on one line under it (`--stack-k: 0.72`), checked at 360 and 390 px.
- Phones and tablets (under 1024 px): the copy is centred (title, subtitle, buttons, Built with). The buttons' phone sizes live in `globals.css` (`.hero-m`), not in Tailwind classes: the unlayered `.hero-btn-lg` rules beat Tailwind utilities, which is why the old ones never applied and Meet your Mind's dot touched its edge on iPhones.
- Phones: no WebGL and no parallax; the Mind is `mobile-back.webp` (rendered from the same rig) with the same 2D hands.
Expand Down
5 changes: 3 additions & 2 deletions apps/landing/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ const REPO = "https://github.com/Hellonear-AI/hellonear";

const COLUMNS: [string, [string, string][]][] = [
["Product", [["Open app", APP_URL], ["Minds", "#minds"], ["How it works", "#how-it-works"], ["Safety", "#safety"], ["Mind Graph", "#skills"]]],
// Docs, Status and Trust open in a new tab (#307, Axel); so does HelloNear's X account (#316, Axel).
["Project", [["GitHub", REPO], ["README", `${REPO}#readme`], ["Docs", "https://docs.hellonear.xyz"], ["Status", "https://status.hellonear.xyz"], ["Trust", "https://trust.hellonear.xyz"], ["X", "https://x.com/hellonearai"], ["Demo video", "#demo"]]],
// Docs, Status and Trust open in a new tab (#307, Axel); so does HelloNear's X account (#316, Axel)
// and the demo post on X, like the hero's "Watch the demo" (#334).
["Project", [["GitHub", REPO], ["README", `${REPO}#readme`], ["Docs", "https://docs.hellonear.xyz"], ["Status", "https://status.hellonear.xyz"], ["Trust", "https://trust.hellonear.xyz"], ["X", "https://x.com/hellonearai"], ["Demo video", "https://x.com/hellonearai/status/2121301045540450520"]]],
["Built on", [["NEAR", "https://near.org"], ["NEAR AI Cloud", "https://cloud.near.ai"], ["Mastra", "https://mastra.ai"]]],
];

Expand Down
8 changes: 7 additions & 1 deletion apps/landing/components/hero/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,13 @@ function HeroCopy() {
</svg>
</span>
</a>
<a href="#demo" className="hero-btn hero-btn-ghost hero-btn-lg justify-center">
{/* The demo post on X, in a new tab (#334): the "Two minutes with a Mind" card has no video yet. */}
<a
href="https://x.com/hellonearai/status/2121301045540450520"
target="_blank"
rel="noopener noreferrer"
className="hero-btn hero-btn-ghost hero-btn-lg justify-center"
>
<svg width="14" height="14" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
<path d="M7 4.5v15l13-7.5z" />
</svg>
Expand Down
Loading