| Total Complexity | 1 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | import React from 'react'; |
||
| 3 | |||
| 4 | class MyDocument extends Document { |
||
| 5 | render() { |
||
| 6 | return ( |
||
| 7 | <Html lang="en"> |
||
| 8 | <Head> |
||
| 9 | <meta charSet="UTF-8" /> |
||
| 10 | <link rel="preconnect" href="https://fonts.gstatic.com" /> |
||
| 11 | <meta httpEquiv="x-ua-compatible" content="ie=edge" /> |
||
| 12 | <link href="https://fonts.googleapis.com/css2?family=Lora:wght@400;700&display=swap" media="all" rel="stylesheet" /> |
||
| 13 | <link href="https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700&display=swap" media="all" rel="stylesheet" /> |
||
| 14 | |||
| 15 | <script async src="https://www.googletagmanager.com/gtag/js?id=UA-140852685-1" /> |
||
| 16 | <script |
||
| 17 | // eslint-disable-next-line react/no-danger |
||
| 18 | dangerouslySetInnerHTML={{ __html: ` |
||
| 19 | window.dataLayer = window.dataLayer || []; |
||
| 20 | function gtag(){dataLayer.push(arguments);} |
||
| 21 | gtag('js', new Date()); |
||
| 22 | |||
| 23 | gtag('config', 'UA-140852685-1'); |
||
| 24 | ` }} |
||
| 25 | /> |
||
| 26 | <meta name="theme-color" content="#a2466c" /> |
||
| 27 | <link rel="apple-touch-icon" sizes="192x192" href="/favicons/android-chrome-192x192.png" /> |
||
| 28 | <link rel="apple-touch-icon" sizes="512x512" href="/favicons/android-chrome-512x512.png" /> |
||
| 29 | <link rel="apple-touch-icon" sizes="16x16" href="/favicons/favicon-16x16.png" /> |
||
| 30 | <link rel="apple-touch-icon" sizes="32x32" href="/favicons/favicon-32x32.png" /> |
||
| 31 | </Head> |
||
| 32 | |||
| 33 | <body> |
||
| 34 | <Main /> |
||
| 35 | <NextScript /> |
||
| 36 | </body> |
||
| 37 | </Html> |
||
| 38 | ); |
||
| 43 |