Skip to content

Commit

Permalink
fix epoch3 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
zkLeonardo committed Sep 2, 2024
1 parent 4c0199e commit 5892a52
Show file tree
Hide file tree
Showing 11 changed files with 33 additions and 24 deletions.
3 changes: 0 additions & 3 deletions public/img/icon-sector-1.svg

This file was deleted.

5 changes: 5 additions & 0 deletions public/img/icon-sector-assets.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
3 changes: 3 additions & 0 deletions public/img/icon-sector-perpdex.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
16 changes: 8 additions & 8 deletions src/pages/DashboardS2/index2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -282,37 +282,37 @@ export default function Dashboard() {

const tabs2 = [
{
iconURL: "/img/icon-sector-1.svg",
iconURL: "/img/icon-sector-assets.svg",
name: "Assets",
category: "holding",
},
{
iconURL: "/img/icon-sector-2.svg",
iconURL: "/img/icon-sector-boosted.svg",
name: "Boosted",
category: "nativeboost",
},
{
iconURL: "/img/icon-sector-3.svg",
iconURL: "/img/icon-sector-spotdex.svg",
name: "Spot DEX",
category: "spotdex",
},
{
iconURL: "/img/icon-sector-4.svg",
iconURL: "/img/icon-sector-perpdex.svg",
name: "Perp DEX",
category: "perpdex",
},
{
iconURL: "/img/icon-sector-5.svg",
iconURL: "/img/icon-sector-lending.svg",
name: "Lending & Staking",
category: "lending",
},
// {
// iconURL: "/img/icon-sector-6.svg",
// iconURL: "/img/icon-sector-gamefi.svg",
// name: "GameFi",
// category: "gamefi",
// },
{
iconURL: "/img/icon-sector-7.svg",
iconURL: "/img/icon-sector-other.svg",
name: "Others",
category: "other",
},
Expand Down Expand Up @@ -766,7 +766,7 @@ export default function Dashboard() {
onClick={() => setTabs2Active(99)}
>
<img
src={"/img/icon-sector-1.svg"}
src={"/img/icon-sector-portfolio.svg"}
alt=""
className="w-[24px] h-[24px] block"
/>
Expand Down
30 changes: 17 additions & 13 deletions src/pages/Leaderboard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -479,66 +479,70 @@ export default function Leaderboard() {
{
name: "Holding",
category: "holding",
iconURL: "/img/icon-sector-1.svg",
iconURL: "/img/icon-sector-assets.svg",
},
{
name: "Boosted",
category: "nativeboost",
iconURL: "/img/icon-sector-2.svg",
iconURL: "/img/icon-sector-boosted.svg",
},
{
name: "Spot DEX",
category: "spotdex",
iconURL: "/img/icon-sector-3.svg",
iconURL: "/img/icon-sector-spotdex.svg",
},
{
name: "Perp DEX",
category: "perpdex",
iconURL: "/img/icon-sector-4.svg",
iconURL: "/img/icon-sector-perpdex.svg",
},
{
name: "Lending",
category: "lending",
iconURL: "/img/icon-sector-5.svg",
iconURL: "/img/icon-sector-lending.svg",
},
// { name: "GameFi", category: "gamefi" },
{
name: "Other",
category: "other",
iconURL: "/img/icon-sector-7.svg",
iconURL: "/img/icon-sector-other.svg",
},
]
: [
{
name: "Holding",
category: "holding",
iconURL: "/img/icon-sector-1.svg",
iconURL: "/img/icon-sector-assets.svg",
},
{
name: "Boosted",
category: "nativeboost",
iconURL: "/img/icon-sector-2.svg",
iconURL: "/img/icon-sector-boosted.svg",
},
{
name: "Spot DEX",
category: "spotdex",
iconURL: "/img/icon-sector-3.svg",
iconURL: "/img/icon-sector-spotdex.svg",
},
{
name: "Perp DEX",
category: "perpdex",
iconURL: "/img/icon-sector-4.svg",
iconURL: "/img/icon-sector-perpdex.svg",
},
{
name: "Lending",
category: "lending",
iconURL: "/img/icon-sector-5.svg",
iconURL: "/img/icon-sector-lending.svg",
},
{
name: "GameFi",
category: "gamefi",
iconURL: "/img/icon-sector-gamefi.svg",
},
{ name: "GameFi", category: "gamefi" },
{
name: "Other",
category: "other",
iconURL: "/img/icon-sector-7.svg",
iconURL: "/img/icon-sector-other.svg",
},
];
}, [epochActive]);
Expand Down

0 comments on commit 5892a52

Please sign in to comment.