File tree Expand file tree Collapse file tree 3 files changed +40
-0
lines changed Expand file tree Collapse file tree 3 files changed +40
-0
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ import { ReactComponent as Graph } from './assets/Graph.svg';
5858import { ReactComponent as GitCommit } from './assets/GitCommit.svg' ;
5959import { ReactComponent as ChatDots } from './assets/ChatDots.svg' ;
6060import { ReactComponent as Run } from './assets/Run.svg' ;
61+ import { ReactComponent as ImageBuilder } from './assets/ImageBuilder.svg' ;
6162// import { ReactComponent as Inprogress } from './assets/InProgress.svg';
6263// import { ReactComponent as Cached } from './assets/Cached.svg';
6364// import { ReactComponent as RightArrow } from './assets/RightArrow.svg';
@@ -187,6 +188,10 @@ const icons = {
187188 Component : ChartBarHorizontal ,
188189 useStroke : true ,
189190 } ) ,
191+ image_builder : createIcon ( {
192+ Component : ImageBuilder ,
193+ useStroke : true ,
194+ } ) ,
190195
191196 // paginations
192197 paginationFirst : createIcon ( { Component : PaginationFirst , useStroke : true } ) ,
Original file line number Diff line number Diff line change @@ -401,6 +401,34 @@ const Component = () => {
401401 </ Box >
402402 </ FlexBox >
403403 ) }
404+ { item === 'image_builder' && (
405+ < FlexBox
406+ onClick = { ( ) => selectSection ( item ) }
407+ style = { {
408+ ...sectionStyle ,
409+ background : formatSectionColor ( item ) ,
410+ } }
411+ marginTop = "sm"
412+ >
413+ < Box >
414+ < icons . image_builder
415+ color = {
416+ selectedComp === item
417+ ? iconColors . white
418+ : iconColors . primary
419+ }
420+ size = { iconSizes . md }
421+ />
422+ </ Box >
423+ < Box >
424+ < Paragraph
425+ style = { { color : formatTextColor ( item ) , ...textStyle } }
426+ >
427+ { formatText ( item ) }
428+ </ Paragraph >
429+ </ Box >
430+ </ FlexBox >
431+ ) }
404432 { console . log ( item , 'item' ) }
405433 { item !== 'data_validator' &&
406434 item !== 'step_operator' &&
@@ -413,6 +441,7 @@ const Component = () => {
413441 item !== 'container_registry' &&
414442 item !== 'annotator' &&
415443 item !== 'alerter' &&
444+ item !== 'image_builder' &&
416445 item !== 'artifact_store' && (
417446 < FlexBox
418447 onClick = { ( ) => selectSection ( item ) }
You can’t perform that action at this time.
0 commit comments