status of tutorial and belonging tasks

This commit is contained in:
Delucse
2020-09-11 17:31:06 +02:00
parent 825075d656
commit f19842ccae
7 changed files with 147 additions and 72 deletions
+2 -2
View File
@@ -43,7 +43,7 @@ class Tutorial extends Component {
<div>
<Breadcrumbs content={[{link: '/', title: 'Home'},{link: '/tutorial', title: 'Tutorial'}, {link: `/tutorial/${currentTutorialId}`, title: tutorial.title}]}/>
<StepperHorizontal />
<StepperHorizontal steps={steps}/>
<div style={{display: 'flex'}}>
<StepperVertical steps={steps}/>
@@ -52,7 +52,7 @@ class Tutorial extends Component {
{step ?
step.type === 'instruction' ?
<Instruction step={step}/>
: <Assessment step={step}/> // if step.type === 'assessment'
: <Assessment steps={steps} step={step}/> // if step.type === 'assessment'
: null}
<div style={{marginTop: '20px', position: 'absolute', bottom: '10px'}}>