@@ -7,7 +7,10 @@ import { useParams } from "react-router-dom";
77import { Accordion } from "@kleros/ui-components-library" ;
88
99import EthereumIcon from "svgs/icons/ethereum.svg" ;
10+ import EthereumVoteIcon from "svgs/icons/ethereum-vote.svg" ;
1011import 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" ;
1114import MinStake from "svgs/icons/min-stake.svg" ;
1215import PNKIcon from "svgs/icons/pnk.svg" ;
1316import PNKRedistributedIcon from "svgs/icons/redistributed-pnk.svg" ;
@@ -70,7 +73,6 @@ const StyledAllTimeText = styled.p`
7073 color: ${ ( { theme } ) => theme . primaryText } ;
7174 margin: 0;
7275 font-size: 14px;
73- font-weight: 600;
7476` ;
7577
7678const StyledChartIcon = styled ( ChartIcon ) `
@@ -79,6 +81,18 @@ const StyledChartIcon = styled(ChartIcon)`
7981 }
8082` ;
8183
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+
8296const AccordionContainer = styled . div `
8397 display: flex;
8498 flex-direction: column;
@@ -132,7 +146,7 @@ const stats: IStat[] = [
132146 } ,
133147 getSubtext : ( data , coinPrice ) => formatUSD ( Number ( formatUnitsWei ( data ?. feeForJuror ) ) * ( coinPrice ?? 0 ) ) ,
134148 color : "blue" ,
135- icon : EthereumIcon ,
149+ icon : StyledEthereumVoteIcon ,
136150 } ,
137151 {
138152 title : "PNK Staked" ,
@@ -146,7 +160,7 @@ const stats: IStat[] = [
146160 title : "Active Jurors" ,
147161 getText : ( data ) => data ?. numberStakedJurors ,
148162 color : "green" ,
149- icon : PNKRedistributedIcon ,
163+ icon : StyledJurorIcon ,
150164 } ,
151165 {
152166 title : "Cases" ,
@@ -158,10 +172,10 @@ const stats: IStat[] = [
158172 title : "In Progress" ,
159173 getText : ( data ) => data ?. numberDisputes - data ?. numberClosedDisputes ,
160174 color : "green" ,
161- icon : BalanceIcon ,
175+ icon : StyledBalanceWithHourglassIcon ,
162176 } ,
163177 {
164- title : "Total ETH paid" ,
178+ title : "ETH paid" ,
165179 coinId : 1 ,
166180 getText : ( data ) => `${ formatETH ( data ?. paidETH ) } ETH` ,
167181 getSubtext : ( data , coinPrice ) => formatUSD ( Number ( formatUnitsWei ( data ?. paidETH ) ) * ( coinPrice ?? 0 ) ) ,
0 commit comments