Skip to content

Landing: "Watch the demo" opens the demo post on X, and add the marketing video to "Two minutes with a Mind" #334

Closed

Description

@Lexirieru

@Nabil-Aufa two things on the landing page (https://hellonear.xyz), both from Axel.

1. "Watch the demo" button (hero)

Now: the button scrolls down to the "Two minutes with a Mind" section (href="#demo"), where the card still says "The demo video is coming soon". So pressing it shows no video.

Wanted: pressing it opens the demo post on X in a new tab:

https://x.com/hellonearai/status/2121301045540450520

Where: apps/landing/components/hero/Hero.tsx, the <a href="#demo" …> with the text "Watch the demo". A link that opens a new tab needs target="_blank" and rel="noopener noreferrer".

2. Marketing video in "Two minutes with a Mind"

Now: the card shows the lawn picture and "The demo video is coming soon", because no video is hosted.

Wanted: the marketing video you are making (in progress) plays there once it is ready.

Where: apps/landing/components/Demo.tsx. It already plays a video when one exists and falls back to the "coming soon" card when it does not. It reads the video from NEXT_PUBLIC_DEMO_VIDEO_URL, or from /demo/demo.mp4 (the file apps/landing/public/demo/demo.mp4) when that is not set. So either:

  • put the file at apps/landing/public/demo/demo.mp4 (keep it small; a large binary in git stays in the history for good), or
  • host it elsewhere and set NEXT_PUBLIC_DEMO_VIDEO_URL on the box (an env change on the box needs Axel's approval and @Lin1er to set it).

Say which one you prefer and how big the file is, and we can pick.

Done when

Part 1 can go in on its own now; part 2 waits for the video. As usual: a PR, tests and build pass, and Axel approves before merge.

@AncungAulia @Lin1er FYI.

Activity

  1. Lexirieru commented on Nov 14, 2026

    @Lexirieru
    ContributorAuthor

    Both parts are merged: #335 (Watch the demo opens the demo post on X) and #337 (the film in the demo section). @Nabil-Aufa thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions