Open source CapCut alternative.
TypeScript
fix(site): tweak donkeyvision hero copy and browser-chrome styling
David Lef43b5c2707fe
diff --git a/site/src/app/donkeyvision/HeroSection.tsx b/site/src/app/donkeyvision/HeroSection.tsxindex af3f3a80..1e1c8d64 100644--- a/site/src/app/donkeyvision/HeroSection.tsx+++ b/site/src/app/donkeyvision/HeroSection.tsx@@ -7,8 +7,7 @@ export function HeroSection() {<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-[46px] font-semibold leading-[0.92] sm:text-[54px] md:text-[76px] md:leading-[0.9] lg:text-[92px]">- An API for <span className="italic">clickable UI</span> from- screenshots.+ Open source <span className="italic">computer use</span> API</h1><p className="mt-7 max-w-2xl break-words text-lg leading-8 text-[#454545] md:text-xl">Donkey Vision finds every interactable element in a screenshot —diff --git a/site/src/app/donkeyvision/MediaSection.tsx b/site/src/app/donkeyvision/MediaSection.tsxindex bb047955..71c86f07 100644--- a/site/src/app/donkeyvision/MediaSection.tsx+++ b/site/src/app/donkeyvision/MediaSection.tsx@@ -4,14 +4,14 @@ export function MediaSection() {return (<section className="border-y-2 border-[#0F0E0D] bg-white py-20"><div className="mx-auto max-w-[1400px] px-6 md:px-12">- <h2 className="text-4xl font-semibold leading-none md:whitespace-nowrap md:text-6xl">+ <h2 className="text-4xl font-semibold leading-none md:text-6xl 2xl:whitespace-nowrap">Works anywhere a screenshot can be captured.</h2>- <p className="mt-6 text-lg leading-8 text-[#454545] md:whitespace-nowrap">+ <p className="mt-6 text-lg leading-8 text-[#454545] 2xl:whitespace-nowrap">Donkey Vision analyzes pixels directly. No DOM access, privateintegration, app-specific setup, or brittle selectors required.</p>- <p className="mt-4 text-lg leading-8 text-[#454545] md:whitespace-nowrap">+ <p className="mt-4 text-lg leading-8 text-[#454545] 2xl:whitespace-nowrap">The same API request can process native apps, browser tabs, Electronapps, remote desktops, and other screenshot-based environments.</p>diff --git a/site/src/app/donkeyvision/VisionCompareSection.tsx b/site/src/app/donkeyvision/VisionCompareSection.tsxindex 5aeac4f9..401b744c 100644--- a/site/src/app/donkeyvision/VisionCompareSection.tsx+++ b/site/src/app/donkeyvision/VisionCompareSection.tsx@@ -41,13 +41,13 @@ export function VisionCompareSection() {<div className="relative mt-10"><div className="relative overflow-hidden rounded-lg border-2 border-[#0F0E0D] bg-[#FAF6EC]">- <div className="flex items-center justify-between border-b-2 border-[#0F0E0D] bg-white px-4 py-3">+ <div className="flex items-center justify-between border-b-2 border-[#0F0E0D] bg-white px-4 py-[9px]"><div className="flex items-center gap-2"><span className="h-3 w-3 rounded-full border-2 border-[#0F0E0D] bg-[#EC7868]" /><span className="h-3 w-3 rounded-full border-2 border-[#0F0E0D] bg-[#F5D875]" /><span className="h-3 w-3 rounded-full border-2 border-[#0F0E0D] bg-[#B7E4C7]" /></div>- <span className="text-sm font-semibold">{active.title}</span>+ <span className="text-[10px] font-semibold">{active.title}</span></div><divdiff --git a/site/src/app/donkeyvision/VisionPreview.tsx b/site/src/app/donkeyvision/VisionPreview.tsxindex 2730b0d3..228d471d 100644--- a/site/src/app/donkeyvision/VisionPreview.tsx+++ b/site/src/app/donkeyvision/VisionPreview.tsx@@ -10,13 +10,13 @@ export function VisionPreview() {return (<div className="relative w-full min-w-0 max-w-full self-center"><div className="relative w-full max-w-full overflow-hidden rounded-lg border-2 border-[#0F0E0D] bg-[#FAF6EC]">- <div className="flex items-center justify-between border-b-2 border-[#0F0E0D] bg-white px-4 py-3">+ <div className="flex items-center justify-between border-b-2 border-[#0F0E0D] bg-white px-4 py-[9px]"><div className="flex items-center gap-2"><span className="h-3 w-3 rounded-full border-2 border-[#0F0E0D] bg-[#EC7868]" /><span className="h-3 w-3 rounded-full border-2 border-[#0F0E0D] bg-[#F5D875]" /><span className="h-3 w-3 rounded-full border-2 border-[#0F0E0D] bg-[#B7E4C7]" /></div>- <span className="text-sm font-semibold">Spotify</span>+ <span className="text-[10px] font-semibold">Spotify</span></div><divclassName="relative w-full"