Skip to content

Commit 56faf6a

Browse files
V48 Gate 3 (implementation-only): compact product-route header — inline metric chips instead of the stacked card grid
The shared ProductRouteShell header (Depositing/Reading) collapses to one wrapping row: smaller eyebrow + title + one-line summary on the left, metrics as inline label·value CHIPS on the right — replacing the three-row grid of boxed metric cards that dominated the top of the page. Header padding and type scale tightened (py-3.5, text-xl/2xl title, text-xs summary). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 0418207 commit 56faf6a

1 file changed

Lines changed: 12 additions & 9 deletions

File tree

uapi/components/base/bitcode/routes/product-route-shell.tsx

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -100,31 +100,34 @@ export function ProductRouteShell({
100100
className={`min-h-screen ${toneClasses.page} px-4 pb-24 pt-32 text-neutral-100 tablet:px-6 desktop:px-8`}
101101
>
102102
<div className="mx-auto grid w-full max-w-[1800px] gap-5">
103+
{/* Compact route header: one wrapping row — title block left, metric
104+
CHIPS (label · value inline) right — instead of a tall stacked
105+
card grid. */}
103106
<header
104-
className={`grid gap-5 border ${toneClasses.headerBorder} bg-[linear-gradient(135deg,rgba(7,14,26,0.96),rgba(4,9,18,0.92))] px-5 py-5 shadow-[0_30px_100px_rgba(0,0,0,0.34)] xl:grid-cols-[minmax(0,1fr)_minmax(340px,0.6fr)] xl:items-end`}
107+
className={`flex flex-wrap items-center gap-x-6 gap-y-3 border ${toneClasses.headerBorder} bg-[linear-gradient(135deg,rgba(7,14,26,0.96),rgba(4,9,18,0.92))] px-5 py-3.5 shadow-[0_30px_100px_rgba(0,0,0,0.34)]`}
105108
>
106-
<div>
109+
<div className="min-w-0">
107110
<p
108-
className={`flex items-center gap-2 text-[0.72rem] uppercase tracking-[0.34em] ${toneClasses.eyebrow}`}
111+
className={`flex items-center gap-2 text-[0.66rem] uppercase tracking-[0.3em] ${toneClasses.eyebrow}`}
109112
>
110-
<Icon className="h-4 w-4" aria-hidden="true" />
113+
<Icon className="h-3.5 w-3.5" aria-hidden="true" />
111114
{label}
112115
</p>
113-
<h1 className="mt-3 text-3xl font-semibold tracking-tight text-white tablet:text-4xl">
116+
<h1 className="mt-1 text-xl font-semibold tracking-tight text-white tablet:text-2xl">
114117
{title}
115118
</h1>
116-
<p className="mt-3 max-w-4xl text-sm leading-7 text-neutral-300 tablet:text-base">
119+
<p className="mt-1 max-w-3xl text-xs leading-5 text-neutral-400 tablet:text-sm">
117120
{summary}
118121
</p>
119122
</div>
120-
<dl className="grid gap-2 text-xs uppercase tracking-[0.18em] text-neutral-300 tablet:grid-cols-3">
123+
<dl className="ml-auto flex flex-wrap items-center gap-2 text-[0.6rem] uppercase tracking-[0.16em] text-neutral-300">
121124
{metrics.map((metric) => (
122125
<div
123126
key={metric.label}
124-
className="border border-white/10 bg-white/[0.045] px-4 py-3"
127+
className="flex items-baseline gap-2 border border-white/10 bg-white/[0.045] px-2.5 py-1.5"
125128
>
126129
<dt className="text-neutral-500">{metric.label}</dt>
127-
<dd className="mt-1 text-sm font-semibold text-white">
130+
<dd className="text-xs font-semibold text-white">
128131
{metric.value}
129132
</dd>
130133
</div>

0 commit comments

Comments
 (0)