diff --git a/app/globals.css b/app/globals.css index 38f33e1..a6e8026 100644 --- a/app/globals.css +++ b/app/globals.css @@ -130,7 +130,6 @@ pre, [data-tone="bench"] { --tone: #f5e4d8; } [data-tone="integrations"] { --tone: #f2e9da; } [data-tone="hanko"] { --tone: #f6e6dc; } -[data-tone="learn"] { --tone: #ede2cf; } /* dark: the clips play in the darkest room, the numbers glow a little red */ .dark[data-tone="contract"] { --tone: #1e1815; } .dark[data-tone="playground"] { --tone: #161210; } @@ -138,7 +137,6 @@ pre, .dark[data-tone="bench"] { --tone: #24150f; } .dark[data-tone="integrations"] { --tone: #1b1715; } .dark[data-tone="hanko"] { --tone: #21130f; } -.dark[data-tone="learn"] { --tone: #14100e; } /* Lenis scrolls the page itself; the browser's own smoothing would fight it */ html.lenis { @@ -169,3 +167,7 @@ html.lenis { } } + +/* A grid item may shrink below its content (a code window, a long package name), so no page + scrolls sideways on a phone; what is too wide scrolls inside its own box. */ +.grid > * { min-width: 0; } diff --git a/app/page.tsx b/app/page.tsx index 095b541..c499a0b 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -8,7 +8,7 @@ import { Hero } from "@/components/landing/hero"; import { Contract } from "@/components/landing/contract"; import { Playground } from "@/components/landing/playground"; import { Clips } from "@/components/landing/clips"; -import { Bench, Integrations, Learn } from "@/components/landing/sections"; +import { Bench, Integrations, Start } from "@/components/landing/sections"; import { Hanko } from "@/components/landing/hanko"; import { pageMeta } from "@/lib/site"; import { app } from "@/server/app"; @@ -53,7 +53,7 @@ export default function Home() { - +