diff --git a/web/components/contract/contract-card.tsx b/web/components/contract/contract-card.tsx index 43f009a0..8e85c5d3 100644 --- a/web/components/contract/contract-card.tsx +++ b/web/components/contract/contract-card.tsx @@ -27,8 +27,8 @@ import { import { getOutcomeProbability, getTopAnswer } from 'common/calculate' import { AvatarDetails, MiscDetails } from './contract-details' import { getExpectedValue, getValueFromBucket } from 'common/calculate-dpm' -import { PaperAirplaneIcon } from '@heroicons/react/outline' -import { PaperAirplaneIcon as SolidPlaneIcon } from '@heroicons/react/solid' +import TriangleIcon from 'web/lib/icons/triangle-icon' +import TriangleFillIcon from 'web/lib/icons/triangle-fill-icon' // Return a number from 0 to 1 for this contract // Resolved contracts are set to 1, for coloring purposes (even if NO) @@ -128,11 +128,11 @@ export function ContractCard(props: { {contract.createdTime % 3 == 0 ? ( - ) : ( - + )} {outcomeType === 'BINARY' && ( @@ -158,11 +158,11 @@ export function ContractCard(props: { )} {contract.createdTime % 3 == 2 ? ( - ) : ( - + )} diff --git a/web/lib/icons/triangle-fill-icon.tsx b/web/lib/icons/triangle-fill-icon.tsx new file mode 100644 index 00000000..e24c005f --- /dev/null +++ b/web/lib/icons/triangle-fill-icon.tsx @@ -0,0 +1,16 @@ +// Icon from Bootstrap: https://icons.getbootstrap.com/ +export default function TriangleFillIcon(props: { className?: string }) { + return ( + + + + ) +} diff --git a/web/lib/icons/triangle-icon.tsx b/web/lib/icons/triangle-icon.tsx new file mode 100644 index 00000000..813808b7 --- /dev/null +++ b/web/lib/icons/triangle-icon.tsx @@ -0,0 +1,13 @@ +// Icon from Bootstrap: https://icons.getbootstrap.com/ +export default function TriangleIcon(props: { className?: string }) { + return ( + + + + ) +}