mirror of
https://github.com/stonith404/pingvin-share.git
synced 2024-11-04 23:10:13 +01:00
added plausible
This commit is contained in:
parent
b26578a409
commit
e0669979e2
@ -1,8 +1,26 @@
|
||||
import Document from "next/document";
|
||||
import { createGetInitialProps } from "@mantine/next";
|
||||
import Document, { Head, Html, Main, NextScript } from "next/document";
|
||||
|
||||
const getInitialProps = createGetInitialProps();
|
||||
|
||||
export default class _Document extends Document {
|
||||
static getInitialProps = getInitialProps;
|
||||
|
||||
render() {
|
||||
return (
|
||||
<Html>
|
||||
<Head />
|
||||
<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>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user