manifold/web/pages/_document.tsx

51 lines
1.5 KiB
TypeScript
Raw Normal View History

import { Html, Head, Main, NextScript } from 'next/document'
import { ENV_CONFIG } from 'common/envs/constants'
export default function Document() {
return (
<Html data-theme="mantic" className="min-h-screen">
2021-12-16 04:52:07 +00:00
<Head>
<link rel="icon" href={ENV_CONFIG.faviconPath} />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link
rel="preconnect"
href="https://fonts.gstatic.com"
crossOrigin="true"
/>
<link
2022-02-06 09:23:45 +00:00
href="https://fonts.googleapis.com/css2?family=Major+Mono+Display&family=Readex+Pro:wght@400;600;700&display=swap"
rel="stylesheet"
/>
2022-05-05 20:17:25 +00:00
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/instantsearch.css@7.4.5/themes/satellite-min.css"
integrity="sha256-TehzF/2QvNKhGQrrNpoOb2Ck4iGZ1J/DI4pkd2oUsBc="
crossOrigin="anonymous"
/>
<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');
`,
}}
/>
2021-12-16 04:52:07 +00:00
</Head>
<body className="font-readex-pro bg-base-200 min-h-screen">
<Main />
<NextScript />
</body>
</Html>
)
}