@@ -7,7 +7,10 @@ import { useParams } from "react-router-dom";
7
7
import { Accordion } from "@kleros/ui-components-library" ;
8
8
9
9
import EthereumIcon from "svgs/icons/ethereum.svg" ;
10
+ import EthereumVoteIcon from "svgs/icons/ethereum-vote.svg" ;
10
11
import BalanceIcon from "svgs/icons/law-balance.svg" ;
12
+ import BalanceWithHourglassIcon from "svgs/icons/law-balance-hourglass.svg" ;
13
+ import JurorIcon from "svgs/icons/user.svg" ;
11
14
import MinStake from "svgs/icons/min-stake.svg" ;
12
15
import PNKIcon from "svgs/icons/pnk.svg" ;
13
16
import PNKRedistributedIcon from "svgs/icons/redistributed-pnk.svg" ;
@@ -70,7 +73,6 @@ const StyledAllTimeText = styled.p`
70
73
color: ${ ( { theme } ) => theme . primaryText } ;
71
74
margin: 0;
72
75
font-size: 14px;
73
- font-weight: 600;
74
76
` ;
75
77
76
78
const StyledChartIcon = styled ( ChartIcon ) `
@@ -79,6 +81,18 @@ const StyledChartIcon = styled(ChartIcon)`
79
81
}
80
82
` ;
81
83
84
+ const StyledEthereumVoteIcon = styled ( EthereumVoteIcon ) `
85
+ height: 32px !important;
86
+ ` ;
87
+
88
+ const StyledJurorIcon = styled ( JurorIcon ) `
89
+ height: 15px !important;
90
+ ` ;
91
+
92
+ const StyledBalanceWithHourglassIcon = styled ( BalanceWithHourglassIcon ) `
93
+ height: 32px !important;
94
+ ` ;
95
+
82
96
const AccordionContainer = styled . div `
83
97
display: flex;
84
98
flex-direction: column;
@@ -132,7 +146,7 @@ const stats: IStat[] = [
132
146
} ,
133
147
getSubtext : ( data , coinPrice ) => formatUSD ( Number ( formatUnitsWei ( data ?. feeForJuror ) ) * ( coinPrice ?? 0 ) ) ,
134
148
color : "blue" ,
135
- icon : EthereumIcon ,
149
+ icon : StyledEthereumVoteIcon ,
136
150
} ,
137
151
{
138
152
title : "PNK Staked" ,
@@ -146,7 +160,7 @@ const stats: IStat[] = [
146
160
title : "Active Jurors" ,
147
161
getText : ( data ) => data ?. numberStakedJurors ,
148
162
color : "green" ,
149
- icon : PNKRedistributedIcon ,
163
+ icon : StyledJurorIcon ,
150
164
} ,
151
165
{
152
166
title : "Cases" ,
@@ -158,10 +172,10 @@ const stats: IStat[] = [
158
172
title : "In Progress" ,
159
173
getText : ( data ) => data ?. numberDisputes - data ?. numberClosedDisputes ,
160
174
color : "green" ,
161
- icon : BalanceIcon ,
175
+ icon : StyledBalanceWithHourglassIcon ,
162
176
} ,
163
177
{
164
- title : "Total ETH paid" ,
178
+ title : "ETH paid" ,
165
179
coinId : 1 ,
166
180
getText : ( data ) => `${ formatETH ( data ?. paidETH ) } ETH` ,
167
181
getSubtext : ( data , coinPrice ) => formatUSD ( Number ( formatUnitsWei ( data ?. paidETH ) ) * ( coinPrice ?? 0 ) ) ,
0 commit comments