28 lines
993 B
TypeScript
28 lines
993 B
TypeScript
import Document, { Head, Html, Main, NextScript } from 'next/document';
|
|
import { description } from '../config/constants';
|
|
|
|
export default class MyDocument extends Document {
|
|
render() {
|
|
return (
|
|
<Html lang="ru" translate="no">
|
|
<Head>
|
|
<meta charSet="utf-8" />
|
|
<meta name="description" content={description} />
|
|
|
|
<link rel="apple-touch-icon" sizes="120x120" 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="msapplication-TileColor" content="#1c01a9" />
|
|
<meta name="theme-color" content="#ffffff" />
|
|
</Head>
|
|
<body>
|
|
<Main />
|
|
<NextScript />
|
|
</body>
|
|
</Html>
|
|
);
|
|
}
|
|
}
|