-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_document.jsx
43 lines (42 loc) · 1.38 KB
/
_document.jsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import { Head, Html, Main, NextScript } from 'next/document'
import Script from 'next/script'
export default function Document() {
return (
<Html lang="en">
<Head>
<link rel="icon" href="/favicon.ico" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link
rel="preconnect"
href="https://fonts.gstatic.com"
crossOrigin="true"
/>
<link
href="https://fonts.googleapis.com/css2?family=BhuTuka+Expanded+One&family=Noto+Serif:ital,wght@0,400;0,700;1,400;1,700&family=Playfair+Display&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css2?family=Didact+Gothic&display=swap"
rel="stylesheet"
></link>
{/* <!-- Google tag (gtag.js) --> */}
<Script
src="https://www.googletagmanager.com/gtag/js?id=G-M4087ERKM6"
strategy="afterInteractive"
/>
<Script id="google-analytics" strategy="afterInteractive">
{`
window.dataLayer = window.dataLayer || [];
function gtag(){window.dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-M4087ERKM6');
`}
</Script>
</Head>
<body style={{ margin: 0, backgroundColor: '#000000' }}>
<Main />
<NextScript />
</body>
</Html>
)
}