Open source CapCut alternative.
TypeScript
site/donkeyvision: stack section headers and align bullets
David Le92080be373cc
diff --git a/site/src/app/donkeyvision/MediaSection.tsx b/site/src/app/donkeyvision/MediaSection.tsxindex f2f2ebd5..bb047955 100644--- a/site/src/app/donkeyvision/MediaSection.tsx+++ b/site/src/app/donkeyvision/MediaSection.tsx@@ -4,23 +4,23 @@ 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="max-w-2xl text-4xl font-semibold leading-none md:text-6xl">+ <h2 className="text-4xl font-semibold leading-none md:whitespace-nowrap md:text-6xl">Works anywhere a screenshot can be captured.</h2>- <p className="mt-6 max-w-2xl text-lg leading-8 text-[#454545]">+ <p className="mt-6 text-lg leading-8 text-[#454545] md:whitespace-nowrap">Donkey Vision analyzes pixels directly. No DOM access, privateintegration, app-specific setup, or brittle selectors required.</p>- <p className="mt-4 max-w-2xl text-lg leading-8 text-[#454545]">+ <p className="mt-4 text-lg leading-8 text-[#454545] md:whitespace-nowrap">The same API request can process native apps, browser tabs, Electronapps, remote desktops, and other screenshot-based environments.</p><ul className="mt-10 grid max-w-3xl gap-x-10 gap-y-3 sm:grid-cols-2">{surfaces.map((surface) => (- <li className="flex items-baseline gap-3" key={surface}>+ <li className="flex items-center gap-3" key={surface}><spanaria-hidden="true"- className="h-1.5 w-1.5 shrink-0 translate-y-[7px] rounded-full bg-[#0F0E0D]"+ className="h-1.5 w-1.5 shrink-0 rounded-full bg-[#0F0E0D]"/><span className="text-base font-semibold leading-6">{surface}</span></li>diff --git a/site/src/app/donkeyvision/UseCasesSection.tsx b/site/src/app/donkeyvision/UseCasesSection.tsxindex c103bf88..5b69e13c 100644--- a/site/src/app/donkeyvision/UseCasesSection.tsx+++ b/site/src/app/donkeyvision/UseCasesSection.tsx@@ -9,13 +9,11 @@ type Props = {export function UseCasesSection() {return (<section className="mx-auto w-full max-w-[1400px] px-6 py-20 md:px-12">- <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">- Use screenshots when there is no API.- </h2>- </div>- <p className="max-w-lg text-lg leading-8 text-[#454545]">+ <div className="mb-10">+ <h2 className="text-4xl font-semibold leading-none md:whitespace-nowrap md:text-6xl">+ Use screenshots when there is no API.+ </h2>+ <p className="mt-5 max-w-2xl text-lg leading-8 text-[#454545]">Send a screenshot from any application. Donkey Vision returns detectedUI elements, labels, bounding boxes, center points, and optionalprompt-matched click targets.