Skip to content

Commit

Permalink
chore: update tooltip text (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
tadejpodrekar authored Oct 23, 2024
1 parent 0043438 commit 3303e0d
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,26 @@ const POINTS_BORROW: Point[] = [
name: 'Activity Points',
description: (
<div className="text-md">
Earn up to <span className="text-primary">4x</span>{' '}
<span className="text-lavender font-semibold">Activity Points</span> by{' '}
borrowing <br /> assets on Swaylend.{' '}
By Borrowing USDC on Swaylend you get{' '}
<span className="text-primary">4x</span> Fuel Points Multiplier:
<br />-{' '}
<span className="text-lavender font-semibold">
2x for Borrowing Activity
</span>
<br />-{' '}
<span className="text-lavender font-semibold">
2x for using USDC as Incentivised Asset
</span>
<br />
<br />
For more details, check out our{' '}
<a
href="https://fuel.mirror.xyz/UfX-NnWGvYy56K8lq5gPfGLPI58DGD3KOHBJupHIibk"
href="https://swaylend.medium.com/incentivizing-useful-liquidity-on-swaylend-with-fuel-points-c2308be4b4c6"
className="text-primary underline"
target="_blank"
rel="noreferrer"
>
{' '}
Learn more
blog post
</a>
.
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,19 +76,41 @@ const POINTS_COLLATERAL: Point[] = [
name: 'Passive Points',
description: (
<div className="text-md">
Earn <span className="text-lavender font-semibold">Passive Points</span>{' '}
by holding <span className="text-lavender">unused</span> collateral{' '}
<br /> on Swaylend. Note that Collateral used in <br /> Borrow positions
earns{' '}
<span className="text-lavender font-semibold">Activity Points</span>{' '}
instead. <br />{' '}
Supply this asset as collateral to earn 1 Fuel Point per dollar value.
<br /> Earn up to a <span className="text-primary">2x</span> multiplier
if the collateral is actively used for borrowing.
<br />
<br />
For more details, check out our{' '}
<a
href="https://fuel.mirror.xyz/UfX-NnWGvYy56K8lq5gPfGLPI58DGD3KOHBJupHIibk"
href="https://swaylend.medium.com/incentivizing-useful-liquidity-on-swaylend-with-fuel-points-c2308be4b4c6"
className="text-primary underline"
target="_blank"
rel="noreferrer"
>
Learn more
blog post
</a>
.
</div>
),
icon: SYMBOL_TO_ICON.FUEL,
},
{
id: '1',
name: 'Passive Points',
description: (
<div className="text-md">
Supply this asset as collateral to earn 1 Fuel Point per dollar value.
<br />
<br />
For more details, check out our{' '}
<a
href="https://swaylend.medium.com/incentivizing-useful-liquidity-on-swaylend-with-fuel-points-c2308be4b4c6"
className="text-primary underline"
target="_blank"
rel="noreferrer"
>
blog post
</a>
.
</div>
Expand Down Expand Up @@ -255,7 +277,11 @@ const CollateralTableRow = ({
<TableCell>
<PointIcons
value={symbol === 'USDT' || symbol === 'ETH' ? '2x' : undefined}
points={POINTS_COLLATERAL}
points={
symbol === 'USDT' || symbol === 'ETH'
? [POINTS_COLLATERAL[0]]
: [POINTS_COLLATERAL[1]]
}
/>
</TableCell>
<TableCell>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,26 @@ const POINTS_LEND: Point[] = [
name: 'Activity Points',
description: (
<div className="text-md">
Earn <span className="text-primary">4x</span>{' '}
<span className="text-lavender font-semibold">Activity Points</span> by
lending assets <br /> on Swaylend.{' '}
By Lending USDC on Swaylend you get{' '}
<span className="text-primary">4x</span> Fuel Points Multiplier:
<br />-{' '}
<span className="text-lavender font-semibold">
2x for Lending Activity
</span>
<br />-{' '}
<span className="text-lavender font-semibold">
2x for using USDC as Incentivised Asset
</span>
<br />
<br />
For more details, check out our{' '}
<a
href="https://fuel.mirror.xyz/UfX-NnWGvYy56K8lq5gPfGLPI58DGD3KOHBJupHIibk"
href="https://swaylend.medium.com/incentivizing-useful-liquidity-on-swaylend-with-fuel-points-c2308be4b4c6"
className="text-primary underline"
target="_blank"
rel="noreferrer"
>
{' '}
Learn more
blog post
</a>
.
</div>
Expand Down

0 comments on commit 3303e0d

Please sign in to comment.