Add provided step background images

This commit is contained in:
Dana Lambert 2021-11-09 15:29:18 +13:00
parent d5d029cd2f
commit 6711719908
15 changed files with 24 additions and 16 deletions

View file

@ -2,6 +2,7 @@ import Step from '../Step';
import SoilSelector from './SoilSelector';
import StepInformation from '../StepInformation';
import staticText from '../../../assets/data/staticText.json'
import soilBackgroundImage from '../../../assets/img/stepBackgrounds/step2.jpg';
export default function SoilVariantStep(props) {
const SOIL_DESCRIPTION = (<p>
@ -24,6 +25,6 @@ export default function SoilVariantStep(props) {
)
return (
<Step informationComponent={soilVarientInfoPanel} selectionComponent={soilVarientSelectionPanel} />
<Step informationComponent={soilVarientInfoPanel} selectionComponent={soilVarientSelectionPanel} backgroundImage={soilBackgroundImage} />
)
}