Commit ac36334d authored by Boni Guptam Kumar Rao's avatar Boni Guptam Kumar Rao

added delay to the components

parent c8b48adc
Pipeline #19952 passed with stage
in 2 minutes and 37 seconds
......@@ -31,7 +31,9 @@
],
"description": "",
"main": "index.js",
"devDependencies": {},
"devDependencies": {
"react-delay": "^0.1.0"
},
"repository": {
"type": "git",
"url": "https://code.swecha.org/KLUGLUG/water-cycle"
......
......@@ -133,8 +133,8 @@ Phase4() {
<Row>
<Col xs={8}>
{this.state.arrow2 ? <Delay wait={3000}> <A2Left /> </Delay> : null }
<Col xs={7}>
{this.state.arrow2 ? <Delay wait={1500}> <A2Left /> </Delay> : null }
</Col>
</Row>
......
......@@ -10,23 +10,20 @@ class A2Left extends Component {
<div>
<marquee direction={"left"} scrollamount={"100"}>
<marquee direction={"left"} scrollamount={"50"}>
<img src={a3} />
<img src={a3} />
<img src={a3} /><br />
<img src={a3} /> <br />
</marquee>
<marquee direction={"left"} scrollamount={"100"}>
<marquee direction={"left"} scrollamount={"50"}>
<img src={a3} />
<img src={a3} />
<img src={a3} /> <br />
</marquee>
<marquee direction={"left"} scrollamount={"100"}>
<img src={a3} />
<img src={a3} />
<img src={a3} />
</marquee>
</div>
);
......
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