Skip to content

Open source CapCut alternative.

TypeScript

feat(site): swap homepage agents/how-it-works for a demo video section

David Le20dd1cba2862
diff --git a/site/src/app/_components/landing/Agents.tsx b/site/src/app/_components/landing/Agents.tsx
deleted file mode 100644
index aa770849..00000000
--- a/site/src/app/_components/landing/Agents.tsx
+++ /dev/null
@@ -1,125 +0,0 @@
-"use client";
-
-import {
- Headline,
- NumberBadge,
- TapedCard,
-} from "@/app/_components/landing/LandingPrimitives";
-import { agentCards } from "@/app/_components/landing/data";
-import { useMediaQuery } from "@/app/_components/landing/useMediaQuery";
-import { BLACK, tagPill } from "@/app/_components/landing/theme";
-
-export function Agents() {
- const isDesktop = useMediaQuery("(min-width: 768px)");
-
- return (
- <section
- style={{
- padding: isDesktop ? "96px 48px" : "80px 24px",
- maxWidth: 1400,
- margin: "0 auto",
- }}
- >
- <Headline>
- A team of specialised agents.
- <br />
- <span style={{ fontStyle: "italic" }}>Always on your Mac.</span>
- </Headline>
- <p
- style={{
- marginTop: 24,
- fontSize: 17,
- lineHeight: 1.55,
- maxWidth: 600,
- color: "#454545",
- }}
- >
- Each Donkey agent is purpose-built for one slice of your day. They share
- context, hand off cleanly, and live quietly in the notch until you need
- them.
- </p>
- <div style={{ marginTop: 48 }}>
- <TapedCard color="coral" tapeColor="yellow">
- <div style={{ padding: isDesktop ? 48 : 28 }}>
- <div style={tagPill}>AI agents - The main act</div>
- <h3
- style={{
- fontWeight: 600,
- fontSize: isDesktop ? 42 : 32,
- lineHeight: 1.05,
- margin: "0 0 32px",
- maxWidth: 720,
- }}
- >
- Four agents, controlled by you, delivering better outcomes,
- faster.
- </h3>
- <div
- style={{
- display: "grid",
- gridTemplateColumns: isDesktop ? "1fr 1fr" : "1fr",
- gap: 16,
- }}
- >
- {agentCards.map((agent) => (
- <div
- key={agent.n}
- style={{
- borderRadius: 16,
- background: "#fff",
- border: `2px solid ${BLACK}`,
- padding: 24,
- }}
- >
- <div
- style={{
- display: "flex",
- alignItems: "flex-start",
- gap: 16,
- }}
- >
- <NumberBadge n={agent.n} color={agent.color} />
- <div style={{ flex: 1, paddingTop: 4 }}>
- <div
- style={{
- fontSize: 11,
- fontWeight: 600,
- letterSpacing: "0.1em",
- textTransform: "uppercase",
- color: "#666",
- marginBottom: 6,
- }}
- >
- {agent.tag}
- </div>
- <h4
- style={{
- fontWeight: 600,
- fontSize: 22,
- lineHeight: 1.15,
- margin: "0 0 12px",
- }}
- >
- {agent.title}
- </h4>
- <p
- style={{
- fontSize: 15,
- lineHeight: 1.55,
- color: "#333",
- margin: 0,
- }}
- >
- {agent.body}
- </p>
- </div>
- </div>
- </div>
- ))}
- </div>
- </div>
- </TapedCard>
- </div>
- </section>
- );
-}
diff --git a/site/src/app/_components/landing/Demo.tsx b/site/src/app/_components/landing/Demo.tsx
new file mode 100644
index 00000000..7b867ea2
--- /dev/null
+++ b/site/src/app/_components/landing/Demo.tsx
@@ -0,0 +1,73 @@
+"use client";
+
+import { Headline, TapedCard } from "@/app/_components/landing/LandingPrimitives";
+import { useMediaQuery } from "@/app/_components/landing/useMediaQuery";
+import { BLACK } from "@/app/_components/landing/theme";
+
+export function Demo() {
+ const isDesktop = useMediaQuery("(min-width: 768px)");
+
+ return (
+ <section
+ style={{
+ padding: isDesktop ? "96px 48px" : "80px 24px",
+ maxWidth: 1400,
+ margin: "0 auto",
+ }}
+ >
+ <Headline>
+ See Donkey <span style={{ fontStyle: "italic" }}>in action.</span>
+ </Headline>
+ <p
+ style={{
+ marginTop: 24,
+ fontSize: 17,
+ lineHeight: 1.55,
+ maxWidth: 600,
+ color: "#454545",
+ }}
+ >
+ Watch Donkey take a real task end-to-end on a Mac: reading the screen,
+ driving your apps, and pausing for your sign-off.
+ </p>
+
+ <div style={{ marginTop: 48 }}>
+ <TapedCard
+ color="white"
+ shadowColor="coral"
+ tapeColor="yellow"
+ tapePosition="center"
+ >
+ <div style={{ padding: isDesktop ? 20 : 12 }}>
+ <div
+ style={{
+ position: "relative",
+ aspectRatio: "16 / 9",
+ borderRadius: 12,
+ overflow: "hidden",
+ border: `2px solid ${BLACK}`,
+ background: BLACK,
+ }}
+ >
+ <video
+ controls
+ playsInline
+ preload="metadata"
+ style={{
+ position: "absolute",
+ inset: 0,
+ width: "100%",
+ height: "100%",
+ objectFit: "cover",
+ }}
+ >
+ <source src="/demo.mp4" type="video/mp4" />
+ Your browser does not support the video tag.
+ </video>
+ </div>
+ </div>
+ </TapedCard>
+ </div>
+ </section>
+ );
+}
diff --git a/site/src/app/_components/landing/DonkeyLanding.tsx b/site/src/app/_components/landing/DonkeyLanding.tsx
index 854b40d5..ee1114e1 100644
--- a/site/src/app/_components/landing/DonkeyLanding.tsx
+++ b/site/src/app/_components/landing/DonkeyLanding.tsx
@@ -1,11 +1,10 @@
"use client";
-import { Agents } from "@/app/_components/landing/Agents";
+import { Demo } from "@/app/_components/landing/Demo";
import { DonkeyVisionCTA } from "@/app/_components/landing/DonkeyVisionCTA";
import { FinalCTA } from "@/app/_components/landing/FinalCTA";
import { Footer } from "@/app/_components/landing/Footer";
import { Hero } from "@/app/_components/landing/Hero";
-import { HowItWorks } from "@/app/_components/landing/HowItWorks";
import { OpenSource } from "@/app/_components/landing/OpenSource";
import { Pricing } from "@/app/_components/landing/Pricing";
import { Solutions } from "@/app/_components/landing/Solutions";
@@ -29,8 +28,7 @@ export default function DonkeyLanding() {
<Hero />
<TrustedBy />
<Solutions />
- <Agents />
- <HowItWorks />
+ <Demo />
<VsThePast />
<OpenSource />
<Pricing />
diff --git a/site/src/app/_components/landing/HowItWorks.tsx b/site/src/app/_components/landing/HowItWorks.tsx
deleted file mode 100644
index ac38d228..00000000
--- a/site/src/app/_components/landing/HowItWorks.tsx
+++ /dev/null
@@ -1,100 +0,0 @@
-"use client";
-
-import {
- Headline,
- NumberBadge,
- TapedCard,
-} from "@/app/_components/landing/LandingPrimitives";
-import { workflowSteps } from "@/app/_components/landing/data";
-import { useMediaQuery } from "@/app/_components/landing/useMediaQuery";
-import { BLACK } from "@/app/_components/landing/theme";
-
-export function HowItWorks() {
- const isDesktop = useMediaQuery("(min-width: 768px)");
-
- return (
- <section
- style={{
- padding: isDesktop ? "96px 48px" : "80px 24px",
- maxWidth: 1400,
- margin: "0 auto",
- }}
- >
- <Headline>
- Ask. Watch. <span style={{ fontStyle: "italic" }}>Approve.</span>
- </Headline>
- <p
- style={{
- marginTop: 24,
- fontSize: 17,
- lineHeight: 1.55,
- maxWidth: 600,
- color: "#454545",
- }}
- >
- Donkey runs locally on your Mac. You stay in the loop on every important
- step, without being on the hook for every keystroke.
- </p>
-
- <div style={{ marginTop: 48, display: "grid", gap: 24 }}>
- {workflowSteps.map((step) => (
- <TapedCard
- key={step.n}
- color="cream"
- shadowColor="coral"
- tapeColor={step.color}
- >
- <div
- style={{
- padding: 24,
- display: "flex",
- alignItems: "flex-start",
- gap: 20,
- }}
- >
- <NumberBadge n={step.n} color={step.color} />
- <div style={{ flex: 1 }}>
- <h3
- style={{
- fontWeight: 600,
- fontSize: 26,
- lineHeight: 1.15,
- margin: "0 0 8px",
- }}
- >
- {step.title}
- </h3>
- <p
- style={{
- fontSize: 15,
- lineHeight: 1.55,
- color: "#222",
- margin: "0 0 12px",
- }}
- >
- {step.body}
- </p>
- <div
- style={{
- display: "inline-flex",
- alignItems: "center",
- borderRadius: 999,
- border: `2px solid ${BLACK}`,
- padding: "4px 14px",
- fontSize: 11,
- fontWeight: 600,
- letterSpacing: "0.08em",
- textTransform: "uppercase",
- background: "rgba(255,255,255,0.5)",
- }}
- >
- {step.timing}
- </div>
- </div>
- </div>
- </TapedCard>
- ))}
- </div>
- </section>
- );
-}
diff --git a/site/src/app/_components/landing/data.ts b/site/src/app/_components/landing/data.ts
index c57ba4eb..d4fa3ad0 100644
--- a/site/src/app/_components/landing/data.ts
+++ b/site/src/app/_components/landing/data.ts
@@ -38,73 +38,6 @@ export const solutionCards = [
title: string;
}>;
-export const agentCards = [
- {
- n: 1,
- color: "blue",
- tag: "Coder agent",
- title: "Ships code while you sleep.",
- body: "Drafts PRs, runs migrations, fixes flaky tests, writes commit messages that actually describe the change.",
- },
- {
- n: 2,
- color: "yellow",
- tag: "Browser agent",
- title: "Reads the web for you.",
- body: "Comparison shopping, competitive research, scraping pricing pages, without you ever opening a tab.",
- },
- {
- n: 3,
- color: "mint",
- tag: "Inbox agent",
- title: "Drafts replies before you read them.",
- body: "Knows your tone, your contacts, your past threads. Surfaces what matters; drafts everything else.",
- },
- {
- n: 4,
- color: "pink",
- tag: "Scheduler agent",
- title: "Finds time across time zones.",
- body: "Books, reschedules, prep-docs. Drops the right Zoom link in the right invite without being asked twice.",
- },
-] satisfies Array<{
- body: string;
- color: CardColor;
- n: number;
- tag: string;
- title: string;
-}>;
-
-export const workflowSteps = [
- {
- n: 1,
- color: "coral",
- title: "Tell Donkey",
- timing: "Seconds",
- body: "Double-tap Command. Type or speak the task. Donkey picks the right agent and asks any clarifying questions up front.",
- },
- {
- n: 2,
- color: "blue",
- title: "Watch it work",
- timing: "Minutes",
- body: "The agent runs on your Mac with your apps, your files, your accounts. You can step in any time; it pauses cleanly and waits.",
- },
- {
- n: 3,
- color: "yellow",
- title: "Approve and ship",
- timing: "Ongoing",
- body: "Donkey shows you the diff: a draft, a PR, a calendar slot, and you approve. The next agent picks up where this one left off.",
- },
-] satisfies Array<{
- body: string;
- color: CardColor;
- n: number;
- timing: string;
- title: string;
-}>;
-
export const comparisonRows = [
{ label: "Runs locally on your Mac", gpts: false, donkey: true, humans: true },
{ label: "Handles 20+ apps end-to-end", gpts: false, donkey: true, humans: true },