46 lines
1.2 KiB
XML
46 lines
1.2 KiB
XML
import { Html, Head, Main, NextScript } from 'next/document'
|
|
import { TwitterScript } from '../components/tweet-button'
|
|
|
|
export default function Document() {
|
|
return (
|
|
<Html data-theme="mantic" className="min-h-screen">
|
|
<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=Major+Mono+Display&family=Readex+Pro:wght@400;700&display=swap"
|
|
rel="stylesheet"
|
|
/>
|
|
|
|
<script
|
|
async
|
|
src="https://www.googletagmanager.com/gtag/js?id=G-SSFK1Q138D"
|
|
/>
|
|
<script
|
|
dangerouslySetInnerHTML={{
|
|
__html: `
|
|
window.dataLayer = window.dataLayer || [];
|
|
function gtag(){dataLayer.push(arguments);}
|
|
gtag('js', new Date());
|
|
gtag('config', 'G-SSFK1Q138D');
|
|
`,
|
|
}}
|
|
/>
|
|
|
|
<TwitterScript />
|
|
</Head>
|
|
|
|
<body className="min-h-screen font-readex-pro bg-base-200">
|
|
<Main />
|
|
<NextScript />
|
|
</body>
|
|
</Html>
|
|
)
|
|
}
|