Skip to content

Open source CapCut alternative.

TypeScript

fix(site): unify home section titles at the lg headline size and shorten the Solutions heading to "Donkey can work"

David Le5290afb75a81
diff --git a/site/src/app/_components/landing/Demo.tsx b/site/src/app/_components/landing/Demo.tsx
index 2d651b57..72f834f4 100644
--- a/site/src/app/_components/landing/Demo.tsx
+++ b/site/src/app/_components/landing/Demo.tsx
@@ -15,7 +15,7 @@ export function Demo() {
margin: "0 auto",
}}
>
- <Headline>
+ <Headline size="lg">
See Donkey <span style={{ fontStyle: "italic" }}>in action.</span>
</Headline>
<p
diff --git a/site/src/app/_components/landing/FinalCTA.tsx b/site/src/app/_components/landing/FinalCTA.tsx
index 4fcb1d88..dbe6330b 100644
--- a/site/src/app/_components/landing/FinalCTA.tsx
+++ b/site/src/app/_components/landing/FinalCTA.tsx
@@ -15,7 +15,7 @@ export function FinalCTA() {
<div className="absolute inset-0 translate-x-2 translate-y-2 rounded-3xl bg-coral" />
<div className="relative rounded-3xl border-2 border-ink bg-ink px-6 py-10 text-center text-white md:px-12 md:py-20">
<div className="absolute -top-[10px] left-1/2 h-[18px] w-20 -translate-x-1/2 -rotate-2 rounded-[3px] border-2 border-ink bg-coral" />
- <h2 className="mb-4 text-[clamp(40px,7vw,80px)] leading-[0.95] font-semibold">
+ <h2 className="mb-4 text-[clamp(36px,5.5vw,64px)] leading-[0.95] font-semibold">
Let Donkey
<br />
carry the load.
diff --git a/site/src/app/_components/landing/OpenSource.tsx b/site/src/app/_components/landing/OpenSource.tsx
index 4af22f20..5ff50ac2 100644
--- a/site/src/app/_components/landing/OpenSource.tsx
+++ b/site/src/app/_components/landing/OpenSource.tsx
@@ -10,7 +10,7 @@ import { GITHUB_REPO_URL, openSourceReasons } from "@/app/_components/landing/da
export function OpenSource() {
return (
<section className="mx-auto max-w-[1400px] px-6 py-20 md:px-12 md:py-24">
- <Headline>
+ <Headline size="lg">
Donkey is <span className="italic">open source.</span>
</Headline>
<p className="mt-6 max-w-[900px] text-[17px] leading-[1.55] text-[#454545]">
diff --git a/site/src/app/_components/landing/Pricing.tsx b/site/src/app/_components/landing/Pricing.tsx
index 47d4315e..f0e2f2b7 100644
--- a/site/src/app/_components/landing/Pricing.tsx
+++ b/site/src/app/_components/landing/Pricing.tsx
@@ -19,7 +19,7 @@ export function Pricing() {
width: "100%",
}}
>
- <Headline>
+ <Headline size="lg">
Simple <span style={{ fontStyle: "italic" }}>pricing</span>
</Headline>
<div
diff --git a/site/src/app/_components/landing/Solutions.tsx b/site/src/app/_components/landing/Solutions.tsx
index ac20cfa2..1950a685 100644
--- a/site/src/app/_components/landing/Solutions.tsx
+++ b/site/src/app/_components/landing/Solutions.tsx
@@ -15,7 +15,7 @@ export function Solutions() {
margin: "0 auto",
}}
>
- <Headline>Donkey can do work</Headline>
+ <Headline size="lg">Donkey can work</Headline>
<p
style={{
marginTop: 24,