manifold/web/pages/_document.tsx
Austin Chen c9229ca2b8
Allow users to create new contracts (#4)
* Add Firestore package and config

* Upload basic Firebase Auth code

* Basic ability to sign in and view profile

* Move html head content to Next's _document

* Apply dark theme to all DaisyUI components

* Add contract page

* Smaller width bet input

* Allow users to create new contracts

* Add back listenForContract

* Add some buttons

* Add Row, Col, and Spacer components

* Implement skeleton ContractPage

* Apply dark theme to all DaisyUI components

* Fix hooks lints (#3)

* Add background to bet panel

* Sort contracts by creation time

* Link to market creation from header

* List your markets on account page

* Set fullscreen black background

* Correctly set seeds on new contracts

* Code cleanups

* Gratuitously cool font

* Add creator name, fix ordering

* Use Readex Pro as body font

* Fixes according to code review

Co-authored-by: jahooma <jahooma@gmail.com>
2021-12-10 09:54:16 -08:00

67 lines
1.9 KiB
XML

import { Html, Head, Main, NextScript } from 'next/document'
export default function Document() {
return (
<Html data-theme="dark" className="h-full bg-gray-900">
<Head>
<title>Mantic Markets</title>
<meta
property="og:title"
name="twitter:title"
content="Mantic Markets"
/>
<meta
name="description"
content="Decentralized user-created prediction markets on Solana"
/>
<meta
property="og:description"
name="twitter:description"
content="Decentralized user-created prediction markets on Solana"
/>
<meta property="og:url" content="https://mantic.markets" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@manticmarkets" />
<meta
property="og:image"
name="twitter:image"
content="https://mantic.markets/logo-cover.png"
/>
<link rel="icon" href="/favicon.ico" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link
rel="preconnect"
href="https://fonts.gstatic.com"
crossOrigin="true"
/>
<link
href="https://fonts.googleapis.com/css2?family=Major+Mono+Display&family=Readex+Pro:wght@400;700&display=swap"
rel="stylesheet"
/>
<script
async
src="https://www.googletagmanager.com/gtag/js?id=G-SSFK1Q138D"
/>
<script
dangerouslySetInnerHTML={{
__html: `
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-SSFK1Q138D');
`,
}}
/>
</Head>
<body className="h-full font-readex-pro">
<Main />
<NextScript />
</body>
</Html>
)
}