mirror of
https://github.com/dsoaress/link-free.git
synced 2026-08-17 06:56:04 +01:00
refactor: init new version
This commit is contained in:
19
src/pages/_document.tsx
Normal file
19
src/pages/_document.tsx
Normal file
@@ -0,0 +1,19 @@
|
||||
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>
|
||||
)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user