2022-08-09 22:28:52 +00:00
|
|
|
import { useUser } from 'web/hooks/use-user'
|
2022-05-09 17:38:33 +00:00
|
|
|
import { ContractSearch } from '../components/contract-search'
|
|
|
|
import { Page } from '../components/page'
|
|
|
|
import { SEO } from '../components/SEO'
|
2021-12-19 05:59:34 +00:00
|
|
|
|
2022-01-21 18:33:58 +00:00
|
|
|
// TODO: Rename endpoint to "Explore"
|
2022-04-29 13:53:51 +00:00
|
|
|
export default function Markets() {
|
2022-08-09 22:28:52 +00:00
|
|
|
const user = useUser()
|
2021-12-14 01:09:16 +00:00
|
|
|
return (
|
2021-12-20 04:06:30 +00:00
|
|
|
<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"
|
|
|
|
/>
|
2022-08-09 22:28:52 +00:00
|
|
|
<ContractSearch user={user} />
|
2021-12-20 04:06:30 +00:00
|
|
|
</Page>
|
2021-12-14 01:09:16 +00:00
|
|
|
)
|
|
|
|
}
|