import Document , { Html , Head , Main , NextScript } from 'next/document' ; class MyDocument extends Document { static async getInitialProps ( ctx ) { const initialProps = await Document . getInitialProps ( ctx ) ; return { ... initialProps } ; } render ( ) { return ( < Html > < Head > < meta charSet = "utf-8" / > < meta name = "viewport" content = "width=device-width, initial-scale=1, shrink-to-fit=no, user-scalable=0" / > < link rel = "apple-touch-icon-precomposed" sizes = "57x57" href = "/images/apple-touch-icon-57x57.png" / > < link rel = "apple-touch-icon-precomposed" sizes = "114x114" href = "/images/apple-touch-icon-114x114.png" / > < link rel = "apple-touch-icon-precomposed" sizes = "72x72" href = "/images/apple-touch-icon-72x72.png" / > < link rel = "apple-touch-icon-precomposed" sizes = "144x144" href = "/images/apple-touch-icon-144x144.png" / > < link rel = "apple-touch-icon-precomposed" sizes = "60x60" href = "/images/apple-touch-icon-60x60.png" / > < link rel = "apple-touch-icon-precomposed" sizes = "120x120" href = "/images/apple-touch-icon-120x120.png" / > < link rel = "apple-touch-icon-precomposed" sizes = "76x76" href = "/images/apple-touch-icon-76x76.png" / > < link rel = "apple-touch-icon-precomposed" sizes = "152x152" href = "/images/apple-touch-icon-152x152.png" / > < link rel = "icon" type = "image/png" href = "/images/favicon-196x196.png" sizes = "196x196" / > < link rel = "icon" type = "image/png" href = "/images/favicon-96x96.png" sizes = "96x96" / > < link rel = "icon" type = "image/png" href = "/images/favicon-32x32.png" sizes = "32x32" / > < link rel = "icon" type = "image/png" href = "/images/favicon-16x16.png" sizes = "16x16" / > < link rel = "icon" type = "image/png" href = "/images/favicon-128.png" sizes = "128x128" / > < meta name = "application-name" content = "korona.kans.io" / > < meta name = "msapplication-TileColor" content = "#000000" / > < meta name = "msapplication-TileImage" content = "/images/mstile-144x144.png" / > < meta name = "msapplication-square70x70logo" content = "/images/mstile-70x70.png" / > < meta name = "msapplication-square150x150logo" content = "/images/mstile-150x150.png" / > < meta name = "msapplication-wide310x150logo" content = "/images/mstile-310x150.png" / > < meta name = "msapplication-square310x310logo" content = "/images/mstile-310x310.png" / > < meta name = "apple-mobile-web-app-title" content = "korona.kans.io" / > < meta name = "apple-mobile-web-app-capable" content = "yes" / > < script src = "https://www.googletagmanager.com/gtag/js?id=UA-160167128-1" > < /script> < script dangerouslySetInnerHTML = { { __html : `
            window.dataLayer = window.dataLayer || [];
            function gtag(){dataLayer.push(arguments);}
            gtag('js', new Date());

            gtag('config', 'UA-160167128-1', {
              page_path: window.location.pathname,
            });
          ` } } /> < /Head> < body > < Main /> < NextScript / > < /body> < /Html>); } } export default MyDocument ;