mirror of
https://github.com/d0zingcat/nextjs-notion-starter-kit.git
synced 2026-05-17 15:10:13 +00:00
32 lines
782 B
TypeScript
32 lines
782 B
TypeScript
import * as React from 'react'
|
|
import Document, { Html, Head, Main, NextScript } from 'next/document'
|
|
import { IconContext } from '@react-icons/all-files'
|
|
|
|
export default class MyDocument extends Document {
|
|
render() {
|
|
return (
|
|
<IconContext.Provider value={{ style: { verticalAlign: 'middle' } }}>
|
|
<Html lang='en'>
|
|
<Head>
|
|
<link rel='shortcut icon' href='/favicon.ico' />
|
|
<link
|
|
rel='icon'
|
|
type='image/png'
|
|
sizes='32x32'
|
|
href='favicon.png'
|
|
/>
|
|
|
|
<link rel='manifest' href='/manifest.json' />
|
|
</Head>
|
|
|
|
<body>
|
|
<Main />
|
|
|
|
<NextScript />
|
|
</body>
|
|
</Html>
|
|
</IconContext.Provider>
|
|
)
|
|
}
|
|
}
|