2021-07-07 19:58:18 +00:00
|
|
|
import Document, { Html, Head, Main, NextScript } from "next/document";
|
|
|
|
|
|
|
|
class MyDocument extends Document {
|
|
|
|
static async getInitialProps(ctx) {
|
|
|
|
const initialProps = await Document.getInitialProps(ctx);
|
|
|
|
return { ...initialProps };
|
|
|
|
}
|
|
|
|
|
|
|
|
render() {
|
|
|
|
return (
|
|
|
|
<Html>
|
2021-08-03 09:32:37 +00:00
|
|
|
<Head>
|
|
|
|
<meta
|
|
|
|
name="viewport"
|
|
|
|
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
|
|
|
|
/>
|
2021-08-03 09:39:06 +00:00
|
|
|
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
|
|
|
|
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
|
|
|
|
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
|
|
|
|
<link rel="manifest" href="/site.webmanifest" />
|
|
|
|
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#000000" />
|
|
|
|
<meta name="msapplication-TileColor" content="#ff0000" />
|
|
|
|
<meta name="theme-color" content="#ffffff" />
|
2021-08-03 09:32:37 +00:00
|
|
|
</Head>
|
2021-07-07 19:58:18 +00:00
|
|
|
<body className="dark:bg-gray-900 bg-white">
|
|
|
|
<Main />
|
|
|
|
<NextScript />
|
|
|
|
</body>
|
|
|
|
</Html>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default MyDocument;
|