Update folds SEO to include curator.

This commit is contained in:
jahooma 2022-01-28 13:45:32 -06:00
parent f04d66d5c8
commit 482654d06b
2 changed files with 6 additions and 4 deletions

View File

@ -37,9 +37,7 @@ export const ContractOverview = (props: {
? contract.question
: `${creatorName}: ${contract.question}`
const tweetDescription = resolution
? isCreator
? `Resolved ${resolution}!`
: `Resolved ${resolution} by ${creatorName}:`
? `Resolved ${resolution}!`
: `Currently ${probPercent} chance, place your bets here:`
const url = `https://manifold.markets${contractPath(contract)}`
const tweetText = `${tweetQuestion}\n\n${tweetDescription}\n\n${url}`

View File

@ -157,7 +157,11 @@ export default function FoldPage(props: {
return (
<Page wide>
<SEO title={fold.name} description={fold.about} url={foldPath(fold)} />
<SEO
title={fold.name}
description={`Curated by ${curator.name}. ${fold.about}`}
url={foldPath(fold)}
/>
<div className="px-3 lg:px-1">
<Row className="justify-between mb-6">