2024-01-28 20:06:04 +00:00
|
|
|
import {
|
|
|
|
Html,
|
|
|
|
Head,
|
|
|
|
Main,
|
|
|
|
NextScript,
|
|
|
|
type DocumentProps,
|
|
|
|
} from "next/document";
|
2024-01-07 21:39:53 +00:00
|
|
|
|
|
|
|
interface DocProps extends DocumentProps { }
|
|
|
|
|
|
|
|
export default function Document(props: DocProps) {
|
2024-01-28 20:06:04 +00:00
|
|
|
const pageProps = props?.__NEXT_DATA__?.props?.["pageProps"];
|
2022-03-23 04:21:59 +00:00
|
|
|
|
2023-12-26 01:26:17 +00:00
|
|
|
return (
|
|
|
|
<Html>
|
|
|
|
<Head>
|
|
|
|
<link rel="stylesheet" href="https://rsms.me/inter/inter.css" />
|
2024-01-28 20:06:04 +00:00
|
|
|
<link
|
|
|
|
rel="stylesheet"
|
|
|
|
href="https://cdn.jsdelivr.net/gh/kimeiga/bahunya/dist/bahunya.min.css"
|
|
|
|
/>
|
2023-12-26 01:26:17 +00:00
|
|
|
</Head>
|
2024-01-07 19:53:32 +00:00
|
|
|
|
2024-01-28 20:06:04 +00:00
|
|
|
<body className={`bg-gradient ${pageProps.body_class_name ?? ""}`}>
|
2023-12-26 01:26:17 +00:00
|
|
|
<Main />
|
|
|
|
<NextScript />
|
|
|
|
</body>
|
|
|
|
</Html>
|
2024-01-28 20:06:04 +00:00
|
|
|
);
|
2023-12-26 01:26:17 +00:00
|
|
|
}
|