diff --git a/web/components/contract-card.tsx b/web/components/contract-card.tsx
index 8fc729f7..70e5df9f 100644
--- a/web/components/contract-card.tsx
+++ b/web/components/contract-card.tsx
@@ -6,10 +6,11 @@ import { UserLink } from './user-page'
import { Linkify } from './linkify'
import { Contract, compute, path } from '../lib/firebase/contracts'
import { Col } from './layout/col'
+import { parseTags } from '../lib/util/parse'
export function ContractCard(props: { contract: Contract }) {
const { contract } = props
- const { resolution } = contract
+ const { question, resolution } = contract
const { probPercent } = compute(contract)
return (
@@ -19,9 +20,7 @@ export function ContractCard(props: { contract: Contract }) {
-
-
-
+ {question}
`#${tag}`)
+
return (
-
-
-
-
- •
-
- {resolvedDate ? `${createdDate} - ${resolvedDate}` : createdDate}
-
- •
- {formatMoney(truePool)} pool
-
+
+
+
+
+
+ •
+
+ {resolvedDate ? `${createdDate} - ${resolvedDate}` : createdDate}
+
+ •
+ {formatMoney(truePool)} pool
+
+
+ {inlineTags && •
}
+
+
+ {tags.map((tag) => (
+
+
+
+ ))}
+
+
)
}
diff --git a/web/components/contract-overview.tsx b/web/components/contract-overview.tsx
index e36b3d79..b3703dd3 100644
--- a/web/components/contract-overview.tsx
+++ b/web/components/contract-overview.tsx
@@ -67,7 +67,7 @@ export const ContractOverview = (props: {
large
/>
-
+
{
@@ -20,7 +20,10 @@ export function Linkify(props: { text: string }) {
return (
<>
{whitespace}
-
+
{symbol}
{tag}
diff --git a/web/components/tweet-button.tsx b/web/components/tweet-button.tsx
index fb20fc53..b9db405e 100644
--- a/web/components/tweet-button.tsx
+++ b/web/components/tweet-button.tsx
@@ -4,7 +4,7 @@ export function TweetButton(props: { tweetText?: string }) {
return (