Skip to content

Commit 3d8e670

Browse files
committed
no more linky headers in index
1 parent ae5c489 commit 3d8e670

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

pages/index.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ export const metadata: Metadata = {
66
description: 'Max Gerber\'s personal website',
77
}
88

9+
const Components = {
10+
h1: ({children, ...props}) => <h1 {...props}>{children}</h1>,
11+
h2: ({children, ...props}) => <h2 {...props}>{children}</h2>,
12+
h3: ({children, ...props}) => <h3 {...props}>{children}</h3>,
13+
}
14+
915
export default function Page() {
10-
return <div className="container"><Content/></div>
16+
return <div className="container"><Content components={Components}/></div>
1117
}

0 commit comments

Comments
 (0)