Open source CapCut alternative.
TypeScript
site/donkeyvision: hero/proof copy, section order, and sticky nav
David Le938399afcf62
diff --git a/site/src/app/donkeyvision/HeroSection.tsx b/site/src/app/donkeyvision/HeroSection.tsxindex 1143602d..af3f3a80 100644--- a/site/src/app/donkeyvision/HeroSection.tsx+++ b/site/src/app/donkeyvision/HeroSection.tsx@@ -1,6 +1,5 @@import { Braces } from "lucide-react";-import { ContactSalesButton } from "@/app/_components/landing/ContactSalesButton";import { VisionPreview } from "@/app/donkeyvision/VisionPreview";export function HeroSection() {@@ -8,8 +7,8 @@ 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]">- The API that turns any screenshot into{" "}- <span className="italic">clickable UI.</span>+ An API for <span className="italic">clickable UI</span> from+ screenshots.</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 —@@ -18,11 +17,6 @@ export function HeroSection() {no API at all.</p><div className="mt-9 flex max-w-full flex-wrap gap-3">- <ContactSalesButton- className="inline-flex min-h-14 items-center justify-center gap-2 rounded-full border-2 border-[#0F0E0D] bg-[#EC7868] px-7 text-base font-semibold text-[#0F0E0D] transition hover:-translate-y-0.5"- >- Contact us- </ContactSalesButton><aclassName="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"diff --git a/site/src/app/donkeyvision/ProofSection.tsx b/site/src/app/donkeyvision/ProofSection.tsxindex 8367053b..dccd3b96 100644--- a/site/src/app/donkeyvision/ProofSection.tsx+++ b/site/src/app/donkeyvision/ProofSection.tsx@@ -30,7 +30,7 @@ export function ProofSection() {<div className="mt-4 text-5xl font-bold tracking-tight md:text-6xl">{stat.value}</div>- <p className="mt-4 max-w-[34ch] text-sm font-medium leading-6 text-[#0F0E0D]/80">+ <p className="mt-4 text-sm font-medium leading-6 text-[#0F0E0D]/80">{stat.label}</p></div>@@ -38,9 +38,9 @@ export function ProofSection() {})}</div><p className="mt-8 max-w-3xl text-sm leading-6 text-[#0F0E0D]/60">- These are measured averages for normal screenshot sizes. Large images- and queueing add time. For high-volume usage we tune the endpoint to- your target latency.+ Latency numbers show server processing time only. Total request time+ also depends on image size, upload speed, network latency, and any+ queueing.</p></section>);diff --git a/site/src/app/donkeyvision/page.tsx b/site/src/app/donkeyvision/page.tsxindex 69e54d83..d6e27bfd 100644--- a/site/src/app/donkeyvision/page.tsx+++ b/site/src/app/donkeyvision/page.tsx@@ -20,12 +20,12 @@ export const metadata: Metadata = {export default function DonkeyVisionPage() {return (- <main className="min-h-screen w-full overflow-x-hidden bg-[#F5EFE0] font-[-apple-system,BlinkMacSystemFont,'Segoe_UI',sans-serif] text-[#0F0E0D]">- <TopNav ctaHref="/app/settings" ctaLabel="Get started" ctaShowArrow={false} />+ <main className="min-h-screen w-full overflow-x-clip bg-[#F5EFE0] font-[-apple-system,BlinkMacSystemFont,'Segoe_UI',sans-serif] text-[#0F0E0D]">+ <TopNav /><HeroSection /><ProofSection />- <ApiSection /><VisionCompareSection />+ <ApiSection /><UseCasesSection /><MediaSection /><PricingSection />