mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-01-14 00:48:18 -05:00
* wc/wagmi/viem * replace * profile * replace context (,: * testing, clean up * wallet connect deploy * connect * remove type slive * podcast * podcast * heck yeah * feat: connect button * chore * trying siwe, network switch * redirect * prettying, cleaning up SIWE endpoints, & passing linting 🕊 * switching minting to Optimism & converting `ethers` to `wagmi` for contract access 🥧 * simplified onboarding & successfully minted ⛲ * typo * api key --------- Co-authored-by: Udit Takkar <udit222001@gmail.com> Co-authored-by: dysbulic <dys@dhappy.org>
38 lines
930 B
TypeScript
38 lines
930 B
TypeScript
import Document, {
|
|
DocumentContext,
|
|
DocumentInitialProps,
|
|
Head,
|
|
Html,
|
|
Main,
|
|
NextScript,
|
|
} from 'next/document';
|
|
|
|
class MetaDocument extends Document {
|
|
static async getInitialProps(
|
|
ctx: DocumentContext,
|
|
): Promise<DocumentInitialProps> {
|
|
return Document.getInitialProps(ctx);
|
|
}
|
|
|
|
// eslint-disable-next-line class-methods-use-this
|
|
render(): JSX.Element {
|
|
return (
|
|
<Html>
|
|
<Head>
|
|
<link
|
|
href="https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;700&family=Press+Start+2P&family=Exo+2:ital,wght@0,100;0,200;0,400;0,500;0,600;0,700;1,400&family=Courier+Prime:wght@400;700&display=swap"
|
|
rel="stylesheet"
|
|
/>
|
|
<link rel="shortcut icon" href="/metagame.ico" />
|
|
</Head>
|
|
<body>
|
|
<Main />
|
|
<NextScript />
|
|
</body>
|
|
</Html>
|
|
);
|
|
}
|
|
}
|
|
|
|
export default MetaDocument;
|