Skip to content

Open source CapCut alternative.

TypeScript

fix(site): hero CTA sits under the subtitle without an arrow

David Le355473081bc9
diff --git a/site/src/app/cut/_components/landing/CutHero.tsx b/site/src/app/cut/_components/landing/CutHero.tsx
index 0dbb8681..e5d58ffa 100644
--- a/site/src/app/cut/_components/landing/CutHero.tsx
+++ b/site/src/app/cut/_components/landing/CutHero.tsx
@@ -1,7 +1,5 @@
"use client";
-import { ArrowRight } from "lucide-react";
-
import { PillButton } from "@/app/_components/landing/LandingPrimitives";
import { EditorMock } from "@/app/cut/_components/landing/editor-mock/EditorMock";
@@ -11,20 +9,18 @@ export function CutHero({ root }: { root: string }) {
id="top"
className="mx-auto max-w-[1400px] px-6 pt-10 pb-20 md:px-12 md:pt-16 md:pb-[120px]"
>
- <div className="flex flex-col items-start gap-6 md:flex-row md:items-end md:justify-between md:gap-10">
- <div>
- <h1 className="text-[clamp(36px,5.5vw,64px)] leading-[0.95] font-semibold tracking-[-0.02em]">
- Cut video with AI. <span className="italic">On your Mac.</span>
- </h1>
- <p className="mt-5 max-w-[720px] text-[16px] leading-[1.55] 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="shrink-0">
- <PillButton href={`${root}/app`} variant="primary" size="lg">
- Start a new project <ArrowRight size={18} />
+ <div>
+ <h1 className="text-[clamp(36px,5.5vw,64px)] leading-[0.95] font-semibold tracking-[-0.02em]">
+ Cut video with AI. <span className="italic">On your Mac.</span>
+ </h1>
+ <p className="mt-5 max-w-[720px] text-[16px] leading-[1.55] 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 className="mt-8">
+ <PillButton href={`${root}/app`} variant="primary" size="md">
+ Start a new project
</PillButton>
</div>
</div>