Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions src/routes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -406,10 +406,8 @@ function cubicAngle(
/**
* The "Why TanStack?" principles stack — Figma 478:1734.
*
* Geometry follows the design frame: a 960px column, each feature card 313px
* tall (233px of content inside 40px padding), with the copy column and the
* proof panel separated by a 48px gutter. The description sits bottom-right of
* its column, which is what produces the stepped rhythm down the stack.
* On desktop, the stack is 960px wide. Each card has 233px of content with
* 40px of padding above and below and a 70px gap between the two columns.
*/
function WhyTanStackSection() {
return (
Expand All @@ -435,7 +433,7 @@ function WhyTanStackSection() {
<li
key={principle.title}
className={twMerge(
'flex flex-col gap-8 p-6 sm:p-10 lg:flex-row lg:items-center lg:justify-center lg:gap-[70px]',
'flex flex-col gap-8 py-6 sm:py-10 lg:flex-row lg:items-center lg:justify-center lg:gap-[70px]',
index < whyTanStackPrinciples.length - 1 &&
'border-b border-gray-200 dark:border-gray-800',
)}
Expand Down
Loading