Skip to content

Commit 70d696a

Browse files
authored
sync prod to main (#435)
1 parent ea01da0 commit 70d696a

2 files changed

Lines changed: 281 additions & 575 deletions

File tree

app/(main)/_landing/stats-bento.tsx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ function OrbitItem({
126126
function FrameworkOrbit() {
127127
return (
128128
<div className="relative flex h-40 w-full items-center justify-center overflow-hidden rounded-xl border border-border bg-[hsl(var(--surface-alt))] sm:h-48">
129-
<Icons.logo className="z-10 h-8 w-8 rounded-full bg-gradient-to-br from-violet-500 to-indigo-600 p-1.5 shadow-lg sm:h-10 sm:w-10 sm:p-2" />
129+
<Icons.logo className="z-10 h-8 w-8 rounded-full bg-linear-to-br from-violet-500 to-indigo-600 p-1.5 shadow-lg sm:h-10 sm:w-10 sm:p-2" />
130130
{frameworkItems.map((item, i) => (
131131
<OrbitItem key={item.key} index={i} total={frameworkItems.length} duration={35}>
132132
{item.icon}
@@ -161,11 +161,11 @@ export default function StatsBento() {
161161
Loved by developers worldwide
162162
</span>
163163
<div className="mt-3">
164-
<strong className="font-[family-name:var(--font-mono)] text-2xl font-bold tabular-nums text-foreground sm:text-3xl lg:text-4xl">
164+
<strong className="font-(family-name:--font-mono) text-2xl font-bold tabular-nums text-foreground sm:text-3xl lg:text-4xl">
165165
<RemountOnMouseIn>
166166
<Ticker
167167
value="2,392+"
168-
className="font-[family-name:var(--font-mono)] font-bold tabular-nums"
168+
className="font-(family-name:--font-mono) font-bold tabular-nums"
169169
/>
170170
</RemountOnMouseIn>
171171
</strong>
@@ -228,10 +228,10 @@ export default function StatsBento() {
228228
direction="up"
229229
delay={0}
230230
format={Formatter.number}
231-
className="font-[family-name:var(--font-mono)] text-5xl font-bold leading-[1] tabular-nums tracking-[-0.03em] text-foreground sm:text-6xl lg:text-7xl"
231+
className="font-(family-name:--font-mono) text-5xl font-bold leading-none tabular-nums tracking-[-0.03em] text-foreground sm:text-6xl lg:text-7xl"
232232
/>
233233
</RemountOnMouseIn>
234-
<span className="font-[family-name:var(--font-mono)] text-2xl font-bold text-muted-foreground sm:text-3xl">
234+
<span className="font-(family-name:--font-mono) text-2xl font-bold text-muted-foreground sm:text-3xl">
235235
+
236236
</span>
237237
</div>
@@ -270,11 +270,11 @@ export default function StatsBento() {
270270
</Marquee>
271271
</div>
272272
</div>
273-
<div className="-mx-4 -mb-4 mt-auto flex items-center justify-between border-t border-border bg-foreground/[0.03] px-4 py-3 sm:-mx-5 sm:-mb-5 sm:px-5 sm:py-4 lg:-mx-6 lg:-mb-6 lg:px-6">
273+
<div className="-mx-4 -mb-4 mt-auto flex items-center justify-between border-t border-border bg-foreground/3 px-4 py-3 sm:-mx-5 sm:-mb-5 sm:px-5 sm:py-4 lg:-mx-6 lg:-mb-6 lg:px-6">
274274
<p className="text-[10px] font-semibold uppercase tracking-wide text-muted-foreground sm:text-[11px]">
275275
Categories
276276
</p>
277-
<span className="font-[family-name:var(--font-mono)] text-2xl font-bold tabular-nums text-foreground sm:text-3xl">
277+
<span className="font-(family-name:--font-mono) text-2xl font-bold tabular-nums text-foreground sm:text-3xl">
278278
{categories.length}
279279
</span>
280280
</div>
@@ -313,18 +313,18 @@ export default function StatsBento() {
313313
<div className="flex flex-col gap-6 sm:flex-row sm:items-end sm:justify-between">
314314
{/* Left — statement */}
315315
<div>
316-
<h2 className="font-[family-name:var(--font-display)] text-[clamp(1.5rem,4vw,2.25rem)] leading-[1.1] text-foreground">
316+
<h2 className="font-(family-name:--font-display) text-[clamp(1.5rem,4vw,2.25rem)] leading-[1.1] text-foreground">
317317
We did the hard part.
318318
</h2>
319-
<p className="mt-1 text-[clamp(1.5rem,4vw,2.25rem)] leading-[1.1] text-muted-foreground font-[family-name:var(--font-display)]">
319+
<p className="mt-1 text-[clamp(1.5rem,4vw,2.25rem)] leading-[1.1] text-muted-foreground font-(family-name:--font-display)">
320320
So you don&apos;t have to.
321321
</p>
322322
</div>
323323
{/* Right — numbers */}
324324
<div className="flex gap-8 sm:gap-10">
325325
<div>
326326
<div className="flex items-baseline gap-0.5">
327-
<span className="font-[family-name:var(--font-mono)] text-3xl font-bold leading-[1] tabular-nums text-foreground sm:text-4xl">
327+
<span className="font-(family-name:--font-mono) text-3xl font-bold leading-none tabular-nums text-foreground sm:text-4xl">
328328
1,100
329329
</span>
330330
<span className="text-lg text-muted-foreground">+</span>
@@ -335,7 +335,7 @@ export default function StatsBento() {
335335
</div>
336336
<div>
337337
<div className="flex items-baseline gap-0.5">
338-
<span className="font-[family-name:var(--font-mono)] text-3xl font-bold leading-[1] tabular-nums text-foreground sm:text-4xl">
338+
<span className="font-(family-name:--font-mono) text-3xl font-bold leading-none tabular-nums text-foreground sm:text-4xl">
339339
300
340340
</span>
341341
<span className="text-lg text-muted-foreground">+</span>

0 commit comments

Comments
 (0)