From 65fe70a2cd147a1890228ac640ef75917b636a83 Mon Sep 17 00:00:00 2001 From: Nabil-Aufa <181296848+Nabil-Aufa@users.noreply.github.com> Date: Sun, 15 Nov 2026 02:30:16 +0700 Subject: [PATCH 1/2] fix(landing): Watch the demo opens the demo post on X in a new tab The button scrolled to the demo section, which has no video yet and only says "coming soon". It now opens the demo post on X in a new tab (#334). Tests: tsc --noEmit passes; next build passes. On the production build (Playwright, Chrome) at 1440x900 and 390x844, both copies of the button link to the X post with target=_blank and rel="noopener noreferrer", and a click opens a new tab while the landing stays open. Co-Authored-By: Claude Opus 5.5 --- apps/landing/CLAUDE.md | 1 + apps/landing/components/hero/Hero.tsx | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/apps/landing/CLAUDE.md b/apps/landing/CLAUDE.md index eb8a881c..b4a4d012 100644 --- a/apps/landing/CLAUDE.md +++ b/apps/landing/CLAUDE.md @@ -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" link still points at `#demo`. - 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. diff --git a/apps/landing/components/hero/Hero.tsx b/apps/landing/components/hero/Hero.tsx index 54ae54da..7a918606 100644 --- a/apps/landing/components/hero/Hero.tsx +++ b/apps/landing/components/hero/Hero.tsx @@ -210,7 +210,13 @@ function HeroCopy() { - + {/* The demo post on X, in a new tab (#334): the "Two minutes with a Mind" card has no video yet. */} + From 9afbdac34a89b0606faaa916e490c2a234713ed6 Mon Sep 17 00:00:00 2001 From: Nabil-Aufa <181296848+Nabil-Aufa@users.noreply.github.com> Date: Sun, 15 Nov 2026 02:32:42 +0700 Subject: [PATCH 2/2] fix(landing): footer Demo video opens the demo post on X too It pointed at the demo section, which has no video yet. It now opens the same X post as the hero's "Watch the demo", in a new tab (Nabil, #334). Tests: tsc --noEmit passes; next build passes. On the production build at 1440x900 and 390x844, both footer copies link to the X post with target=_blank and rel="noopener noreferrer"; a click opens a new tab and the landing stays open. Co-Authored-By: Claude Opus 5.5 --- apps/landing/CLAUDE.md | 2 +- apps/landing/components/Footer.tsx | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/landing/CLAUDE.md b/apps/landing/CLAUDE.md index b4a4d012..a0544bf0 100644 --- a/apps/landing/CLAUDE.md +++ b/apps/landing/CLAUDE.md @@ -47,7 +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" link still points at `#demo`. +- 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. diff --git a/apps/landing/components/Footer.tsx b/apps/landing/components/Footer.tsx index 61ade70e..40efd159 100644 --- a/apps/landing/components/Footer.tsx +++ b/apps/landing/components/Footer.tsx @@ -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"]]], ];