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.
257 lines
8.5 KiB
TypeScript
257 lines
8.5 KiB
TypeScript
import type { Metadata } from "next";
|
||
import Link from "next/link";
|
||
import { notFound } from "next/navigation";
|
||
import { ArrowUpRight } from "lucide-react";
|
||
import { OFFER } from "@/lib/offer";
|
||
import {
|
||
SITE_URL,
|
||
compactSeoDescription,
|
||
MENIVOR_PIPELINE,
|
||
USE_CASE_SLUGS,
|
||
getUseCase,
|
||
relatedUseCases,
|
||
crossLinksForUseCase,
|
||
breadcrumbLd,
|
||
faqPageLd,
|
||
itemListLd,
|
||
softwareApplicationLd,
|
||
graphDocument,
|
||
} from "@/lib/seo";
|
||
import { JsonLd } from "@/components/marketing/seo/JsonLd";
|
||
import { Breadcrumbs } from "@/components/marketing/seo/Breadcrumbs";
|
||
import { FeatureList } from "@/components/marketing/seo/FeatureList";
|
||
import { FaqSection } from "@/components/marketing/seo/FaqSection";
|
||
import { RelatedLinks } from "@/components/marketing/seo/RelatedLinks";
|
||
import { CtaBand } from "@/components/marketing/seo/CtaBand";
|
||
import { Badge } from "@/components/ui/badge";
|
||
import { FreeToolWidget } from "@/components/marketing/free-tools/FreeToolWidget";
|
||
|
||
interface PageProps {
|
||
readonly params: Promise<{ usecase: string }>;
|
||
}
|
||
|
||
export function generateStaticParams(): Array<{ usecase: string }> {
|
||
return USE_CASE_SLUGS.map((usecase) => ({ usecase }));
|
||
}
|
||
|
||
export async function generateMetadata({
|
||
params,
|
||
}: PageProps): Promise<Metadata> {
|
||
const { usecase: slug } = await params;
|
||
const useCase = getUseCase(slug);
|
||
if (!useCase) return {};
|
||
|
||
const description = compactSeoDescription(
|
||
`${useCase.lede} ${useCase.bestFor}`,
|
||
);
|
||
const canonical = `/tools/${useCase.slug}`;
|
||
|
||
return {
|
||
title: useCase.title,
|
||
description,
|
||
keywords: [useCase.keyword],
|
||
alternates: { canonical },
|
||
openGraph: {
|
||
type: "website",
|
||
url: `${SITE_URL}${canonical}`,
|
||
siteName: "Menivor",
|
||
title: `${useCase.title} · Menivor`,
|
||
description,
|
||
},
|
||
twitter: {
|
||
card: "summary_large_image",
|
||
title: `${useCase.title} · Menivor`,
|
||
description,
|
||
},
|
||
};
|
||
}
|
||
|
||
export default async function ToolPage({ params }: PageProps) {
|
||
const { usecase: slug } = await params;
|
||
const useCase = getUseCase(slug);
|
||
if (!useCase) notFound();
|
||
|
||
const crumbs = [
|
||
{ name: "Home", path: "/" },
|
||
{ name: "Tools", path: "/tools" },
|
||
{ name: useCase.title, path: `/tools/${useCase.slug}` },
|
||
];
|
||
|
||
const related = relatedUseCases(useCase.slug).map((other) => ({
|
||
href: `/tools/${other.slug}`,
|
||
title: other.title,
|
||
description: other.keyword,
|
||
}));
|
||
|
||
// Cross-entity mesh: features that solve this job.
|
||
const { features: featureLinks } = crossLinksForUseCase(useCase.slug);
|
||
|
||
const jsonLd = graphDocument([
|
||
softwareApplicationLd(`${useCase.lede} ${MENIVOR_PIPELINE}`),
|
||
breadcrumbLd(crumbs),
|
||
faqPageLd(useCase.faqs),
|
||
itemListLd(
|
||
[...related, ...featureLinks].map((link) => ({
|
||
name: link.title,
|
||
path: link.href,
|
||
})),
|
||
),
|
||
]);
|
||
|
||
return (
|
||
<div className="container py-16 lg:py-20">
|
||
<JsonLd data={jsonLd} />
|
||
|
||
<article className="mx-auto max-w-3xl">
|
||
<Breadcrumbs crumbs={crumbs} />
|
||
|
||
<Badge variant="outline">Menivor tool</Badge>
|
||
<h1 className="mt-4 text-balance text-4xl font-bold tracking-tight sm:text-5xl">
|
||
{useCase.title}
|
||
</h1>
|
||
<p className="mt-4 text-pretty text-lg text-muted-foreground">
|
||
{useCase.lede}
|
||
</p>
|
||
|
||
{useCase.relatedTool ? (
|
||
<Link
|
||
href={useCase.relatedTool.href}
|
||
className="mt-5 inline-flex items-center gap-2 rounded-md border border-primary/30 bg-primary/5 px-4 py-2 text-sm font-medium text-primary transition-colors hover:border-primary/60 hover:bg-primary/10"
|
||
>
|
||
{useCase.relatedTool.title}
|
||
<ArrowUpRight className="size-4" />
|
||
</Link>
|
||
) : null}
|
||
|
||
{useCase.embeddedWidget ? (
|
||
<div className="mt-8">
|
||
<FreeToolWidget widget={useCase.embeddedWidget} />
|
||
</div>
|
||
) : null}
|
||
|
||
<section className="mt-10 space-y-4 text-pretty leading-relaxed text-muted-foreground">
|
||
{useCase.body.map((paragraph) => (
|
||
<p key={paragraph.slice(0, 40)}>{paragraph}</p>
|
||
))}
|
||
</section>
|
||
|
||
<section className="mt-12 rounded-xl border border-border bg-card p-6">
|
||
<h2 className="mb-4 text-2xl font-bold tracking-tight sm:text-3xl">
|
||
What you get
|
||
</h2>
|
||
<FeatureList items={useCase.highlights} />
|
||
<p className="mt-5 text-sm text-muted-foreground">
|
||
<span className="font-semibold text-foreground">Best for:</span>{" "}
|
||
{useCase.bestFor}
|
||
</p>
|
||
</section>
|
||
|
||
<section className="mt-12">
|
||
<h2 className="mb-4 text-2xl font-bold tracking-tight sm:text-3xl">
|
||
How it works
|
||
</h2>
|
||
<ol className="space-y-3">
|
||
{[
|
||
"Paste a link, or upload a screen recording and write a short prompt.",
|
||
"Menivor writes a hook-first script in English or Turkish and narrates it with a natural AI voice.",
|
||
"Your footage or page recording fills the frame in the style you pick, and karaoke captions are burned in.",
|
||
"Download your 1080×1920 reel and post it to TikTok, Reels and Shorts.",
|
||
].map((step, index) => (
|
||
<li key={step} className="flex items-start gap-3">
|
||
<span className="flex size-7 shrink-0 items-center justify-center rounded-full bg-primary/15 text-sm font-semibold text-primary">
|
||
{index + 1}
|
||
</span>
|
||
<span className="text-pretty text-muted-foreground">
|
||
{step}
|
||
</span>
|
||
</li>
|
||
))}
|
||
</ol>
|
||
</section>
|
||
|
||
{useCase.comparison ? (
|
||
<section className="mt-12">
|
||
<h2 className="mb-4 text-2xl font-bold tracking-tight sm:text-3xl">
|
||
How this compares
|
||
</h2>
|
||
<div className="overflow-x-auto rounded-xl border border-border">
|
||
<table className="w-full text-left text-sm">
|
||
<thead>
|
||
<tr className="border-b border-border bg-card">
|
||
<th className="p-3 font-semibold text-foreground">
|
||
Dimension
|
||
</th>
|
||
<th className="p-3 font-semibold text-foreground">
|
||
{useCase.comparison.alternativeLabel}
|
||
</th>
|
||
<th className="p-3 font-semibold text-foreground">
|
||
Menivor
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
{useCase.comparison.rows.map((row) => (
|
||
<tr
|
||
key={row.dimension}
|
||
className="border-b border-border last:border-0"
|
||
>
|
||
<td className="p-3 font-medium text-foreground">
|
||
{row.dimension}
|
||
</td>
|
||
<td className="p-3 text-muted-foreground">
|
||
{row.alternative}
|
||
</td>
|
||
<td className="p-3 text-muted-foreground">
|
||
{row.menivor}
|
||
</td>
|
||
</tr>
|
||
))}
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<ul className="mt-4 space-y-1.5 text-xs text-muted-foreground">
|
||
{useCase.comparison.sources.map((source) => (
|
||
<li key={source.slice(0, 40)}>{source}</li>
|
||
))}
|
||
</ul>
|
||
</section>
|
||
) : null}
|
||
|
||
{useCase.honestTradeoffs ? (
|
||
<section className="mt-10 rounded-xl border border-border bg-card p-6">
|
||
<h2 className="mb-4 text-xl font-bold tracking-tight">
|
||
When to pick something else
|
||
</h2>
|
||
<ul className="space-y-2.5">
|
||
{useCase.honestTradeoffs.map((item) => (
|
||
<li
|
||
key={item.slice(0, 40)}
|
||
className="text-pretty text-muted-foreground"
|
||
>
|
||
{item}
|
||
</li>
|
||
))}
|
||
</ul>
|
||
</section>
|
||
) : null}
|
||
|
||
<FaqSection faqs={useCase.faqs} />
|
||
|
||
<RelatedLinks heading="More Menivor tools" links={related} />
|
||
|
||
{featureLinks.length > 0 ? (
|
||
<RelatedLinks
|
||
heading="Features that power this"
|
||
links={featureLinks}
|
||
/>
|
||
) : null}
|
||
|
||
<CtaBand
|
||
heading="Make your first reel free"
|
||
subheading={OFFER.signupSubheading}
|
||
/>
|
||
</article>
|
||
</div>
|
||
);
|
||
}
|