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.
47 lines
2.0 KiB
TypeScript
47 lines
2.0 KiB
TypeScript
import Link from "next/link";
|
|
import { allocateStyleGallery } from "@/lib/styles/showcase";
|
|
import { ShowcaseTile } from "@/components/marketing/showcase/ShowcaseTile";
|
|
import { UseStyleButton } from "./StylePick";
|
|
|
|
/**
|
|
* "Pick a style": one card per format that has a real showcase reel. The card
|
|
* plays that reel (muted, only while visible) and one click preselects the
|
|
* style in the paste box.
|
|
*/
|
|
export function StyleGallery({ heading = true }: Readonly<{ heading?: boolean }>) {
|
|
const { cards } = allocateStyleGallery();
|
|
return (
|
|
<section id="styles" className="scroll-mt-20 border-b border-white/[0.06]">
|
|
<div className="container py-16 lg:py-20">
|
|
{heading ? (
|
|
<div className="mb-10 flex flex-col gap-3 sm:flex-row sm:items-end sm:justify-between">
|
|
<div className="max-w-xl">
|
|
<p className="kicker text-muted-foreground">Pick a style</p>
|
|
<h2 className="mt-3 text-display font-bold">Formats that already work on TikTok</h2>
|
|
</div>
|
|
<Link href="/styles" className="text-sm text-muted-foreground underline underline-offset-4 hover:text-foreground">
|
|
All styles
|
|
</Link>
|
|
</div>
|
|
) : null}
|
|
<ul className="grid grid-cols-2 gap-3 sm:gap-4 md:grid-cols-3 lg:grid-cols-4">
|
|
{cards.map(({ style, reel }) => (
|
|
<li key={style.id} className="flex flex-col gap-3">
|
|
<ShowcaseTile reel={reel} />
|
|
<div className="flex flex-1 flex-col gap-2 px-1">
|
|
<h3 className="text-sm font-semibold text-foreground sm:text-base">{style.label}</h3>
|
|
<p className="line-clamp-3 text-xs leading-relaxed text-muted-foreground sm:text-sm">
|
|
{style.blurb}
|
|
</p>
|
|
<div className="mt-auto pt-1">
|
|
<UseStyleButton styleId={style.id} className="w-full" />
|
|
</div>
|
|
</div>
|
|
</li>
|
|
))}
|
|
</ul>
|
|
</div>
|
|
</section>
|
|
);
|
|
}
|