Skip to content

Commit

Permalink
More fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MacLane Wilkison authored and MacLane Wilkison committed Nov 22, 2023
1 parent e65e361 commit 0793a8c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 31 deletions.
5 changes: 0 additions & 5 deletions src/components/LPCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,13 @@ import useChakraBreakpoint from "../hooks/useChakraBreakpoint"
interface LPCardProps {
image1: ImageProps
title: string
subTitle: string
buttonText: string
buttonUrl: string
}

const LPCard: FC<LPCardProps> = ({
image1,
title,
subTitle,
buttonUrl,
buttonText,
...props
Expand All @@ -39,9 +37,6 @@ const LPCard: FC<LPCardProps> = ({
</Box>
<Stack spacing={0}>
<H5 color="gray.100">{title}</H5>
<LabelMd textTransform="uppercase" color="gray.500">
{subTitle}
</LabelMd>
</Stack>
</Stack>
<ExternalButtonLink
Expand Down
20 changes: 6 additions & 14 deletions src/content/pages/earn/token-holder.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ tokenHolderInfo:
next for Threshold. Legacy NU or KEEP tokens should first be upgraded to T.
image: /images/token-holder.png
buttons:
- label: Upgrade to T
url: https://dashboard.threshold.network/upgrade
- label: Delegate Vote
url: https://delegates.threshold.network
variant: EXTERNAL_SOLID
rowReverse: false
secondaryInfo:
Expand All @@ -30,7 +30,7 @@ secondaryInfo:
variant: INTERNAL_OUTLINE
right:
label: Legacy Token Holders
title: Migrate your KEEP to T
title: Migrate your KEEP or NU to T
description:
Do you have KEEP or NU tokens? Upgrade them to T to make the most
of the Threshold network.
Expand All @@ -40,15 +40,7 @@ secondaryInfo:
variant: EXTERNAL_OUTLINE
interestedPools:
- image1: /images/threshold.svg
image2: /images/ethereum.svg
title: T + ETH
subTitle: Curve
buttonText: View Pool on Curve
buttonUrl: https://curve.fi/#/ethereum/pools/teth/deposit
- image1: /images/threshold.svg
image2: /images/ethereum.svg
title: T + ETH
subTitle: Balancer
buttonText: View Pool on Balancer
buttonUrl: https://app.balancer.fi/#/ethereum/pool/0x8167a1117691f39e05e9131cfa88f0e3a620e96700020000000000000000038c/invest
title: Threshold (T)
buttonText: View on DefiLlama
buttonUrl: https://defillama.com/yields?exactToken=T
---
1 change: 0 additions & 1 deletion src/templates/earn-page/liquidity-provider/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ export const query = graphql`
}
}
title
subTitle
buttonText
buttonUrl
}
Expand Down
11 changes: 0 additions & 11 deletions src/templates/earn-page/token-holder/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,18 +94,7 @@ export const query = graphql`
gatsbyImageData(width: 200)
}
}
image2 {
id
relativePath
internal {
mediaType
}
childImageSharp {
gatsbyImageData(width: 200)
}
}
title
subTitle
buttonText
buttonUrl
}
Expand Down

0 comments on commit 0793a8c

Please sign in to comment.