forked from transitive-bullshit/nextjs-notion-starter-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_document.tsx
31 lines (27 loc) · 782 Bytes
/
_document.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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>
)
}
}