36 lines
961 B
TypeScript
36 lines
961 B
TypeScript
import Document, { Html, Head, Main, NextScript } from "next/document";
|
|
|
|
class MyDocument extends Document {
|
|
static override async getInitialProps(ctx: any) {
|
|
const initialProps = await Document.getInitialProps(ctx);
|
|
return { ...initialProps };
|
|
}
|
|
|
|
override render() {
|
|
return (
|
|
<Html>
|
|
<Head>
|
|
<title>ClawDEX</title>
|
|
<meta name="description" content="ClawDEX — Decentralized Exchange for ClawChain" />
|
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
<link
|
|
rel="preconnect"
|
|
href="https://fonts.gstatic.com"
|
|
crossOrigin=""
|
|
/>
|
|
<link
|
|
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap"
|
|
rel="stylesheet"
|
|
></link>
|
|
</Head>
|
|
<body>
|
|
<Main />
|
|
<NextScript />
|
|
</body>
|
|
</Html>
|
|
);
|
|
}
|
|
}
|
|
|
|
export default MyDocument;
|