Skip to content

Commit dc96842

Browse files
mhessdevclaude
andcommitted
fix(site): reduce pricing hero size on mobile for above-fold visibility
On mobile, the H1 and hero padding consumed the entire viewport, pushing all pricing plans below the fold. Reduces heading size, spacing, and padding at mobile breakpoints so at least one plan card is visible without scrolling. Desktop layout unchanged. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 032322c commit dc96842

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

apps/site/src/app/pricing/pricing-hero-plans.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ export function PricingHeroPlans({
3737

3838
return (
3939
<>
40-
<section className="relative pt-28 pb-16 px-4">
40+
<section className="relative pt-16 pb-8 md:pt-28 md:pb-16 px-4">
4141
<div className="absolute inset-0 bg-[radial-gradient(80%_60%_at_50%_0%,rgba(20,184,166,0.22),transparent_60%)] pointer-events-none" />
42-
<div className="relative max-w-[1200px] mx-auto flex flex-col items-center gap-6">
42+
<div className="relative max-w-[1200px] mx-auto flex flex-col items-center gap-3 md:gap-6">
4343
<Badge
4444
color="ppg"
4545
size="lg"
@@ -51,16 +51,16 @@ export function PricingHeroPlans({
5151
</>
5252
}
5353
/>
54-
<h1 className="stretch-display m-0 text-center text-foreground-neutral text-5xl md:text-7xl leading-tight font-sans-display [font-variation-settings:'wght'_900]">
54+
<h1 className="stretch-display m-0 text-center text-foreground-neutral text-3xl md:text-7xl leading-tight font-sans-display [font-variation-settings:'wght'_900]">
5555
Scale as You Grow <br /> with Prisma Postgres
5656
</h1>
57-
<p className="m-0 text-center text-xl text-foreground-neutral-weak">
57+
<p className="m-0 text-center text-base md:text-xl text-foreground-neutral-weak">
5858
Operation-based pricing. We only charge for what you use.
5959
</p>
6060
</div>
6161
</section>
6262

63-
<section className="px-4 py-12">
63+
<section className="px-4 py-6 md:py-12">
6464
<div className="max-w-[1288px] mx-auto">
6565
<div className="mb-6 flex justify-end">
6666
<Select value={currency} onValueChange={(value) => onCurrencyChange(value as Symbol)}>

0 commit comments

Comments
 (0)