Skip to content

Commit

Permalink
Final touches
Browse files Browse the repository at this point in the history
  • Loading branch information
brickpop committed Nov 1, 2024
1 parent f7f15f0 commit 8eae9ab
Showing 1 changed file with 16 additions and 22 deletions.
38 changes: 16 additions & 22 deletions src/components/GetStarted/AntV2EthConversionCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@ import {
// @ts-ignore
} from '@aragon/ui'
import TokenGraphic from '../TokenGraphic/TokenGraphic'
import BrandButton from '../BrandButton/BrandButton'
import { radius } from '../../style/radius'
import { fontWeight } from '../../style/font'
import { TokenName } from '../../token-info/types'
import { tokenInfo } from '../../token-info/tokenInfo'
import rightArrowPng from '../../assets/right-arrow.png'
import LockIcon from '../icons/LockIcon'
import useAntV2ToEthRate from '../../hooks/useAntV2ToEthRate'
import { theme as localTheme } from '../../style/theme'

Expand Down Expand Up @@ -77,14 +75,16 @@ function AntV2EthConversionCard(): JSX.Element {
>
For ANTv2 Holders
</div>
<div
css={`
display: flex;
align-items: center;
`}
>
ETH/ANTv2: {antV2ToEthRate}
</div>
{antV2ToEthRate && (
<div
css={`
display: flex;
align-items: center;
`}
>
ETH/ANTv2: {antV2ToEthRate}
</div>
)}
</div>
<div
css={`
Expand Down Expand Up @@ -151,20 +151,14 @@ function AntV2EthConversionCard(): JSX.Element {
padding-top: ${2 * GU}px;
width: 100%;
height: 100%;
text-align: center;
`}
>
<BrandButton
icon={<LockIcon />}
mode="strong"
size="large"
wide
disabled={true}
label="The ANT Redemption Initiative ended on November 2nd 2024 23:59 UTC. For any questions, please reach out to [email protected]"
css={`
width: 100%;
height: ${14.75 * GU}px;
`}
/>
<p>
The ANT Redemption Initiative ended on November 2nd 2024 23:59
UTC. <br />
For any questions, please reach out to [email protected]
</p>
</div>
</div>
</div>
Expand Down

0 comments on commit 8eae9ab

Please sign in to comment.