From 4dc61291f8393e1c8e41be53a49abdeba500a07b Mon Sep 17 00:00:00 2001 From: tadejpodrekar Date: Tue, 22 Oct 2024 14:29:18 +0200 Subject: [PATCH] chore: update tooltip text --- .../DashboardView/AssetsTable/BorrowTable.tsx | 21 ++++++--- .../AssetsTable/CollateralTable.tsx | 44 +++++++++++++++---- .../DashboardView/AssetsTable/LendTable.tsx | 21 ++++++--- 3 files changed, 65 insertions(+), 21 deletions(-) diff --git a/apps/frontend/src/components/DashboardView/AssetsTable/BorrowTable.tsx b/apps/frontend/src/components/DashboardView/AssetsTable/BorrowTable.tsx index 9d070797..d891acbe 100644 --- a/apps/frontend/src/components/DashboardView/AssetsTable/BorrowTable.tsx +++ b/apps/frontend/src/components/DashboardView/AssetsTable/BorrowTable.tsx @@ -57,17 +57,26 @@ const POINTS_BORROW: Point[] = [ name: 'Activity Points', description: (
- Earn up to 4x{' '} - Activity Points by{' '} - borrowing
assets on Swaylend.{' '} + By Borrowing USDC On Swaylend you get{' '} + 4x Fuel Points Multiplier: +
-{' '} + + 2x for Borrowing Activity + +
-{' '} + + 2x for using USDC as Incentivised Asset + +
+
+ For more details, check out our{' '} - {' '} - Learn more + blog post .
diff --git a/apps/frontend/src/components/DashboardView/AssetsTable/CollateralTable.tsx b/apps/frontend/src/components/DashboardView/AssetsTable/CollateralTable.tsx index d122a9f5..46943431 100644 --- a/apps/frontend/src/components/DashboardView/AssetsTable/CollateralTable.tsx +++ b/apps/frontend/src/components/DashboardView/AssetsTable/CollateralTable.tsx @@ -76,19 +76,41 @@ const POINTS_COLLATERAL: Point[] = [ name: 'Passive Points', description: (
- Earn Passive Points{' '} - by holding unused collateral{' '} -
on Swaylend. Note that Collateral used in
Borrow positions - earns{' '} - Activity Points{' '} - instead.
{' '} + Supply this asset as collateral to earn 1 Fuel Point per dollar value. +
Earn up to a 2x multiplier + if the collateral is actively used for borrowing. +
+
+ For more details, check out our{' '} - Learn more + blog post + + . +
+ ), + icon: SYMBOL_TO_ICON.FUEL, + }, + { + id: '1', + name: 'Passive Points', + description: ( +
+ Supply this asset as collateral to earn 1 Fuel Point per dollar value. +
+
+ For more details, check out our{' '} + + blog post .
@@ -255,7 +277,11 @@ const CollateralTableRow = ({ diff --git a/apps/frontend/src/components/DashboardView/AssetsTable/LendTable.tsx b/apps/frontend/src/components/DashboardView/AssetsTable/LendTable.tsx index 602beee4..027caf82 100644 --- a/apps/frontend/src/components/DashboardView/AssetsTable/LendTable.tsx +++ b/apps/frontend/src/components/DashboardView/AssetsTable/LendTable.tsx @@ -54,17 +54,26 @@ const POINTS_LEND: Point[] = [ name: 'Activity Points', description: (
- Earn 4x{' '} - Activity Points by - lending assets
on Swaylend.{' '} + By Lending USDC On Swaylend you get{' '} + 4x Fuel Points Multiplier: +
-{' '} + + 2x for Lending Activity + +
-{' '} + + 2x for using USDC as Incentivised Asset + +
+
+ For more details, check out our{' '} - {' '} - Learn more + blog post .