17 lines
441 B
TypeScript
17 lines
441 B
TypeScript
import Document, {Html, Head, Main, NextScript} from 'next/document'
|
|
|
|
class MyDocument extends Document {
|
|
render(): JSX.Element {
|
|
return (
|
|
<Html lang="en">
|
|
<Head/>
|
|
<body className="bg-gray-200 dark:bg-gray-900 text-gray-800 dark:text-white">
|
|
<Main/>
|
|
<NextScript/>
|
|
</body>
|
|
</Html>
|
|
)
|
|
}
|
|
}
|
|
|
|
export default MyDocument; |