Commit 25234d7e authored by Linda's avatar Linda

add conditional alt attributes to ev3 landing page installation step

parent bf5a890a
......@@ -141,6 +141,11 @@ class EV3 extends ExtensionLanding {
<Step>
<div className="step-image">
<img
alt={this.props.intl.formatMessage({id: `${
this.state.OS === OS_ENUM.WINDOWS ?
'ev3.imgAltWaitForWindows' :
'ev3.imgAltEnterPasscodeMac'
}`})}
className="screenshot"
src={`/images/ev3/${
this.state.OS === OS_ENUM.WINDOWS ?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment