2022-03-24 15:02:45 +01:00
|
|
|
import Document, { Html, Main, NextScript } from 'next/document'
|
|
|
|
|
2022-04-12 16:47:21 +02:00
|
|
|
import { CommonHead } from 'components/Head/CommonHead'
|
2022-03-24 01:52:23 +01:00
|
|
|
|
2022-03-24 11:38:07 +01:00
|
|
|
class MyDocument extends Document {
|
|
|
|
render(): JSX.Element {
|
|
|
|
return (
|
|
|
|
<Html lang='en'>
|
2022-03-24 15:02:45 +01:00
|
|
|
<CommonHead />
|
2022-03-24 11:38:07 +01:00
|
|
|
<body>
|
|
|
|
<Main />
|
|
|
|
<NextScript />
|
|
|
|
</body>
|
|
|
|
</Html>
|
|
|
|
)
|
|
|
|
}
|
2022-03-24 01:52:23 +01:00
|
|
|
}
|
|
|
|
|
2022-03-24 11:38:07 +01:00
|
|
|
export default MyDocument
|