MCPcopy Create free account
hub / github.com/BrasilAPI/BrasilAPI / MyDocument

Class MyDocument

pages/_document.js:3–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import Document, { Html, Head, Main, NextScript } from 'next/document';
2
3export default class MyDocument extends Document {
4 render() {
5 return (
6 <Html lang="pt-br">
7 <Head>
8 <link
9 rel="apple-touch-icon"
10 sizes="180x180"
11 href="/apple-touch-icon.png"
12 />
13 <link
14 rel="icon"
15 type="image/png"
16 sizes="32x32"
17 href="/favicon-32x32.png"
18 />
19 <link
20 rel="icon"
21 type="image/png"
22 sizes="16x16"
23 href="/favicon-16x16.png"
24 />
25
26 <link rel="shortcut icon" href="/favicon.png" type="image/png" />
27 </Head>
28
29 <body>
30 <Main />
31 <NextScript />
32
33 <link rel="preconnect" href="https://fonts.gstatic.com" />
34 <link
35 href="https://fonts.googleapis.com/css2?family=Inter&family=Lexend:wght@400;600;700&display=swap"
36 rel="stylesheet"
37 />
38 </body>
39 </Html>
40 );
41 }
42}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected