manifold/web/pages/_app.tsx

52 lines
1.6 KiB
TypeScript
Raw Normal View History

import 'tailwindcss/tailwind.css'
import type { AppProps } from 'next/app'
2021-12-16 04:52:07 +00:00
import Head from 'next/head'
2022-01-15 00:43:00 +00:00
import { usePreserveScroll } from '../hooks/use-preserve-scroll'
function MyApp({ Component, pageProps }: AppProps) {
2022-01-15 00:43:00 +00:00
usePreserveScroll()
2021-12-16 04:52:07 +00:00
return (
<>
<Head>
2022-01-19 17:57:35 +00:00
<title>Manifold Markets A market for every prediction</title>
2021-12-16 04:52:07 +00:00
<meta
property="og:title"
name="twitter:title"
2022-01-19 17:57:35 +00:00
content="Manifold Markets — A market for every prediction"
2021-12-16 04:52:07 +00:00
key="title"
/>
<meta
name="description"
2022-01-19 17:57:35 +00:00
content="Manifold Markets lets you create a prediction market in under two minutes. Come trade on politics, memes, or anything that comes to mind."
2021-12-16 18:40:23 +00:00
key="description1"
2021-12-16 04:52:07 +00:00
/>
<meta
property="og:description"
name="twitter:description"
2022-01-19 17:57:35 +00:00
content="Manifold Markets lets you create a prediction market in under two minutes. Come trade on politics, memes, or anything that comes to mind."
2021-12-16 18:40:23 +00:00
key="description2"
2021-12-16 04:52:07 +00:00
/>
<meta property="og:url" content="https://manifold.markets" key="url" />
<meta name="twitter:card" content="summary" key="card" />
<meta name="twitter:site" content="@manifoldmarkets" />
2021-12-16 04:52:07 +00:00
<meta
property="og:image"
content="https://manifold.markets/logo-cover.png"
key="image1"
2022-01-07 03:54:11 +00:00
/>
<meta
2021-12-16 04:52:07 +00:00
name="twitter:image"
content="https://manifold.markets/logo-bg-white.png"
key="image2"
2021-12-16 04:52:07 +00:00
/>
</Head>
<Component {...pageProps} />
</>
)
}
export default MyApp