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

68 lines
1.9 KiB
TypeScript

import type { ShowcaseMedia } from "@/lib/styles/showcase";
import { ShowcaseNote } from "./ShowcaseNote";
import { ShowcaseTile } from "./ShowcaseTile";
function ExampleRow({
id,
title,
subline,
reels,
}: Readonly<{
id: string;
title: string;
subline: string;
reels: readonly ShowcaseMedia[];
}>) {
if (reels.length === 0) return null;
return (
<div>
<h2
id={id}
className="font-display text-2xl font-bold uppercase leading-none tracking-tight text-primary sm:text-4xl"
>
{title}
</h2>
<p className="mt-2 max-w-2xl text-sm text-muted-foreground sm:text-base">{subline}</p>
<ul className="mt-5 grid grid-cols-2 gap-3 sm:grid-cols-3">
{reels.map((reel) => (
<li key={reel.key}>
<ShowcaseTile reel={reel} showPasteLink={false} />
</li>
))}
</ul>
</div>
);
}
/**
* Homepage preview: one row of app and software demos, then a short row of
* local-business examples. At most six cards. The full set lives on /styles.
*/
export function HomepageGallery({
apps,
local,
}: Readonly<{
apps: readonly ShowcaseMedia[];
local: readonly ShowcaseMedia[];
}>) {
return (
<section id="styles" className="relative scroll-mt-20 bg-black">
<div className="mx-auto flex max-w-[1100px] flex-col gap-12 px-3 py-10 sm:px-4 lg:py-14">
<ExampleRow
id="home-app-demos"
title="App and software demos"
subline="Menivor and Scribase were recorded from their live pages. The help-desk reel is an example with stock footage."
reels={apps}
/>
<ExampleRow
id="home-local-demos"
title="Also works for shops and local businesses"
subline="The same styles on a shop, a service or a product page, filmed with licensed stock."
reels={local}
/>
</div>
<ShowcaseNote />
</section>
);
}