mirror of
https://github.com/stonith404/pingvin-share.git
synced 2025-01-15 01:14:27 -05:00
added plausible
This commit is contained in:
parent
b26578a409
commit
e0669979e2
1 changed files with 19 additions and 1 deletions
|
@ -1,8 +1,26 @@
|
||||||
import Document from "next/document";
|
|
||||||
import { createGetInitialProps } from "@mantine/next";
|
import { createGetInitialProps } from "@mantine/next";
|
||||||
|
import Document, { Head, Html, Main, NextScript } from "next/document";
|
||||||
|
|
||||||
const getInitialProps = createGetInitialProps();
|
const getInitialProps = createGetInitialProps();
|
||||||
|
|
||||||
export default class _Document extends Document {
|
export default class _Document extends Document {
|
||||||
static getInitialProps = getInitialProps;
|
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…
Add table
Reference in a new issue