@@ -35,6 +35,7 @@ import {
3535} from './TopicTagSection' ;
3636import useTheme from '@material-ui/core/styles/useTheme' ;
3737import BottomSection from './BottomSection' ;
38+ import StepComponent from './StepComponent'
3839import { makeStyles } from '@material-ui/core/styles' ;
3940const useStyles = makeStyles ( ( theme ) => ( {
4041 containerPadding : {
@@ -48,6 +49,9 @@ const useStyles = makeStyles((theme) => ({
4849 padding : '0px 16px' ,
4950 } ,
5051 } ,
52+ stepGrid :{
53+ paddingTop : '50px' ,
54+ } ,
5155} ) ) ;
5256
5357/**
@@ -305,11 +309,15 @@ const TagCreator = () => {
305309 const OrgProjSection = ( ) => {
306310 return (
307311 < >
312+ < Grid className = { classes . stepGrid } >
313+ < StepComponent step = 'Step 1 of 4' stepHeading = 'Select Project Affiliation' />
314+ </ Grid >
308315 < OrgNameSection
309316 setDisplayState = { setDisplayState }
310317 orgName = { orgName }
311318 linkStyles = { linkStyles }
312319 />
320+ < StepComponent step = 'Step 2 of 4' stepHeading = 'Find Project' />
313321 < ProjectRepositorySection
314322 repositoryUrl = { fullRepositoryUrl }
315323 setDisplayState = { setDisplayState }
@@ -347,11 +355,15 @@ const TagCreator = () => {
347355 case 'ProjectUrl' :
348356 return (
349357 < >
358+ < Grid className = { classes . stepGrid } >
359+ < StepComponent step = 'Step 1 of 4' stepHeading = 'Select Project Affiliation' />
360+ </ Grid >
350361 < OrgNameSection
351362 setDisplayState = { setDisplayState }
352363 orgName = { orgName }
353364 linkStyles = { linkStyles }
354365 />
366+ < StepComponent step = 'Step 2 of 4' stepHeading = 'Find Project' />
355367 < ProjectRepositoryInput
356368 repositoryUrl = { repositoryUrl }
357369 handleEnter = { handleEnter }
@@ -376,6 +388,7 @@ const TagCreator = () => {
376388 currentTags = { currentTags }
377389 repositoryName = { repositoryName }
378390 />
391+ < StepComponent step = 'Step 3 of 4' stepHeading = 'Create Topic Tags' />
379392 < AddTagsQuestion
380393 userTags = { userTags }
381394 displayState = { displayState }
@@ -398,6 +411,7 @@ const TagCreator = () => {
398411 return (
399412 < >
400413 < OrgProjSection />
414+ < StepComponent step = 'Step 3 of 4' stepHeading = 'Create Topic Tags' />
401415 < CurrentTopicTagSection
402416 currentTags = { currentTags }
403417 repositoryName = { repositoryName }
@@ -420,6 +434,7 @@ const TagCreator = () => {
420434 return (
421435 < >
422436 < OrgProjSection />
437+ < StepComponent step = 'Step 3 of 4' stepHeading = 'Create Topic Tags' />
423438 < CurrentTopicTagSection
424439 currentTags = { currentTags }
425440 repositoryName = { repositoryName }
@@ -442,6 +457,7 @@ const TagCreator = () => {
442457 return (
443458 < >
444459 < OrgProjSection />
460+ < StepComponent step = 'Step 3 of 4' stepHeading = 'Create Topic Tags' />
445461 < CurrentTopicTagSection
446462 currentTags = { currentTags }
447463 repositoryName = { repositoryName }
@@ -459,6 +475,9 @@ const TagCreator = () => {
459475 default :
460476 return (
461477 < >
478+ < Grid className = { classes . stepGrid } >
479+ < StepComponent step = 'Step 1 of 4' stepHeading = 'Select Project Affiliation' />
480+ </ Grid >
462481 < AffiliationQuestionSection
463482 value = { value }
464483 handleChange = { handleChange }
0 commit comments