2023-08-22 16:23:24 +00:00
|
|
|
import { Head, Html, Main, NextScript } from 'next/document';
|
2022-08-31 04:35:46 +00:00
|
|
|
|
|
|
|
export default function Document() {
|
|
|
|
return (
|
2023-08-22 16:23:24 +00:00
|
|
|
<>
|
2022-08-31 04:35:46 +00:00
|
|
|
<Head>
|
2023-09-20 06:54:07 +00:00
|
|
|
{/*
|
2023-09-06 20:51:41 +00:00
|
|
|
meta tags
|
2023-09-20 06:54:07 +00:00
|
|
|
- next advised against using _document for this, so they exist in our
|
2023-09-06 20:51:41 +00:00
|
|
|
- single page index.page.tsx
|
|
|
|
*/}
|
|
|
|
|
2023-09-20 06:54:07 +00:00
|
|
|
{/* preload fonts */}
|
2022-08-31 04:35:46 +00:00
|
|
|
<link
|
|
|
|
rel="preload"
|
2023-09-20 06:54:07 +00:00
|
|
|
href="/AlphaLyrae-Medium.woff2"
|
2022-08-31 04:35:46 +00:00
|
|
|
as="font"
|
|
|
|
type="font/woff2"
|
|
|
|
/>
|
2023-09-06 20:51:41 +00:00
|
|
|
|
2023-09-20 06:54:07 +00:00
|
|
|
{/* icons */}
|
|
|
|
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
|
|
|
|
<link rel="apple-touch-icon" content="/favicon.ico" />
|
|
|
|
|
2023-09-06 20:51:41 +00:00
|
|
|
{/* eslint-disable-next-line @next/next/no-css-tags */}
|
|
|
|
<link rel="stylesheet" href="/preloader.css" media="all" />
|
|
|
|
|
|
|
|
{/* scripts */}
|
2023-02-28 14:31:23 +00:00
|
|
|
<script src="/theme-setter.js" type="text/javascript" async />
|
2022-08-31 04:35:46 +00:00
|
|
|
</Head>
|
2023-08-22 16:23:24 +00:00
|
|
|
<Html>
|
|
|
|
<body className="bg-white dark:bg-vega-cdark-900 text-default font-alpha">
|
|
|
|
<Main />
|
|
|
|
<NextScript />
|
|
|
|
</body>
|
|
|
|
</Html>
|
|
|
|
</>
|
2022-08-31 04:35:46 +00:00
|
|
|
);
|
|
|
|
}
|