contract page seo tags
This commit is contained in:
parent
907acec601
commit
cdf25ba659
|
@ -55,15 +55,16 @@ export default function ContractPage(props: {
|
||||||
const isCreator = user?.id === creatorId
|
const isCreator = user?.id === creatorId
|
||||||
|
|
||||||
const { probPercent } = compute(contract)
|
const { probPercent } = compute(contract)
|
||||||
const title = resolution
|
|
||||||
? `Resolved ${resolution}: ${question}`
|
const description = resolution
|
||||||
: `${probPercent} chance: ${question}`
|
? `Resolved ${resolution}. ${contract.description}`
|
||||||
|
: `${probPercent} chance. ${contract.description}`
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Page wide={!isResolved}>
|
<Page wide={!isResolved}>
|
||||||
<SEO
|
<SEO
|
||||||
title={title}
|
title={question}
|
||||||
description={contract.description}
|
description={description}
|
||||||
url={`/${props.username}/${props.slug}`}
|
url={`/${props.username}/${props.slug}`}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user