mirror of
https://github.com/dsoaress/link-free.git
synced 2026-08-17 06:56:04 +01:00
20 lines
441 B
TypeScript
20 lines
441 B
TypeScript
|
|
import NextDocument, { Head, Html, Main, NextScript } from 'next/document'
|
||
|
|
|
||
|
|
import { getCssText } from '../styles/stitches.config'
|
||
|
|
|
||
|
|
export default class Document extends NextDocument {
|
||
|
|
render() {
|
||
|
|
return (
|
||
|
|
<Html>
|
||
|
|
<Head>
|
||
|
|
<style id="stitches" dangerouslySetInnerHTML={{ __html: getCssText() }} />
|
||
|
|
</Head>
|
||
|
|
<body>
|
||
|
|
<Main />
|
||
|
|
<NextScript />
|
||
|
|
</body>
|
||
|
|
</Html>
|
||
|
|
)
|
||
|
|
}
|
||
|
|
}
|