Skip to content

Open source CapCut alternative.

TypeScript

feat(site): hero editor mock 10% taller with larger preview stages

David Leb93ea44fb863
diff --git a/site/src/app/cut/_components/landing/editor-mock/EditorMock.tsx b/site/src/app/cut/_components/landing/editor-mock/EditorMock.tsx
index 4f983e14..60159acc 100644
--- a/site/src/app/cut/_components/landing/editor-mock/EditorMock.tsx
+++ b/site/src/app/cut/_components/landing/editor-mock/EditorMock.tsx
@@ -15,7 +15,7 @@ import { cn } from "@/lib/utils";
// The mock is authored at a fixed design size and scaled to the hero's width,
// so its internals never reflow — it behaves like a live screenshot.
const DESIGN_W = 1200;
-const DESIGN_H = 660;
+const DESIGN_H = 726;
// A hand-built, display-only replica of the Cut editor showing two finished
// projects. The panels copy the real components' chrome (see the Mock*
diff --git a/site/src/app/cut/_components/landing/editor-mock/MockPreview.tsx b/site/src/app/cut/_components/landing/editor-mock/MockPreview.tsx
index 067a4904..3996fa67 100644
--- a/site/src/app/cut/_components/landing/editor-mock/MockPreview.tsx
+++ b/site/src/app/cut/_components/landing/editor-mock/MockPreview.tsx
@@ -24,8 +24,8 @@ export function MockPreview({ project, active }: { project: MockProject; active:
const stage =
project.aspect === "9:16"
- ? { width: 214, height: 380 }
- : { width: 480, height: 270 };
+ ? { width: 250, height: 444 }
+ : { width: 528, height: 297 };
return (
<div className="flex min-w-0 items-center justify-center bg-muted/40 px-6">