44 lines
1.2 KiB
JavaScript
44 lines
1.2 KiB
JavaScript
import React, { Component } from 'react'
|
|
import { connect } from 'react-redux'
|
|
import './Simu.css'
|
|
import TargetSelection from './TargetSelection'
|
|
import withColours from './withColours'
|
|
import Conversation from './conversation/Conversation'
|
|
import ProgressTip from './ProgressTip'
|
|
import FoldedSteps, { GoToAnswers } from './conversation/FoldedSteps'
|
|
//import Explanation from './Explanation'
|
|
import GoToExplanations from './GoToExplanations'
|
|
import ProgressTip from './ProgressTip'
|
|
import Sondage from './Sondage'
|
|
import TargetSelection from './TargetSelection'
|
|
import withColours from './withColours'
|
|
|
|
@withColours
|
|
@connect(state => ({
|
|
conversationStarted: state.conversationStarted
|
|
}))
|
|
export default class Simu extends Component {
|
|
render() {
|
|
let { colours, conversationStarted } = this.props
|
|
|
|
return (
|
|
<div id="simu">
|
|
<div id="focusZone">
|
|
<FoldedSteps />
|
|
{/*<GoToAnswers />*/}
|
|
<TargetSelection colours={colours} />
|
|
{conversationStarted && (
|
|
<>
|
|
<ProgressTip />
|
|
<Conversation textColourOnWhite={colours.textColourOnWhite} />
|
|
</>
|
|
)}
|
|
{/*<GoToExplanations />*/}
|
|
</div>
|
|
{/* <Explanation /> */}
|
|
<Sondage />
|
|
</div>
|
|
)
|
|
}
|
|
}
|