import Document, { Html, Head, Main, NextScript } from "next/document"; class MyDocument extends Document { render() { return ( <Html> <Head> <link rel="manifest" href="/manifest.json" /> <link rel="apple-touch-icon" href="/icon.png" /> <meta name="theme-color" content="#fff" /> <script defer data-domain="app.plane.so" src="https://plausible.io/js/script.js" /> </Head> <body> <Main /> <NextScript /> </body> </Html> ); } } export default MyDocument;