@@ -5,6 +5,9 @@ import { NoirAppContext } from '../contexts'
55import { CompileOptions } from '@remix-ui/helper'
66import { compileNoirCircuit } from '../actions'
77
8+ const NOIR_VERSION = 'v1.0.0-beta.12'
9+ const BARRETENBERG_VERSION = 'v0.85.0'
10+
811export function Container ( ) {
912 const noirApp = useContext ( NoirAppContext )
1013
@@ -64,17 +67,27 @@ export function Container () {
6467 < article >
6568 < div className = "pt-0 noir_section" >
6669 < div className = "mb-1" >
67- < label className = "noir_label form-check-label" >
68- < FormattedMessage id = "noir.compiler" />
69- </ label >
70- < CustomTooltip
71- placement = "bottom"
72- tooltipId = "showNoirCompilerTooltip"
73- tooltipClasses = "text-nowrap"
74- tooltipText = 'See compiler license'
75- >
76- < span className = "far fa-file-certificate border-0 p-0 ms-2" onClick = { ( ) => showCompilerLicense ( ) } > </ span >
77- </ CustomTooltip >
70+ < div className = "d-flex align-items-center" >
71+ < label className = "noir_label form-check-label" >
72+ < FormattedMessage id = "noir.compiler" />
73+ </ label >
74+ < CustomTooltip
75+ placement = "bottom"
76+ tooltipId = "showNoirCompilerTooltip"
77+ tooltipClasses = "text-nowrap"
78+ tooltipText = 'See compiler license'
79+ >
80+ < span className = "far fa-file-certificate border-0 p-0 ms-2" onClick = { ( ) => showCompilerLicense ( ) } > </ span >
81+ </ CustomTooltip >
82+ < CustomTooltip
83+ placement = "bottom"
84+ tooltipId = "noirVersionTooltip"
85+ tooltipClasses = "text-nowrap"
86+ tooltipText = { `Using Noir ${ NOIR_VERSION } and Barretenberg ${ BARRETENBERG_VERSION } ` }
87+ >
88+ < span className = "text-muted small ms-2" > { NOIR_VERSION } </ span >
89+ </ CustomTooltip >
90+ </ div >
7891 { /* <CompileOptions setCircuitAutoCompile={handleCircuitAutoCompile} setCircuitHideWarnings={handleCircuitHideWarnings} autoCompile={noirApp.appState.autoCompile} hideWarnings={noirApp.appState.hideWarnings} /> */ }
7992 < hr > </ hr >
8093 < div >
0 commit comments