Open source CapCut alternative.
TypeScript
feat(site): Works with Claude and Codex section; hero mock fills its container
David Le00cd7496405d
diff --git a/site/public/cut/landing/claude-logo.svg b/site/public/cut/landing/claude-logo.svgnew file mode 100644index 00000000..29bb61bb--- /dev/null+++ b/site/public/cut/landing/claude-logo.svg@@ -0,0 +1 @@+<svg fill="#D97757" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Claude</title><path d="m4.7144 15.9555 4.7174-2.6471.079-.2307-.079-.1275h-.2307l-.7893-.0486-2.6956-.0729-2.3375-.0971-2.2646-.1214-.5707-.1215-.5343-.7042.0546-.3522.4797-.3218.686.0608 1.5179.1032 2.2767.1578 1.6514.0972 2.4468.255h.3886l.0546-.1579-.1336-.0971-.1032-.0972L6.973 9.8356l-2.55-1.6879-1.3356-.9714-.7225-.4918-.3643-.4614-.1578-1.0078.6557-.7225.8803.0607.2246.0607.8925.686 1.9064 1.4754 2.4893 1.8336.3643.3035.1457-.1032.0182-.0728-.164-.2733-1.3539-2.4467-1.445-2.4893-.6435-1.032-.17-.6194c-.0607-.255-.1032-.4674-.1032-.7285L6.287.1335 6.6997 0l.9957.1336.419.3642.6192 1.4147 1.0018 2.2282 1.5543 3.0296.4553.8985.2429.8318.091.255h.1579v-.1457l.1275-1.706.2368-2.0947.2307-2.6957.0789-.7589.3764-.9107.7468-.4918.5828.2793.4797.686-.0668.4433-.2853 1.8517-.5586 2.9021-.3643 1.9429h.2125l.2429-.2429.9835-1.3053 1.6514-2.0643.7286-.8196.85-.9046.5464-.4311h1.0321l.759 1.1293-.34 1.1657-1.0625 1.3478-.8804 1.1414-1.2628 1.7-.7893 1.36.0729.1093.1882-.0183 2.8535-.607 1.5421-.2794 1.8396-.3157.8318.3886.091.3946-.3278.8075-1.967.4857-2.3072.4614-3.4364.8136-.0425.0304.0486.0607 1.5482.1457.6618.0364h1.621l3.0175.2247.7892.522.4736.6376-.079.4857-1.2142.6193-1.6393-.3886-3.825-.9107-1.3113-.3279h-.1822v.1093l1.0929 1.0686 2.0035 1.8092 2.5075 2.3314.1275.5768-.3218.4554-.34-.0486-2.2039-1.6575-.85-.7468-1.9246-1.621h-.1275v.17l.4432.6496 2.3436 3.5214.1214 1.0807-.17.3521-.6071.2125-.6679-.1214-1.3721-1.9246L14.38 17.959l-1.1414-1.9428-.1397.079-.674 7.2552-.3156.3703-.7286.2793-.6071-.4614-.3218-.7468.3218-1.4753.3886-1.9246.3157-1.53.2853-1.9004.17-.6314-.0121-.0425-.1397.0182-1.4328 1.9672-2.1796 2.9446-1.7243 1.8456-.4128.164-.7164-.3704.0667-.6618.4008-.5889 2.386-3.0357 1.4389-1.882.929-1.0868-.0062-.1579h-.0546l-6.3385 4.1164-1.1293.1457-.4857-.4554.0608-.7467.2307-.2429 1.9064-1.3114Z"/></svg>\ No newline at end of filediff --git a/site/public/cut/landing/openai-logo.svg b/site/public/cut/landing/openai-logo.svgnew file mode 100644index 00000000..b31e3989--- /dev/null+++ b/site/public/cut/landing/openai-logo.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M11.248 18.25q-.825 0-1.568-.314a4.3 4.3 0 0 1-1.32-.874 4 4 0 0 1-1.304.214 4 4 0 0 1-2.046-.544 4.27 4.27 0 0 1-1.518-1.485 4 4 0 0 1-.56-2.095q0-.48.131-1.04A4.4 4.4 0 0 1 2.04 10.71a4.07 4.07 0 0 1 .017-3.4 4.2 4.2 0 0 1 1.056-1.418 3.8 3.8 0 0 1 1.6-.842 3.9 3.9 0 0 1 .76-1.683q.593-.759 1.451-1.188a4.04 4.04 0 0 1 1.832-.429q.825 0 1.567.313.742.314 1.32.875a4 4 0 0 1 1.304-.215q1.106 0 2.046.545a4.14 4.14 0 0 1 1.501 1.485q.578.941.578 2.095 0 .48-.132 1.04.66.61 1.023 1.419.363.792.363 1.666 0 .892-.38 1.717a4.3 4.3 0 0 1-1.072 1.435 3.8 3.8 0 0 1-1.584.825 3.8 3.8 0 0 1-.775 1.683 4.06 4.06 0 0 1-1.436 1.188 4.04 4.04 0 0 1-1.832.429m-4.076-2.062q.825 0 1.435-.347l3.103-1.782a.36.36 0 0 0 .164-.313v-1.42L7.881 14.62a.67.67 0 0 1-.726 0l-3.118-1.798a.5.5 0 0 1-.017.115v.198q0 .841.396 1.551.413.693 1.139 1.089a3.2 3.2 0 0 0 1.617.412m.165-2.69a.4.4 0 0 0 .181.05q.083 0 .165-.05l1.238-.71-3.977-2.31a.7.7 0 0 1-.363-.643v-3.58q-.825.362-1.32 1.122a2.9 2.9 0 0 0-.495 1.65q0 .809.413 1.55.412.743 1.072 1.123zm3.91 3.663q.875 0 1.585-.396a2.96 2.96 0 0 0 1.534-2.64v-3.564a.32.32 0 0 0-.165-.297l-1.254-.726v4.604a.7.7 0 0 1-.363.643l-3.119 1.799a3 3 0 0 0 1.783.577m.627-6.039V8.878L10.01 7.822 8.129 8.878v2.244l1.881 1.056zM7.057 5.859a.7.7 0 0 1 .363-.644l3.119-1.798a3 3 0 0 0-1.782-.578q-.874 0-1.584.396A2.96 2.96 0 0 0 6.05 4.324a3.07 3.07 0 0 0-.396 1.551v3.547q0 .199.165.314l1.237.726zm8.383 7.887q.825-.364 1.303-1.123.495-.758.495-1.65a3.15 3.15 0 0 0-.412-1.55q-.413-.743-1.073-1.123l-3.086-1.782q-.099-.065-.181-.049a.3.3 0 0 0-.165.05l-1.238.692 3.993 2.327a.6.6 0 0 1 .264.264.64.64 0 0 1 .1.363zm-3.317-8.382a.63.63 0 0 1 .726 0l3.135 1.831v-.297q0-.792-.396-1.501a2.86 2.86 0 0 0-1.105-1.155q-.71-.43-1.65-.43-.825 0-1.436.347L8.294 5.941a.36.36 0 0 0-.165.314v1.418z"/></svg>\ No newline at end of filediff --git a/site/src/app/cut/_components/landing/CutLanding.tsx b/site/src/app/cut/_components/landing/CutLanding.tsxindex 272d97d0..78a0e2b8 100644--- a/site/src/app/cut/_components/landing/CutLanding.tsx+++ b/site/src/app/cut/_components/landing/CutLanding.tsx@@ -7,6 +7,7 @@ import { CutFooter } from "@/app/cut/_components/landing/CutFooter";import { CutHero } from "@/app/cut/_components/landing/CutHero";import { CutOpenSource } from "@/app/cut/_components/landing/CutOpenSource";import { CutPricing } from "@/app/cut/_components/landing/CutPricing";+import { CutWorksWith } from "@/app/cut/_components/landing/CutWorksWith";// The donkeycut.com marketing page: the Donkey landing's cream visual system// with Cut-only content. `root` is "" on donkeycut.com and "/cut" in dev, so@@ -27,6 +28,7 @@ export function CutLanding({ root }: { root: string }) {><TopNav homeHref={root || "/"} wordmark="Donkey Cut" showAuthLinks={false} /><CutHero root={root} />+ <CutWorksWith /><CutPricing root={root} /><CutOpenSource /><CutFinalCTA root={root} />diff --git a/site/src/app/cut/_components/landing/CutWorksWith.tsx b/site/src/app/cut/_components/landing/CutWorksWith.tsxnew file mode 100644index 00000000..d43a60dc--- /dev/null+++ b/site/src/app/cut/_components/landing/CutWorksWith.tsx@@ -0,0 +1,36 @@+"use client";++import { Headline, TapedCard } from "@/app/_components/landing/LandingPrimitives";++// The assistant rides the Claude and Codex logins already on the user's Mac,+// so a subscription is all it takes — this section says exactly that.+const PROVIDERS = [+ { name: "Claude", logo: "/cut/landing/claude-logo.svg", color: "blue" as const },+ { name: "Codex", logo: "/cut/landing/openai-logo.svg", color: "yellow" as const },+];++export function CutWorksWith() {+ return (+ <section className="mx-auto max-w-[1400px] px-6 py-20 md:px-12 md:py-24">+ <Headline size="lg">+ Works with <span className="italic">Claude and Codex.</span>+ </Headline>+ <p className="mt-6 max-w-[720px] text-[17px] leading-[1.55] text-[#454545]">+ The assistant uses the Claude and Codex apps already signed in on your+ Mac. If you have a subscription, you're done — no setup, no API keys.+ </p>+ <div className="mt-12 grid grid-cols-1 gap-6 md:grid-cols-2">+ {PROVIDERS.map((provider) => (+ <TapedCard key={provider.name} color={provider.color} tapeColor="cream" fill>+ <div className="flex h-full items-center justify-center gap-4 px-6 py-14">+ <img src={provider.logo} alt="" className="size-11 md:size-12" />+ <span className="text-[clamp(28px,3.5vw,44px)] font-semibold tracking-tight">+ {provider.name}+ </span>+ </div>+ </TapedCard>+ ))}+ </div>+ </section>+ );+}diff --git a/site/src/app/cut/_components/landing/editor-mock/EditorMock.tsx b/site/src/app/cut/_components/landing/editor-mock/EditorMock.tsxindex 1041dcda..8df21956 100644--- a/site/src/app/cut/_components/landing/editor-mock/EditorMock.tsx+++ b/site/src/app/cut/_components/landing/editor-mock/EditorMock.tsx@@ -30,7 +30,7 @@ export function EditorMock() {const el = frameRef.current;if (!el) return;const ro = new ResizeObserver(([entry]) => {- setScale(Math.min(1, entry.contentRect.width / DESIGN_W));+ setScale(entry.contentRect.width / DESIGN_W);});ro.observe(el);return () => ro.disconnect();