manifold/web/pages/markets.tsx

20 lines
548 B
TypeScript
Raw Normal View History

import { useUser } from 'web/hooks/use-user'
import { ContractSearch } from '../components/contract-search'
import { Page } from '../components/page'
import { SEO } from '../components/SEO'
2021-12-19 05:59:34 +00:00
// TODO: Rename endpoint to "Explore"
export default function Markets() {
const user = useUser()
return (
<Page>
2022-01-19 17:57:35 +00:00
<SEO
title="Explore"
2022-07-22 16:56:03 +00:00
description="Discover what's new, trending, or soon-to-close. Or search thousands of prediction markets."
2022-01-19 17:57:35 +00:00
url="/markets"
/>
<ContractSearch user={user} />
</Page>
)
}