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
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.
161 lines
5.8 KiB
TypeScript
161 lines
5.8 KiB
TypeScript
import type { Metadata } from "next";
|
|
import Image from "next/image";
|
|
import Link from "next/link";
|
|
import { notFound } from "next/navigation";
|
|
import { OFFER } from "@/lib/offer";
|
|
import { SITE_URL, breadcrumbLd, graphDocument } from "@/lib/seo";
|
|
import {
|
|
GALLERY_PATH,
|
|
loadReelGalleryFeed,
|
|
reelGalleryItemPath,
|
|
reelVideoObjectLd,
|
|
type ReelGalleryItem,
|
|
} from "@/lib/seo/reel-gallery/feed";
|
|
import { JsonLd } from "@/components/marketing/seo/JsonLd";
|
|
import { Breadcrumbs } from "@/components/marketing/seo/Breadcrumbs";
|
|
import { CtaBand } from "@/components/marketing/seo/CtaBand";
|
|
import { Badge } from "@/components/ui/badge";
|
|
import { AppListingPreviewRunner } from "@/components/marketing/app-listing/AppListingPreviewRunner";
|
|
|
|
export const dynamic = "force-dynamic";
|
|
|
|
interface PageProps {
|
|
readonly params: Promise<{ slug: string }>;
|
|
}
|
|
|
|
async function findItem(slug: string): Promise<ReelGalleryItem | null> {
|
|
const items = await loadReelGalleryFeed();
|
|
return items.find((item) => item.id === slug) ?? null;
|
|
}
|
|
|
|
export async function generateMetadata({ params }: PageProps): Promise<Metadata> {
|
|
const { slug } = await params;
|
|
const item = await findItem(slug);
|
|
if (!item) return { title: "Reel Gallery" };
|
|
const path = reelGalleryItemPath(item);
|
|
const title = `${item.appName}: "${item.hookLine}" — a real Menivor reel`;
|
|
const description = `Watch the real reel Menivor rendered from ${item.appName}'s own App Store listing: real screenshots, a hook line written from its own description, an AI voiceover and captions.`;
|
|
return {
|
|
title,
|
|
description,
|
|
alternates: { canonical: path },
|
|
openGraph: {
|
|
type: "video.other",
|
|
url: `${SITE_URL}${path}`,
|
|
siteName: "Menivor",
|
|
title: `${title} | Menivor`,
|
|
description,
|
|
images: [{ url: item.posterUrl }],
|
|
},
|
|
twitter: {
|
|
card: "summary_large_image",
|
|
title: `${title} | Menivor`,
|
|
description,
|
|
images: [item.posterUrl],
|
|
},
|
|
};
|
|
}
|
|
|
|
export default async function ReelGalleryItemPage({ params }: PageProps) {
|
|
const { slug } = await params;
|
|
const item = await findItem(slug);
|
|
if (!item) notFound();
|
|
|
|
const path = reelGalleryItemPath(item);
|
|
const crumbs = [
|
|
{ name: "Home", path: "/" },
|
|
{ name: "Reel Gallery", path: GALLERY_PATH },
|
|
{ name: item.appName, path },
|
|
];
|
|
const jsonLd = graphDocument([breadcrumbLd(crumbs), reelVideoObjectLd(item, `${SITE_URL}${path}`)]);
|
|
|
|
return (
|
|
<div className="container py-12 lg:py-16">
|
|
<JsonLd data={jsonLd} />
|
|
<article className="mx-auto max-w-3xl">
|
|
<Breadcrumbs crumbs={crumbs} />
|
|
<Badge variant="outline">Real reel, real App Store listing</Badge>
|
|
|
|
<div className="mt-4 flex items-center gap-3">
|
|
{item.iconUrl ? (
|
|
<Image
|
|
src={item.iconUrl}
|
|
alt={`${item.appName} icon`}
|
|
width={48}
|
|
height={48}
|
|
unoptimized
|
|
className="rounded-xl border border-border"
|
|
/>
|
|
) : null}
|
|
<div>
|
|
<h1 className="text-balance text-2xl font-bold tracking-tight sm:text-3xl">
|
|
{item.appName}
|
|
</h1>
|
|
{item.developer ? (
|
|
<p className="text-sm text-muted-foreground">by {item.developer}</p>
|
|
) : null}
|
|
</div>
|
|
</div>
|
|
|
|
<p className="mt-4 text-pretty text-lg text-muted-foreground">
|
|
“{item.hookLine}”
|
|
</p>
|
|
|
|
<div className="mx-auto mt-6 max-w-sm overflow-hidden rounded-2xl border border-border bg-black">
|
|
<video
|
|
className="aspect-[9/16] w-full object-cover"
|
|
src={item.videoUrl}
|
|
poster={item.posterUrl}
|
|
controls
|
|
playsInline
|
|
preload="metadata"
|
|
aria-label={`${item.appName} reel`}
|
|
/>
|
|
</div>
|
|
|
|
<div className="mt-4 flex flex-wrap items-center gap-x-4 gap-y-1 text-sm text-muted-foreground">
|
|
{item.rating ? (
|
|
<span>
|
|
{item.rating} rating{item.ratingCount ? ` · ${item.ratingCount.toLocaleString()} ratings` : ""}
|
|
</span>
|
|
) : null}
|
|
{item.genre ? <span>{item.genre}</span> : null}
|
|
<a className="underline underline-offset-4" href={item.appUrl} rel="noopener" target="_blank">
|
|
View the real listing
|
|
</a>
|
|
</div>
|
|
|
|
<section className="mt-10 space-y-4 text-pretty leading-relaxed text-muted-foreground">
|
|
<h2 className="text-2xl font-bold tracking-tight text-foreground sm:text-3xl">
|
|
How this reel was made
|
|
</h2>
|
|
<p>
|
|
Menivor read {item.appName}'s real, public App Store listing — the same screenshots,
|
|
description and rating every shopper already sees — and wrote an opening hook from those
|
|
facts. A natural AI voiceover reads the script over the listing's own screenshots,
|
|
with word-by-word captions burned in. No manual editing, no private user data: this is one
|
|
of Menivor's own demo renders.
|
|
</p>
|
|
</section>
|
|
|
|
<section className="mt-10 rounded-xl border border-border bg-card p-6">
|
|
<h2 className="mb-2 text-xl font-semibold tracking-tight">Make one for your own app, free</h2>
|
|
<p className="mb-4 text-sm text-muted-foreground">
|
|
Paste your App Store or Google Play link below and see your own real screenshots and a
|
|
hook line, before you sign up.
|
|
</p>
|
|
<AppListingPreviewRunner />
|
|
</section>
|
|
|
|
<p className="mt-6 text-sm text-muted-foreground">
|
|
<Link className="underline underline-offset-4" href={GALLERY_PATH}>
|
|
See more reels in the gallery
|
|
</Link>
|
|
</p>
|
|
|
|
<CtaBand heading="Render your own app's reel, free" subheading={OFFER.signupSubheading} />
|
|
</article>
|
|
</div>
|
|
);
|
|
}
|