2022-04-25 15:15:17 +02:00
|
|
|
import { createGetInitialProps } from "@mantine/next";
|
2022-04-28 08:19:55 +02:00
|
|
|
import Document, { Head, Html, Main, NextScript } from "next/document";
|
2022-04-25 15:15:17 +02:00
|
|
|
|
|
|
|
|
const getInitialProps = createGetInitialProps();
|
|
|
|
|
|
|
|
|
|
export default class _Document extends Document {
|
|
|
|
|
static getInitialProps = getInitialProps;
|
2022-04-28 08:19:55 +02:00
|
|
|
|
|
|
|
|
render() {
|
|
|
|
|
return (
|
|
|
|
|
<Html>
|
2022-04-28 15:02:38 +02:00
|
|
|
<Head>
|
|
|
|
|
<link rel="manifest" href="/manifest.json" />
|
|
|
|
|
<meta name="theme-color" content="#46509e" />
|
2022-04-28 16:28:37 +02:00
|
|
|
<link rel="apple-touch-icon" href="/icons/icon-white-128x128.png" />
|
2022-04-28 15:02:38 +02:00
|
|
|
</Head>
|
2022-04-28 08:19:55 +02:00
|
|
|
<body>
|
|
|
|
|
<Main />
|
|
|
|
|
<NextScript />
|
|
|
|
|
</body>
|
|
|
|
|
{/* Plausible analytics */}
|
|
|
|
|
<script
|
|
|
|
|
defer
|
|
|
|
|
data-domain="pingvin-share.dev.eliasschneider.com"
|
|
|
|
|
src="https://analytics.eliasschneider.com/js/plausible.js"
|
|
|
|
|
></script>
|
|
|
|
|
</Html>
|
|
|
|
|
);
|
|
|
|
|
}
|
2022-04-25 15:15:17 +02:00
|
|
|
}
|