File tree Expand file tree Collapse file tree 3 files changed +42
-1
lines changed Expand file tree Collapse file tree 3 files changed +42
-1
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ import InformationCard from '#components/InformationCard';
43
43
import areaSvg from '#resources/icons/area.svg' ;
44
44
import sceneSvg from '#resources/icons/scene.svg' ;
45
45
import featureSvg from '#resources/icons/feature.svg' ;
46
+ import validateImageSvg from '#resources/icons/validate-image.svg' ;
46
47
import {
47
48
ContributorTimeStatType ,
48
49
OrganizationSwipeStatsType ,
@@ -467,6 +468,10 @@ function StatsBoard(props: Props) {
467
468
( project ) => project . projectType === FOOTPRINT ,
468
469
) ?. totalSwipes ;
469
470
471
+ const validateImageTotalSwipes = swipeByProjectType ?. find (
472
+ ( project ) => project . projectType === VALIDATE_IMAGE ,
473
+ ) ?. totalSwipes ;
474
+
470
475
const organizationColors = scaleOrdinal < string , string | undefined > ( )
471
476
. domain ( totalSwipesByOrganizationStats ?. map (
472
477
( organization ) => ( organization . organizationName ) ,
@@ -717,6 +722,29 @@ function StatsBoard(props: Props) {
717
722
subHeading = "Compare"
718
723
variant = "stat"
719
724
/>
725
+ < InformationCard
726
+ icon = { (
727
+ < img
728
+ src = { validateImageSvg }
729
+ alt = "group icon"
730
+ />
731
+ ) }
732
+ value = { (
733
+ < NumberOutput
734
+ className = { styles . numberOutput }
735
+ value = { validateImageTotalSwipes }
736
+ normal
737
+ invalidText = { 0 }
738
+ />
739
+ ) }
740
+ label = { (
741
+ < div className = { styles . infoLabel } >
742
+ Images Validated
743
+ </ div >
744
+ ) }
745
+ subHeading = "Validate Image"
746
+ variant = "stat"
747
+ />
720
748
</ div >
721
749
< div className = { styles . overallStatsContainer } >
722
750
< InformationCard
Original file line number Diff line number Diff line change 67
67
> * {
68
68
flex-basis : 0 ;
69
69
flex-grow : 1 ;
70
- min-width : 12 rem ;
70
+ min-width : 24 rem ;
71
71
72
72
@media (max-width : 48rem ) {
73
73
min-width : 100% ;
You can’t perform that action at this time.
0 commit comments