mirror of
https://github.com/System-End/site.git
synced 2026-04-20 00:25:19 +00:00
22 lines
495 B
JavaScript
Executable file
22 lines
495 B
JavaScript
Executable file
import Document, { Html, Head, Main, NextScript } from 'next/document'
|
|
import { InitializeColorMode } from 'theme-ui'
|
|
|
|
export default class extends Document {
|
|
static async getInitialProps(ctx) {
|
|
const initialProps = await Document.getInitialProps(ctx)
|
|
return { ...initialProps }
|
|
}
|
|
|
|
render() {
|
|
return (
|
|
<Html lang="en">
|
|
<Head />
|
|
<body>
|
|
<InitializeColorMode />
|
|
<Main />
|
|
<NextScript />
|
|
</body>
|
|
</Html>
|
|
)
|
|
}
|
|
}
|