Open source CapCut alternative.
TypeScript
feat(site): compact Cut hero so the editor mock is the centerpiece
David Le23c8b64fb384
diff --git a/site/src/app/cut/_components/landing/CutHero.tsx b/site/src/app/cut/_components/landing/CutHero.tsxindex 93237dde..e11e72c8 100644--- a/site/src/app/cut/_components/landing/CutHero.tsx+++ b/site/src/app/cut/_components/landing/CutHero.tsx@@ -10,27 +10,29 @@ export function CutHero({ root }: { root: string }) {return (<sectionid="top"- className="mx-auto max-w-[1400px] px-6 pt-8 pb-20 md:px-12 md:pt-16 md:pb-[120px]"+ className="mx-auto max-w-[1400px] px-6 pt-4 pb-20 md:px-12 md:pt-6 md:pb-[120px]">- <h1 className="text-[clamp(45px,8vw,110px)] leading-[0.88] font-semibold tracking-[-0.03em]">- Cut video with AI.- <br />- <span className="italic">On your Mac.</span>- </h1>- <p className="mt-8 max-w-[640px] text-[18px] leading-[1.55] text-[#454545] md:max-w-[900px] md:text-[20px]">- Donkey Cut is a video editor with generation built into the timeline:- images, clips, voiceover, and music appear where you ask for them.- Editing and export run on your own Mac.- </p>- <div className="mt-9 flex flex-wrap gap-3">- <PillButton href={DONKEY_INSTALL_URL} variant="primary" size="lg">- Download for Mac <ArrowRight size={18} />- </PillButton>- <PillButton href={`${root}/app`} variant="secondary" size="lg">- Open the editor- </PillButton>+ <div className="flex flex-col items-start gap-5 md:flex-row md:items-end md:justify-between md:gap-8">+ <div>+ <h1 className="text-[clamp(32px,3.6vw,52px)] leading-[0.95] font-semibold tracking-[-0.02em]">+ Cut video with AI. <span className="italic">On your Mac.</span>+ </h1>+ <p className="mt-4 max-w-[720px] text-[16px] leading-[1.5] text-[#454545] md:text-[17px]">+ A video editor with generation built into the timeline: images,+ clips, voiceover, and music appear where you ask for them. Editing+ and export run on your own Mac.+ </p>+ </div>+ <div className="flex shrink-0 flex-wrap gap-3">+ <PillButton href={DONKEY_INSTALL_URL} variant="primary" size="md">+ Download for Mac <ArrowRight size={16} />+ </PillButton>+ <PillButton href={`${root}/app`} variant="secondary" size="md">+ Open the editor+ </PillButton>+ </div></div>- <div className="mt-14 md:mt-20">+ <div className="mt-8 md:mt-10"><EditorMock /></div></section>