Skip to content

Commit d96d513

Browse files
1chooocursoragent
andcommitted
style(web): unify body content width to max-w-340
Align landing sections, footer, and designs catalog with the navbar rail so edges read as one column. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent d2e8a5b commit d96d513

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

apps/web/app/designs/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ export default async function DesignsPage(props: {
7575
}
7676

7777
return (
78-
<div className="relative min-h-screen px-6 pt-28 pb-24">
78+
<div className="relative min-h-screen pt-28 pb-24">
7979
<NoiseTexture opacity={0.025} />
8080

81-
<div className="relative z-10 mx-auto max-w-7xl">
81+
<div className="relative z-10 mx-auto w-full max-w-340 px-6">
8282
<BlurFade delay={0.05}>
8383
<div className="mb-10">
8484
<p className="mb-3 text-xs font-medium tracking-[0.15em] text-muted-foreground uppercase">

apps/web/components/footer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const links = {
2020

2121
export function Footer() {
2222
return (
23-
<footer className="relative overflow-hidden border-t border-border bg-background px-6 py-12">
23+
<footer className="relative overflow-hidden border-t border-border bg-background py-12">
2424
{/* Oversized brand watermark */}
2525
<span
2626
aria-hidden
@@ -29,7 +29,7 @@ export function Footer() {
2929
Tawny
3030
</span>
3131

32-
<div className="relative mx-auto max-w-7xl">
32+
<div className="relative mx-auto w-full max-w-340 px-6">
3333
<div className="flex flex-col gap-10 md:flex-row md:justify-between">
3434
{/* Brand */}
3535
<div className="max-w-xs">

apps/web/components/landing/components-showcase.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import { BlurFade } from '@tawny/ui/components/blur-fade'
99
*/
1010
export function ComponentsShowcase() {
1111
return (
12-
<section className="relative border-t border-border px-6 py-20">
13-
<div className="relative z-10 mx-auto max-w-340">
12+
<section className="relative border-t border-border py-20">
13+
<div className="relative z-10 mx-auto w-full max-w-340 px-6">
1414
<BlurFade delay={0.05} inView>
1515
<div className="mb-10 flex items-end justify-between">
1616
<div>

apps/web/components/landing/cta.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export function Cta() {
88
aria-hidden="true"
99
className="pointer-events-none absolute inset-0 bg-[radial-gradient(70%_55%_at_50%_50%,color-mix(in_oklch,var(--tawny)_22%,transparent),transparent_72%)]"
1010
/>
11-
<div className="relative mx-auto flex max-w-4xl flex-col items-center px-4 py-20 text-center md:px-6 md:py-24">
11+
<div className="relative mx-auto flex w-full max-w-340 flex-col items-center px-6 py-20 text-center md:py-24">
1212
<h2 className="text-balance font-serif text-5xl leading-[1.05] tracking-tight text-foreground md:text-6xl">
1313
Ship with Tawny designs.
1414
</h2>

0 commit comments

Comments
 (0)