Skip to content

Commit 6e47eff

Browse files
committed
fix(web): court correct icons
1 parent 17323f7 commit 6e47eff

File tree

5 files changed

+16
-16
lines changed

5 files changed

+16
-16
lines changed

web/src/assets/svgs/icons/min-stake.svg

Lines changed: 1 addition & 1 deletion
Loading

web/src/assets/svgs/icons/user.svg

Lines changed: 1 addition & 1 deletion
Loading

web/src/assets/svgs/icons/vote-stake.svg

Lines changed: 1 addition & 2 deletions
Loading

web/src/components/StatDisplay.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ const SVGContainer = styled.div<{ iconColor: string; backgroundColor: string }>`
2323
2424
svg {
2525
fill: ${({ iconColor }) => iconColor};
26-
max-height: 22px;
27-
max-width: 22px;
26+
max-height: 32px;
27+
max-width: 32px;
2828
}
2929
`;
3030

web/src/pages/Courts/CourtDetails/Stats.tsx

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import PNKRedistributedIcon from "svgs/icons/redistributed-pnk.svg";
1010
import JurorIcon from "svgs/icons/user.svg";
1111
import BalanceIcon from "svgs/icons/law-balance.svg";
1212
import MinStake from "svgs/icons/min-stake.svg";
13+
import VoteStake from "svgs/icons/vote-stake.svg";
1314

1415
const StyledCard = styled.div`
1516
width: auto;
@@ -47,15 +48,15 @@ const stats: IStat[] = [
4748
(parseInt(utils.formatUnits(data?.minStake, 18)) * 0.029)
4849
.toFixed(2)
4950
.toString() + "$",
50-
color: "blue",
51-
icon: EthereumIcon,
51+
color: "purple",
52+
icon: VoteStake,
5253
},
5354
{
5455
title: "Active Jurors",
5556
getText: (data) => data?.numberStakedJurors,
5657
getSubtext: () => "",
57-
color: "purple",
58-
icon: PNKRedistributedIcon,
58+
color: "green",
59+
icon: JurorIcon,
5960
},
6061
{
6162
title: "PNK Staked",
@@ -64,8 +65,8 @@ const stats: IStat[] = [
6465
(parseInt(utils.formatUnits(data?.stake, 18)) * 0.029)
6566
.toFixed(2)
6667
.toString() + "$",
67-
color: "green",
68-
icon: JurorIcon,
68+
color: "purple",
69+
icon: PNKIcon,
6970
},
7071
{
7172
title: "Cases",
@@ -88,8 +89,8 @@ const stats: IStat[] = [
8889
(parseInt(utils.formatUnits(data?.paidETH, 18)) * 1600)
8990
.toFixed(2)
9091
.toString() + "$",
91-
color: "orange",
92-
icon: BalanceIcon,
92+
color: "blue",
93+
icon: EthereumIcon,
9394
},
9495
{
9596
title: "PNK redistributed",
@@ -98,8 +99,8 @@ const stats: IStat[] = [
9899
(parseInt(utils.formatUnits(data?.paidPNK, 18)) * 0.029)
99100
.toFixed(2)
100101
.toString() + "$",
101-
color: "orange",
102-
icon: BalanceIcon,
102+
color: "purple",
103+
icon: PNKRedistributedIcon,
103104
},
104105
];
105106

0 commit comments

Comments
 (0)