Skip to content

Commit becdc52

Browse files
committed
keep the height of hero demo in blocks similar to preview height
1 parent d214589 commit becdc52

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

apps/www/config/demos.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3539,22 +3539,22 @@ export const componentDemos: Record<string, DemoComponent> = {
35393539
</div>
35403540
),
35413541
"hero-reference-pulse": () => (
3542-
<div className="relative h-[60svh] min-h-[420px] w-full overflow-hidden rounded-xl">
3542+
<div className="relative h-[70svh] min-h-[420px] w-full overflow-hidden rounded-xl">
35433543
<ReferencePulseHero className="min-h-full" />
35443544
</div>
35453545
),
35463546
"hero-iridescent-sweep": () => (
3547-
<div className="relative h-[60svh] min-h-[420px] w-full overflow-hidden rounded-xl">
3547+
<div className="relative h-[70svh] min-h-[420px] w-full overflow-hidden rounded-xl">
35483548
<IridescentSweepHero className="min-h-full" />
35493549
</div>
35503550
),
35513551
"hero-liquid-aurora-mesh": () => (
3552-
<div className="relative h-[60svh] min-h-[420px] w-full overflow-hidden rounded-xl">
3552+
<div className="relative h-[70svh] min-h-[420px] w-full overflow-hidden rounded-xl">
35533553
<LiquidAuroraMeshHero className="min-h-full" />
35543554
</div>
35553555
),
35563556
"hero-noise-dot-field": () => (
3557-
<div className="relative h-[60svh] min-h-[420px] w-full overflow-hidden rounded-xl">
3557+
<div className="relative h-[70svh] min-h-[420px] w-full overflow-hidden rounded-xl">
35583558
<NoiseDotFieldHero className="min-h-full" />
35593559
</div>
35603560
),

registry/demos.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3535,22 +3535,22 @@ export const componentDemos: Record<string, DemoComponent> = {
35353535
</div>
35363536
),
35373537
"hero-reference-pulse": () => (
3538-
<div className="relative h-[60svh] min-h-[420px] w-full overflow-hidden rounded-xl">
3538+
<div className="relative h-[70svh] min-h-[420px] w-full overflow-hidden rounded-xl">
35393539
<ReferencePulseHero className="min-h-full" />
35403540
</div>
35413541
),
35423542
"hero-iridescent-sweep": () => (
3543-
<div className="relative h-[60svh] min-h-[420px] w-full overflow-hidden rounded-xl">
3543+
<div className="relative h-[70svh] min-h-[420px] w-full overflow-hidden rounded-xl">
35443544
<IridescentSweepHero className="min-h-full" />
35453545
</div>
35463546
),
35473547
"hero-liquid-aurora-mesh": () => (
3548-
<div className="relative h-[60svh] min-h-[420px] w-full overflow-hidden rounded-xl">
3548+
<div className="relative h-[70svh] min-h-[420px] w-full overflow-hidden rounded-xl">
35493549
<LiquidAuroraMeshHero className="min-h-full" />
35503550
</div>
35513551
),
35523552
"hero-noise-dot-field": () => (
3553-
<div className="relative h-[60svh] min-h-[420px] w-full overflow-hidden rounded-xl">
3553+
<div className="relative h-[70svh] min-h-[420px] w-full overflow-hidden rounded-xl">
35543554
<NoiseDotFieldHero className="min-h-full" />
35553555
</div>
35563556
),

0 commit comments

Comments
 (0)