diff --git a/src/modules/explorer/pages/ProposalDetails/index.tsx b/src/modules/explorer/pages/ProposalDetails/index.tsx index c09f9d8b..d2faf7d3 100644 --- a/src/modules/explorer/pages/ProposalDetails/index.tsx +++ b/src/modules/explorer/pages/ProposalDetails/index.tsx @@ -1,5 +1,5 @@ import _ from "lodash" -import { Button, Grid, Theme, Typography, useMediaQuery, styled, useTheme } from "@material-ui/core" +import { Button, Grid, Theme, Typography, useMediaQuery, styled, useTheme, Tooltip } from "@material-ui/core" import ReactHtmlParser from "react-html-parser" import { BigNumber } from "bignumber.js" import ProgressBar from "react-customizable-progressbar" @@ -20,6 +20,7 @@ import { useDAOID } from "../DAO/router" import { useVotesStats } from "modules/explorer/hooks/useVotesStats" import { formatNumber } from "modules/explorer/utils/FormatNumber" import { HighlightedBadge } from "modules/explorer/components/styled/HighlightedBadge" +import { InfoIcon } from "modules/explorer/components/styled/InfoIcon" import { TransferBadge } from "modules/explorer/components/TransferBadge" import { FA2Transfer, @@ -327,18 +328,29 @@ export const ProposalDetails: React.FC = () => { {agoraPost ? agoraPost.title : `Proposal ${toShortAddress(proposal?.id || "")}`} - - + + Treasury Proposal • Created by + + {proposal && cycleInfo && ( + + )} + - - {proposal && cycleInfo && ( - - )} + + + + + {/* @@ -399,8 +411,38 @@ export const ProposalDetails: React.FC = () => { )} - - + {isMobileSmall ? null : ( + + + + onClickVote(true)} + disabled={!canVote} + > + + For + + + + onClickVote(false)} + disabled={!canVote} + > + + Against + + + + + )} + + {isMobileSmall ? ( + + { - + ) : null}