2022-09-17 16:37:33 +02:00
|
|
|
/* eslint-disable @next/next/no-sync-scripts */
|
2021-11-29 15:19:07 +01:00
|
|
|
import Document, {
|
|
|
|
Html,
|
|
|
|
Head,
|
|
|
|
Main,
|
|
|
|
NextScript,
|
|
|
|
DocumentContext,
|
|
|
|
} from 'next/document'
|
|
|
|
|
|
|
|
class MyDocument extends Document {
|
|
|
|
static async getInitialProps(ctx: DocumentContext) {
|
|
|
|
const initialProps = await Document.getInitialProps(ctx)
|
|
|
|
return { ...initialProps }
|
|
|
|
}
|
|
|
|
|
|
|
|
render() {
|
|
|
|
return (
|
|
|
|
<Html>
|
|
|
|
<Head>
|
|
|
|
<link rel="icon" type="image/png" href="/favicon.png" />
|
|
|
|
<link
|
|
|
|
href="https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Open+Sans:wght@400;500;600;700&display=swap"
|
|
|
|
rel="stylesheet"
|
|
|
|
/>
|
2022-06-20 15:21:22 +02:00
|
|
|
<meta name="google" content="notranslate" />
|
2022-06-22 07:36:11 +02:00
|
|
|
<script src="/__env.js" />
|
2021-11-29 15:19:07 +01:00
|
|
|
</Head>
|
|
|
|
<body>
|
|
|
|
<Main />
|
|
|
|
<NextScript />
|
|
|
|
</body>
|
|
|
|
</Html>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default MyDocument
|