Skip to content

Commit

Permalink
Merge pull request #202 from the-standard/202404-snagging
Browse files Browse the repository at this point in the history
202404 snagging
  • Loading branch information
ZakMooney authored Apr 22, 2024
2 parents 385069a + a44a359 commit a00315c
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 2 deletions.
21 changes: 21 additions & 0 deletions src/components/staking/StakingLiquidations.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ import paxglogo from "../../assets/paxglogo.svg";
import arblogo from "../../assets/arblogo.svg";
import seurologo from "../../assets/EUROs.svg";
import tstlogo from "../../assets/standardiologoicon.svg";
import gmxlogo from "../../assets/gmxlogo.svg";
import rdntlogo from "../../assets/rdntlogo.svg";
import sushilogo from "../../assets/sushilogo.svg";

function NoDataOverlay() {
return (
Expand Down Expand Up @@ -172,6 +175,24 @@ const StakingLiquidations: React.FC<StakingLiquidationsProps> = ({
src={paxglogo}
alt="paxg logo"
/>
) : symbol === "GMX" ? (
<img
style={{ height: "2rem", width: "2rem" }}
src={gmxlogo}
alt="gmx logo"
/>
) : symbol === "RDNT" ? (
<img
style={{ height: "2rem", width: "2rem" }}
src={rdntlogo}
alt="rdnt logo"
/>
) : symbol === "SUSHI" ? (
<img
style={{ height: "2rem", width: "2rem" }}
src={sushilogo}
alt="sushi logo"
/>
) : (
<Box sx={{height: "2rem", width: "2rem"}}>
</Box>
Expand Down
22 changes: 21 additions & 1 deletion src/components/staking/StakingStakedAssets.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ import paxglogo from "../../assets/paxglogo.svg";
import arblogo from "../../assets/arblogo.svg";
import seurologo from "../../assets/EUROs.svg";
import tstlogo from "../../assets/standardiologoicon.svg";

import gmxlogo from "../../assets/gmxlogo.svg";
import rdntlogo from "../../assets/rdntlogo.svg";
import sushilogo from "../../assets/sushilogo.svg";

interface StakingStakedAssetsProps {
stakingPositionsData: Array<any>;
Expand Down Expand Up @@ -134,6 +136,24 @@ const StakingStakedAssets: React.FC<StakingStakedAssetsProps> = ({
src={paxglogo}
alt="paxg logo"
/>
) : symbol === "GMX" ? (
<img
style={{ height: "2rem", width: "2rem" }}
src={gmxlogo}
alt="gmx logo"
/>
) : symbol === "RDNT" ? (
<img
style={{ height: "2rem", width: "2rem" }}
src={rdntlogo}
alt="rdnt logo"
/>
) : symbol === "SUSHI" ? (
<img
style={{ height: "2rem", width: "2rem" }}
src={sushilogo}
alt="sushi logo"
/>
) : (
<Box sx={{height: "2rem", width: "2rem"}}>
</Box>
Expand Down
14 changes: 13 additions & 1 deletion src/components/staking/VolumeChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,19 @@ const VolumeChart: React.FC<VolumeChartProps> = ({ chartData }) => {
setData(useData);
}, [chartData]);

const colours = ['#8b4df9', '#f8e223', '#008FFB', '#00E396', '#e91e63', '#008FFB', '#00E396', '#CED4DC'];
const colours = [
'#8b4df9',
'#48e9b9',
'#f8e223',
'#008FFB',
'#e91e63',
'#CED4DC',
'#65e840',
'#e447c2',
'#ee6f0f',
'#48e9b9',
'#ea482b',
];

return (
<Box sx={{
Expand Down

0 comments on commit a00315c

Please sign in to comment.