@@ -50,7 +50,8 @@ import {
50
50
getTimeDifference ,
51
51
parseDate ,
52
52
singleProjectPageSteps ,
53
- truncateString
53
+ truncateString ,
54
+ parseRepoRoot
54
55
} from "../helpers/utils" ;
55
56
import Joyride , { STATUS } from "react-joyride" ;
56
57
import ScrollingAvatars from "../components/Avatars" ;
@@ -83,6 +84,7 @@ const ProjectPage: React.FC = () => {
83
84
const circuitsClean =
84
85
validatedProjectData . circuits ?. map ( ( circuit ) => ( {
85
86
template : circuit . data . template ,
87
+ compiler : circuit . data . compiler ,
86
88
name : circuit . data . name ,
87
89
description : circuit . data . description ,
88
90
constraints : circuit . data . metadata ?. constraints ,
@@ -489,7 +491,9 @@ const ProjectPage: React.FC = () => {
489
491
< Stat >
490
492
< StatLabel fontSize = { 12 } > Commit Hash</ StatLabel >
491
493
< StatNumber fontSize = { 16 } >
492
- { truncateString ( circuit . template . commitHash , 6 ) }
494
+ < a href = { `${ parseRepoRoot ( circuit . template . source ) } /tree/${ circuit . template . commitHash } ` } target = "_blank" >
495
+ { truncateString ( circuit . template . commitHash , 6 ) }
496
+ </ a >
493
497
</ StatNumber >
494
498
</ Stat >
495
499
< Stat >
@@ -500,6 +504,12 @@ const ProjectPage: React.FC = () => {
500
504
</ a >
501
505
</ StatNumber >
502
506
</ Stat >
507
+ < Stat >
508
+ < StatLabel fontSize = { 12 } > Compiler Version</ StatLabel >
509
+ < StatNumber fontSize = { 16 } >
510
+ { circuit . compiler . version }
511
+ </ StatNumber >
512
+ </ Stat >
503
513
</ SimpleGrid >
504
514
</ Box >
505
515
) ) }
0 commit comments