37 lines
875 B
TypeScript
37 lines
875 B
TypeScript
import Document, { Head, 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>
|
|
<link
|
|
rel="icon"
|
|
type="image/png"
|
|
sizes="32x32"
|
|
href="/favicon-32x32.png"
|
|
></link>
|
|
<link
|
|
rel="icon"
|
|
type="image/png"
|
|
sizes="16x16"
|
|
href="/favicon-16x16.png"
|
|
></link>
|
|
{this.props?.styleTags}
|
|
</Head>
|
|
<body>
|
|
<Main />
|
|
<NextScript />
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|
|
}
|