40 lines
1.0 KiB
TypeScript
40 lines
1.0 KiB
TypeScript
import Document, { Head, Html, Main, NextScript } from 'next/document';
|
|
import React from 'react';
|
|
|
|
export default class CustomDocument extends Document<any> {
|
|
render() {
|
|
return (
|
|
<Html lang="en">
|
|
<Head>
|
|
<link rel="shortcut icon" href="/favicon.ico"></link>
|
|
<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="#5bbad5" />
|
|
<meta name="theme-color" content="#ffffff" />
|
|
{this.props?.styleTags}
|
|
</Head>
|
|
<body>
|
|
<Main />
|
|
<NextScript />
|
|
</body>
|
|
</Html>
|
|
);
|
|
}
|
|
}
|