caelum0x d56639a594
Some checks failed
build-images / web (push) Has been cancelled
vision2026-ci / Python SDK resource tests (push) Has been cancelled
build-images / api (push) Has been cancelled
build-images / worker-gpu (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (comfy-workflow-schema) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (effects-core) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (eventbus-types) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (growth-analytics) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (provider-adapter-kit) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (publishing-connectors) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (render-core) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (shot-template-schema) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (trends-schema) (push) Has been cancelled
vision2026-ci / Desktop engine crates (test + clippy + fmt) (push) Has been cancelled
codeql / Analyze (javascript-typescript) (push) Has been cancelled
codeql / Analyze (python) (push) Has been cancelled
perf / API hot-path micro-smoke (budgeted) (push) Has been cancelled
perf / Desktop engine crates (release build check) (push) Has been cancelled
vision2026-ci / API phase modules (ruff + pytest) (push) Has been cancelled
vision2026-ci / Alembic upgrade + drift check (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (caption-engine) (push) Has been cancelled
Menivor — open source release (MIT), free to use and fork
Paid, hosted product at menivor.com, now retired as a company project.
Fresh squashed history of the cleaned working tree (secret-scanned,
no .env, no customer data, no outreach logs). Built on
MoneyPrinterTurbo (MIT, harry0703) — see NOTICE.
2026-12-04 02:10:26 +03:00

52 lines
1.6 KiB
TypeScript

import type { Metadata } from "next";
import { LaunchVideoClient } from "./LaunchVideoClient";
import { SITE_URL } from "@/lib/seo";
const DESCRIPTION =
"Turn your app's link into three launch reels with a hook-first script, voiceover and captions.";
export const metadata: Metadata = {
title: "Launch video for your app",
description: DESCRIPTION,
alternates: { canonical: "/launch-video" },
robots: { index: false, follow: true },
openGraph: {
type: "website",
url: `${SITE_URL}/launch-video`,
siteName: "Menivor",
title: "Launch video for your app | Menivor",
description: DESCRIPTION,
},
};
type LaunchVideoSearchParams = {
app_url?: string | string[];
app_name?: string | string[];
source?: string | string[];
};
function first(value: string | string[] | undefined): string {
return ((Array.isArray(value) ? value[0] : value) ?? "").trim();
}
/**
* `/launch-video` (MR8): where Scribase (and later Rally) send a user with a
* partner token in the URL fragment. The page never asks for the token; it
* reads it, asks the user to sign in to Menivor with their own email, then
* pre-fills the create flow with the app's link.
*/
export default async function LaunchVideoPage({
searchParams,
}: Readonly<{ searchParams: Promise<LaunchVideoSearchParams> }>) {
const query = await searchParams;
return (
<div className="container max-w-2xl py-16 lg:py-24">
<LaunchVideoClient
appUrl={first(query.app_url).slice(0, 500)}
appName={first(query.app_name).slice(0, 80)}
source={first(query.source) === "rally" ? "rally" : "scribase"}
/>
</div>
);
}