Improve SEO descriptions

This commit is contained in:
Austin Chen 2022-01-19 12:57:35 -05:00
parent f3404b893d
commit b3282c4302
2 changed files with 10 additions and 4 deletions

View File

@ -9,23 +9,23 @@ function MyApp({ Component, pageProps }: AppProps) {
return ( return (
<> <>
<Head> <Head>
<title>Manifold Markets</title> <title>Manifold Markets A market for every prediction</title>
<meta <meta
property="og:title" property="og:title"
name="twitter:title" name="twitter:title"
content="Manifold Markets" content="Manifold Markets — A market for every prediction"
key="title" key="title"
/> />
<meta <meta
name="description" name="description"
content="Manifold Markets is creating better forecasting through user-created prediction markets." content="Manifold Markets lets you create a prediction market in under two minutes. Come trade on politics, memes, or anything that comes to mind."
key="description1" key="description1"
/> />
<meta <meta
property="og:description" property="og:description"
name="twitter:description" name="twitter:description"
content="Manifold Markets is creating better forecasting through user-created prediction markets." content="Manifold Markets lets you create a prediction market in under two minutes. Come trade on politics, memes, or anything that comes to mind."
key="description2" key="description2"
/> />
<meta property="og:url" content="https://manifold.markets" key="url" /> <meta property="og:url" content="https://manifold.markets" key="url" />

View File

@ -1,6 +1,7 @@
import _ from 'lodash' import _ from 'lodash'
import { SearchableGrid } from '../components/contracts-list' import { SearchableGrid } from '../components/contracts-list'
import { Page } from '../components/page' import { Page } from '../components/page'
import { SEO } from '../components/SEO'
import { useContracts } from '../hooks/use-contracts' import { useContracts } from '../hooks/use-contracts'
import { useQueryAndSortParams } from '../hooks/use-sort-and-query-params' import { useQueryAndSortParams } from '../hooks/use-sort-and-query-params'
import { Contract, listAllContracts } from '../lib/firebase/contracts' import { Contract, listAllContracts } from '../lib/firebase/contracts'
@ -23,6 +24,11 @@ export default function Markets(props: { contracts: Contract[] }) {
return ( return (
<Page> <Page>
<SEO
title="Explore"
description="Discover what's new, trending, or soon-to-close. Or search among our hundreds of markets."
url="/markets"
/>
<SearchableGrid <SearchableGrid
contracts={contracts} contracts={contracts}
query={query} query={query}