2021-06-29 15:59:49 +02:00
|
|
|
import Document, {Html, Head, Main, NextScript} from 'next/document'
|
2021-06-28 18:17:16 +02:00
|
|
|
|
2021-07-01 00:49:05 +02:00
|
|
|
class MyDocument extends Document {
|
|
|
|
render(): JSX.Element {
|
2021-06-28 18:17:16 +02:00
|
|
|
return (
|
|
|
|
<Html lang="en">
|
2021-06-29 15:59:49 +02:00
|
|
|
<Head/>
|
2021-06-28 18:17:16 +02:00
|
|
|
<body className="bg-gray-200 dark:bg-gray-900 text-gray-800 dark:text-white">
|
2021-06-29 15:59:49 +02:00
|
|
|
<Main/>
|
|
|
|
<NextScript/>
|
2021-06-28 18:17:16 +02:00
|
|
|
</body>
|
|
|
|
</Html>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-07-01 00:49:05 +02:00
|
|
|
export default MyDocument;
|