Skip to content

Commit 4e35a2f

Browse files
authored
fix(website): consistent navbar→eyebrow spacing on pricing + blog heroes (#562)
Audit of every non-docs hero (via Chrome) found 11/13 pages at a 34px gap between the fixed navbar and the hero eyebrow, with two outliers: - /pricing: -1px — the hero <Section> had `tight`, applying sectionYTight (80px) < the 81px fixed navbar, so the eyebrow rendered *behind* the navbar. Drop `tight` so it inherits sectionY (115.2px) = navbar + 34px gap. - /blog: 63px (~2x) — the bespoke hero layout stacked outer paddingTop 80 + inner top 64 = 144. Reduce the inner top padding to 35 (sides and bottom unchanged) so the eyebrow lands at 115. Both now measure 34px, matching home/ag-ui/langgraph/render/chat/ pilot-to-prod/solutions/contact/thanks.
1 parent 7503a13 commit 4e35a2f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

apps/website/src/app/blog/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export default async function BlogIndexPage({ searchParams }: Props) {
3535

3636
return (
3737
<div style={{ paddingTop: 80, background: tokens.surfaces.canvas, minHeight: '100vh' }}>
38-
<div style={{ maxWidth: 960, margin: '0 auto', padding: '64px 24px' }}>
38+
<div style={{ maxWidth: 960, margin: '0 auto', padding: '35px 24px 64px' }}>
3939
<header style={{ marginBottom: 32 }}>
4040
<Eyebrow tone="accent" style={{ marginBottom: 16 }}>
4141
Blog

apps/website/src/app/pricing/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const metadata = createPageMetadata({
2020
export default function PricingPage() {
2121
return (
2222
<>
23-
<Section surface="canvas" tight ariaLabelledBy="pricing-heading">
23+
<Section surface="canvas" ariaLabelledBy="pricing-heading">
2424
<Container>
2525
<div style={{ textAlign: 'center', maxWidth: 760, margin: '0 auto' }}>
2626
<Eyebrow tone="accent" style={{ marginBottom: 16 }}>Pricing</Eyebrow>

0 commit comments

Comments
 (0)