Skip to content

Commit 60ae147

Browse files
committed
fix: update brands-page SectionHeading to use SectionTitle component
- Add SectionTitle to typography imports (missed in bulk update) - Update SectionHeading function body to delegate to SectionTitle - Align header spacing with other docs pages (mt-3/mt-6 instead of space-y-4)
1 parent 1581d94 commit 60ae147

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

src/components/brands-page.tsx

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import {
44
EyebrowTitle,
55
Lead,
66
PageTitle,
7+
SectionTitle,
78
} from "@/components/ui/typography";
89

910
type AssetPreview = {
@@ -119,12 +120,9 @@ function SectionHeading({
119120
children: React.ReactNode;
120121
}) {
121122
return (
122-
<h2
123-
id={id}
124-
className="border-border scroll-m-20 text-3xl font-semibold tracking-tight"
125-
>
123+
<SectionTitle id={id} className="border-b pb-2 scroll-m-20">
126124
{children}
127-
</h2>
125+
</SectionTitle>
128126
);
129127
}
130128

@@ -313,14 +311,14 @@ export function BrandsPage() {
313311
return (
314312
<main className="flex-1 overflow-y-auto">
315313
<div className="mx-auto max-w-4xl space-y-16 p-4 md:p-8">
316-
<header className="space-y-4">
314+
<header>
317315
<EyebrowTitle className="text-muted-foreground text-xs tracking-widest uppercase">
318316
Documentation
319317
</EyebrowTitle>
320-
<PageTitle className="scroll-m-20">
318+
<PageTitle className="mt-3 scroll-m-20">
321319
Brands
322320
</PageTitle>
323-
<Lead className="max-w-3xl text-xl">
321+
<Lead className="mt-6 max-w-3xl text-xl">
324322
Centralized brand assets for Care, OHCNF, and OHC. Each section
325323
includes download-ready files, approved light and dark variants,
326324
and spacing references for correct logo placement.

0 commit comments

Comments
 (0)