42 lines
996 B
TypeScript
42 lines
996 B
TypeScript
import Document, {
|
|
Html,
|
|
Head,
|
|
Main,
|
|
NextScript,
|
|
DocumentContext,
|
|
} from "next/document";
|
|
|
|
class MyDocument extends Document {
|
|
static async getInitialProps(ctx: DocumentContext) {
|
|
const initialProps = await Document.getInitialProps(ctx);
|
|
|
|
return initialProps;
|
|
}
|
|
render() {
|
|
return (
|
|
<Html>
|
|
<Head>
|
|
<meta name="description" content="Playground for XRPL Hooks" />
|
|
<link rel="icon" href="/favicon.ico" />
|
|
<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=Roboto+Mono:ital@0;1&family=Work+Sans:wght@400;600;700&display=swap"
|
|
rel="stylesheet"
|
|
/>
|
|
</Head>
|
|
<body>
|
|
<Main />
|
|
<NextScript />
|
|
</body>
|
|
</Html>
|
|
);
|
|
}
|
|
}
|
|
|
|
export default MyDocument;
|