diff --git a/public/img/icon-skyrangers.png b/public/img/icon-skyrangers.png
new file mode 100644
index 00000000..01e9501d
Binary files /dev/null and b/public/img/icon-skyrangers.png differ
diff --git a/public/img/icon-steer.png b/public/img/icon-steer.png
new file mode 100644
index 00000000..512f1ab5
Binary files /dev/null and b/public/img/icon-steer.png differ
diff --git a/src/components/DashboardS2/Tabs/EcoDApps.tsx b/src/components/DashboardS2/Tabs/EcoDApps.tsx
index 0462da84..15b7a944 100644
--- a/src/components/DashboardS2/Tabs/EcoDApps.tsx
+++ b/src/components/DashboardS2/Tabs/EcoDApps.tsx
@@ -9,6 +9,10 @@ import useNovaPoints from "@/hooks/useNovaPoints";
import { formatNumberWithUnit } from "@/utils";
import {
Button,
+ Dropdown,
+ DropdownItem,
+ DropdownMenu,
+ DropdownTrigger,
Modal,
ModalBody,
ModalContent,
@@ -247,6 +251,7 @@ interface EcoDAppItem {
description: string;
action: string;
actionLink?: string;
+ actionLinks?: string[];
descriptionTooltip?: string;
}[];
idFeatured?: boolean;
@@ -304,7 +309,7 @@ const EcoDApp = (props: {
handleLink(data.link);
}}
>
- {data.name}
+ {data.name}
{data.handler}
@@ -440,20 +445,54 @@ const EcoDApp = (props: {
Action
-
-
handleLink(detail.actionLink || data.link)}
- >
-
{detail.action}
+ {detail.actionLinks ? (
+
+
+
+
+ {detail.action}
+
+
+
+
+
+ {detail.actionLinks.map((link, index) => (
+ handleLink(link)}
+ >
+ {link}
+
+ ))}
+
+
+ ) : (
+
+
handleLink(detail.actionLink || data.link)}
+ >
+ {detail.action}
+
+
-
-
+ )}
))}
@@ -1009,6 +1048,63 @@ export default function EcoDApps({
},
],
},
+ {
+ category: "spotdex",
+ iconURL: "/img/icon-steer.png",
+ name: "Steer",
+ link: "https://app.steer.finance/novaswap",
+ handler: "@steerprotocol",
+ type: "DEX",
+ rewardsIcon: [
+ { name: "Nova Points", iconURL: "/img/icon-rewards-nova.svg" },
+ ],
+ rewards: "20x Boost",
+ holdingPoints: getHoldingPointsByProject("steer"),
+ totalPoints: getTotalPointsByProject("steer"),
+ details: [
+ {
+ booster: (
+
+
20x for ETH, WETH, Merged WBTC, USDT, USDC
+
+ 10x for canonically bridged tokens eligible to earn points
+
+
+ ),
+ description: `You earn points based on the liquidity you've supplied to the pool over a specific period, with the points multiplied accordingly.`,
+ action: "Provide Liquidity",
+ },
+ ],
+ },
+ {
+ category: "gamefi",
+ iconURL: "/img/icon-skyrangers.png",
+ name: "Sky Rangers",
+ link: "https://statics.skyrangers.io/",
+ handler: "@OfficialSkyRang",
+ type: "DEX",
+ rewardsIcon: [
+ { name: "Nova Points", iconURL: "/img/icon-rewards-nova.svg" },
+ ],
+ rewards: "Interaction",
+ holdingPoints: getHoldingPointsByProject("skyrangers"),
+ totalPoints: getTotalPointsByProject("skyrangers"),
+ details: [
+ {
+ booster: (
+
+
Open Blindbox, NFT Level Up, ZKL Deposit, ZKL Withdraw
+
+ ),
+ description: `With a total 5x of any supported actions, you can receive 1 Nova Points.`,
+ action: "Play now",
+ actionLinks: [
+ "https://statics.skyrangers.io/",
+ "https://t.me/SkyRangers_bot",
+ ],
+ },
+ ],
+ },
];
return tabActive
diff --git a/src/pages/DashboardS2/index2.tsx b/src/pages/DashboardS2/index2.tsx
index 89f20a08..1f3925cc 100644
--- a/src/pages/DashboardS2/index2.tsx
+++ b/src/pages/DashboardS2/index2.tsx
@@ -339,11 +339,11 @@ export default function Dashboard() {
name: "Lending",
category: "lending",
},
- // {
- // iconURL: "/img/icon-sector-6.svg",
- // name: "GameFi",
- // category: "gamefi",
- // },
+ {
+ iconURL: "/img/icon-sector-6.svg",
+ name: "GameFi",
+ category: "gamefi",
+ },
{
iconURL: "/img/icon-sector-7.svg",
name: "Others",
@@ -511,10 +511,10 @@ export default function Dashboard() {
name: "Lending Points",
category: "lending",
},
- // {
- // name: "GameFi Points",
- // category: "gamefi",
- // },
+ {
+ name: "GameFi Points",
+ category: "gamefi",
+ },
{
name: "Others Points",
category: "other",
diff --git a/src/pages/Leaderboard/index.tsx b/src/pages/Leaderboard/index.tsx
index 0a4ac6ad..7cf57208 100644
--- a/src/pages/Leaderboard/index.tsx
+++ b/src/pages/Leaderboard/index.tsx
@@ -457,7 +457,7 @@ export default function Leaderboard() {
iconURL: "/img/icon-sector-4.svg",
},
{ name: "Lending", category: "lending", iconURL: "/img/icon-sector-5.svg" },
- // { name: "GameFi", category: "gamefi" },
+ { name: "GameFi", category: "gamefi" },
{ name: "Other", category: "other", iconURL: "/img/icon-sector-7.svg" },
];
diff --git a/vite.config.ts b/vite.config.ts
index 9bc30499..80419bc0 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -47,8 +47,8 @@ export default defineConfig({
port: 3001,
proxy: {
"/app-api": {
- target: "https://goerli.app.zklink.io",
- // target: "https://app-api.zklink.io",
+ // target: "https://goerli.app.zklink.io",
+ target: "https://app-api.zklink.io",
changeOrigin: true,
rewrite: (path) => path.replace(/^\/app-api/, ""),
},