Open source CapCut alternative.
TypeScript
Refine Donkey Vision landing copy
David Leba6029545ee6
diff --git a/site/src/app/_components/landing/DonkeyVisionCTA.tsx b/site/src/app/_components/landing/DonkeyVisionCTA.tsxindex 3f708c71..f6e5cdbb 100644--- a/site/src/app/_components/landing/DonkeyVisionCTA.tsx+++ b/site/src/app/_components/landing/DonkeyVisionCTA.tsx@@ -47,7 +47,7 @@ export function DonkeyVisionCTA() {Explore Donkey Vision <ArrowRight size={18} /></PillButton><ContactSalesButton- className="inline-flex min-h-14 items-center justify-center gap-2 rounded-full border-2 border-[#0F0E0D] bg-[#EC7868] px-7 py-4 text-base font-semibold text-[#0F0E0D] transition hover:-translate-y-0.5"+ className="inline-flex min-h-14 items-center justify-center gap-2 rounded-full bg-[#EC7868] px-7 py-4 text-base font-semibold text-[#0F0E0D] transition hover:-translate-y-0.5">Contact us</ContactSalesButton>diff --git a/site/src/app/donkeyvision/ApiSection.tsx b/site/src/app/donkeyvision/ApiSection.tsxindex 918b4afc..6fbc71a3 100644--- a/site/src/app/donkeyvision/ApiSection.tsx+++ b/site/src/app/donkeyvision/ApiSection.tsx@@ -1,4 +1,4 @@-import { Braces } from "lucide-react";+import { ArrowDown, Braces } from "lucide-react";import {elementResponseExample,@@ -18,6 +18,15 @@ type ExampleBlockProps = {title: string;};+type ExamplePairProps = {+ badge: string;+ caption: string;+ request: string;+ requestTitle: string;+ response: string;+ responseTitle: string;+};+export function ApiSection() {return (<section@@ -31,10 +40,11 @@ export function ApiSection() {One endpoint, two jobs.</h2><p className="mt-6 max-w-2xl text-lg leading-8 text-[#454545]">- Donkey Vision first detects UI elements and returns IDs, labels,- boxes, center points, and interactivity. If you include an instruction,- the LLM only receives that compact element catalog and picks the best- target. Coordinates come from the parser output, not the LLM.+ Every request detects UI elements and returns IDs, labels, boxes,+ center points, and interactivity. Add an instruction and a second+ stage runs: the LLM sees only that compact element catalog and picks+ the best target. Coordinates always come from the parser, never the+ model.</p><div className="mt-8 grid gap-4">{features.map((feature) => (@@ -42,11 +52,23 @@ export function ApiSection() {))}</div></div>- <div className="grid min-w-0 gap-5">- <ExampleBlock code={requestExample} title="Return all elements" />- <ExampleBlock code={elementResponseExample} title="Element response" />- <ExampleBlock code={groundingRequestExample} title="Ask about a screenshot" />- <ExampleBlock code={groundingResponseExample} title="Grounded target" />+ <div className="grid min-w-0 gap-8">+ <ExamplePair+ badge="Job 1"+ caption="Detect every interactable element."+ request={requestExample}+ requestTitle="Request"+ response={elementResponseExample}+ responseTitle="Response"+ />+ <ExamplePair+ badge="Job 2"+ caption="Ground an instruction to one target."+ request={groundingRequestExample}+ requestTitle="Request"+ response={groundingResponseExample}+ responseTitle="Response"+ /></div></div></div>@@ -54,6 +76,33 @@ export function ApiSection() {);}+function ExamplePair({+ badge,+ caption,+ request,+ requestTitle,+ response,+ responseTitle,+}: ExamplePairProps) {+ return (+ <div className="min-w-0">+ <div className="mb-3 flex items-center gap-3">+ <span className="inline-flex items-center rounded-full border-2 border-[#0F0E0D] bg-[#F5D875] px-3 py-1 text-xs font-semibold uppercase tracking-[0.08em]">+ {badge}+ </span>+ <span className="text-sm font-semibold text-[#0F0E0D]">{caption}</span>+ </div>+ <div className="grid gap-2">+ <ExampleBlock code={request} title={requestTitle} />+ <div className="flex justify-center">+ <ArrowDown size={18} className="text-[#0F0E0D]" aria-hidden="true" />+ </div>+ <ExampleBlock code={response} title={responseTitle} />+ </div>+ </div>+ );+}+function FeatureLine({ feature }: FeatureLineProps) {const Icon = feature.icon;diff --git a/site/src/app/donkeyvision/HeroSection.tsx b/site/src/app/donkeyvision/HeroSection.tsxindex 44762df3..d445c2b3 100644--- a/site/src/app/donkeyvision/HeroSection.tsx+++ b/site/src/app/donkeyvision/HeroSection.tsx@@ -7,15 +7,15 @@ export function HeroSection() {return (<section className="mx-auto grid w-full max-w-[1400px] gap-10 px-6 pb-16 pt-10 md:grid-cols-[minmax(0,1.02fr)_minmax(420px,0.98fr)] md:px-12 md:pb-24 md:pt-16"><div className="flex min-w-0 flex-col justify-center">- <h1 className="max-w-4xl break-words text-[52px] font-semibold leading-[0.92] sm:text-[56px] md:text-[88px] md:leading-[0.9] lg:text-[112px]">- Donkey Vision+ <h1 className="max-w-4xl break-words text-[46px] font-semibold leading-[0.92] sm:text-[54px] md:text-[76px] md:leading-[0.9] lg:text-[92px]">+ Turn any screenshot into <span className="italic">clickable UI.</span></h1><p className="mt-7 max-w-2xl break-words text-lg leading-8 text-[#454545] md:text-xl">- Detect every interactable UI element in a screenshot, then optionally ask- natural-language questions like find the play button or find the next- button. It works across software because it reads the screen, not a- private app integration. It is the same screen-understanding layer we- now use inside Donkey to map app windows while building our Mac agent.+ Donkey Vision finds every interactable element in a screenshot —+ buttons, icons, inputs, rows — and returns each one’s box, center+ point, and label. Add an instruction like “find the next+ button” and it grounds to a single target. It reads pixels, so it+ works on software that exposes no API at all.</p><div className="mt-9 flex max-w-full flex-wrap gap-3"><ContactSalesButton@@ -27,9 +27,13 @@ export function HeroSection() {className="inline-flex min-h-14 items-center justify-center gap-2 rounded-full border-2 border-[#0F0E0D] bg-white px-7 text-base font-semibold text-[#0F0E0D] transition hover:-translate-y-0.5"href="#api">- See API shape <Braces size={18} aria-hidden="true" />+ See the API <Braces size={18} aria-hidden="true" /></a></div>+ <p className="mt-7 text-sm text-[#666]">+ The same screen-understanding layer Donkey uses to read and drive apps+ on your Mac.+ </p></div><VisionPreview /></section>diff --git a/site/src/app/donkeyvision/MediaSection.tsx b/site/src/app/donkeyvision/MediaSection.tsxindex 4479b7ba..0064e2c1 100644--- a/site/src/app/donkeyvision/MediaSection.tsx+++ b/site/src/app/donkeyvision/MediaSection.tsx@@ -1,45 +1,35 @@-import { ImageIcon, Video, type LucideIcon } from "lucide-react";+import { Check } from "lucide-react";-type Props = {- icon: LucideIcon;- label: string;-};+import { surfaces } from "@/app/donkeyvision/data";export function MediaSection() {return (<section className="border-y-2 border-[#0F0E0D] bg-white px-6 py-20 md:px-12">- <div className="mx-auto grid max-w-[1400px] gap-8 lg:grid-cols-[0.85fr_1.15fr]">+ <div className="mx-auto grid max-w-[1400px] gap-10 lg:grid-cols-[0.85fr_1.15fr]"><div><h2 className="max-w-2xl text-4xl font-semibold leading-none md:text-6xl">- Ready for real apps, not only clean demos.+ If you can screenshot it, Donkey Vision can read it.</h2><p className="mt-6 max-w-2xl text-lg leading-8 text-[#454545]">- This page is set up for a video walkthrough plus screenshots from- developer tools, browsers, productivity apps, media apps, enterprise- software, and common user applications.+ Detection works on pixels, not a private integration or the DOM. The+ same request handles a native Mac window, a browser tab, or a remote+ desktop — no per-app setup and no brittle selectors.</p></div>- <div className="grid gap-5 md:grid-cols-2">- <MediaSlot icon={Video} label="Video walkthrough" />- <MediaSlot icon={ImageIcon} label="Application screenshots" />+ <div className="grid gap-4 sm:grid-cols-2">+ {surfaces.map((surface) => (+ <div+ className="flex items-center gap-3 rounded-lg border-2 border-[#0F0E0D] bg-[#FAF6EC] p-4"+ key={surface}+ >+ <span className="flex h-9 w-9 shrink-0 items-center justify-center rounded-md border-2 border-[#0F0E0D] bg-[#B7E4C7]">+ <Check size={18} aria-hidden="true" />+ </span>+ <span className="text-base font-semibold leading-6">{surface}</span>+ </div>+ ))}</div></div></section>);}--function MediaSlot({ icon: Icon, label }: Props) {- return (- <div className="flex min-h-[260px] flex-col justify-between rounded-lg border-2 border-dashed border-[#0F0E0D] bg-[#FAF6EC] p-5">- <div className="flex h-12 w-12 items-center justify-center rounded-md border-2 border-[#0F0E0D] bg-[#B7E4C7]">- <Icon size={22} aria-hidden="true" />- </div>- <div>- <div className="text-xl font-semibold">{label}</div>- <div className="mt-2 text-sm leading-6 text-[#555]">- Reserved for uploaded customer-facing media.- </div>- </div>- </div>- );-}diff --git a/site/src/app/donkeyvision/PricingSection.tsx b/site/src/app/donkeyvision/PricingSection.tsxindex f85aefa2..66f34402 100644--- a/site/src/app/donkeyvision/PricingSection.tsx+++ b/site/src/app/donkeyvision/PricingSection.tsx@@ -10,16 +10,17 @@ export function PricingSection() {<div className="relative grid gap-8 rounded-lg border-2 border-[#0F0E0D] bg-[#0F0E0D] p-8 text-white md:grid-cols-[1fr_auto] md:p-12"><div><h2 className="max-w-3xl text-4xl font-semibold leading-none md:text-6xl">- Contact us for Donkey Vision API access.+ Get Donkey Vision API access.</h2><p className="mt-6 max-w-2xl text-lg leading-8 text-white/75">- Tell us your screenshot volume and latency target. We will shape- access, request limits, and support around the experience you need.+ Tell us your screenshot volume and latency target. We’ll shape+ access, request limits, and support around what you’re+ building.</p></div><div className="flex items-center md:justify-end"><ContactSalesButton- className="inline-flex min-h-14 items-center justify-center gap-2 rounded-full border-2 border-white bg-[#EC7868] px-7 text-base font-semibold text-[#0F0E0D] transition hover:-translate-y-0.5"+ className="inline-flex min-h-14 items-center justify-center gap-2 rounded-full bg-[#EC7868] px-7 text-base font-semibold text-[#0F0E0D] transition hover:-translate-y-0.5">Contact us <Mail size={18} aria-hidden="true" /></ContactSalesButton>diff --git a/site/src/app/donkeyvision/ProofSection.tsx b/site/src/app/donkeyvision/ProofSection.tsxindex 6c8529c7..4c2bb6f1 100644--- a/site/src/app/donkeyvision/ProofSection.tsx+++ b/site/src/app/donkeyvision/ProofSection.tsx@@ -5,17 +5,18 @@ export function ProofSection() {<section className="mx-auto w-full max-w-[1400px] px-6 pb-20 md:px-12"><div className="grid gap-5 md:grid-cols-2">{stats.map((stat) => (- <div className="rounded-lg border-2 border-[#0F0E0D] bg-white p-5" key={stat.label}>- <div className="text-2xl font-semibold md:text-3xl">{stat.value}</div>- <div className="mt-2 text-sm leading-6 text-[#555]">{stat.label}</div>+ <div className="rounded-lg border-2 border-[#0F0E0D] bg-white p-6" key={stat.label}>+ <div className="text-4xl font-semibold tracking-tight md:text-5xl">+ {stat.value}+ </div>+ <div className="mt-3 text-sm leading-6 text-[#555]">{stat.label}</div></div>))}</div><div className="mt-5 rounded-lg border-2 border-[#0F0E0D] bg-[#F5D875] p-5 text-sm leading-7 md:text-base">- Latency ranges are planning estimates for normal screenshot sizes. Very- large images, queueing, and the optional natural-language grounding step- can add time. For high-volume usage, we tune the API around your target- latency.+ These are planning estimates for normal screenshot sizes. Large images,+ queueing, and the grounding step add time. For high-volume usage we tune+ the endpoint to your target latency.</div></section>);diff --git a/site/src/app/donkeyvision/UseCasesSection.tsx b/site/src/app/donkeyvision/UseCasesSection.tsxindex 5934b9e9..e232b40f 100644--- a/site/src/app/donkeyvision/UseCasesSection.tsx+++ b/site/src/app/donkeyvision/UseCasesSection.tsx@@ -11,13 +11,13 @@ export function UseCasesSection() {<div className="mb-10 flex flex-col justify-between gap-5 md:flex-row md:items-end"><div><h2 className="max-w-3xl text-4xl font-semibold leading-none md:text-6xl">- Screen understanding for software that does not expose an API.+ Screen understanding for software that exposes no API.</h2></div><p className="max-w-lg text-lg leading-8 text-[#454545]">- Upload a screenshot from any application and get a structured UI map.- Add a natural-language instruction when your product needs a target- instead of a full element list.+ Send a screenshot from any application and get back a structured UI+ map. Add an instruction when your product needs one target instead of+ the full element list.</p></div><div className="grid gap-5 md:grid-cols-2 lg:grid-cols-4">diff --git a/site/src/app/donkeyvision/data.ts b/site/src/app/donkeyvision/data.tsindex e60e350e..5280d753 100644--- a/site/src/app/donkeyvision/data.ts+++ b/site/src/app/donkeyvision/data.ts@@ -12,8 +12,15 @@ import {import type { Feature, Stat } from "@/app/donkeyvision/types";export const stats: Stat[] = [- { label: "Element detection", value: "As low as ~600ms" },- { label: "Ask about the screenshot", value: "As low as ~1.2s" },+ {+ label: "Typical time to detect and return every element in a screenshot.",+ value: "~600ms",+ },+ {+ label:+ "Typical time to detect, then ground a natural-language instruction to one target.",+ value: "~1.2s",+ },];export const features: Feature[] = [@@ -70,6 +77,15 @@ export const useCases: Feature[] = [},];+export const surfaces: string[] = [+ "Native macOS apps",+ "Web apps in any browser",+ "Electron and hybrid shells",+ "Remote desktop and VNC sessions",+ "Enterprise and internal tools",+ "Games and media players",+];+export const requestExample = `{"image": "<base64 png/jpeg/webp screenshot>","returnElements": true,