2022-12-20 16:55:43 +01:00
|
|
|
import { customTheme } from '@/lib/theme'
|
|
|
|
import { ColorModeScript } from '@chakra-ui/react'
|
2022-10-01 07:00:05 +02:00
|
|
|
import { Html, Head, Main, NextScript } from 'next/document'
|
2021-11-29 15:19:07 +01:00
|
|
|
|
2022-10-01 07:00:05 +02:00
|
|
|
const Document = () => (
|
|
|
|
<Html>
|
|
|
|
<Head>
|
|
|
|
<link rel="icon" type="image/png" href="/favicon.png" />
|
|
|
|
<link
|
2023-02-15 16:39:53 +01:00
|
|
|
href="https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Open+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&display=swap"
|
2022-10-01 07:00:05 +02:00
|
|
|
rel="stylesheet"
|
|
|
|
/>
|
|
|
|
<meta name="google" content="notranslate" />
|
2022-12-20 16:55:43 +01:00
|
|
|
{/* eslint-disable-next-line @next/next/no-sync-scripts */}
|
2022-10-01 07:00:05 +02:00
|
|
|
<script src="/__env.js" />
|
|
|
|
</Head>
|
|
|
|
<body>
|
2022-12-20 16:55:43 +01:00
|
|
|
<ColorModeScript initialColorMode={customTheme.config.initialColorMode} />
|
2022-10-01 07:00:05 +02:00
|
|
|
<Main />
|
|
|
|
<NextScript />
|
|
|
|
</body>
|
|
|
|
</Html>
|
|
|
|
)
|
2021-11-29 15:19:07 +01:00
|
|
|
|
2022-10-01 07:00:05 +02:00
|
|
|
export default Document
|