<reponame>annazhoufast/verdancy
{"ast":null,"code":"import _classCallCheck from\"/Users/annaqzhou/INFO/Capstone/verdancy-client/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/classCallCheck\";import _createClass from\"/Users/annaqzhou/INFO/Capstone/verdancy-client/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/createClass\";import _inherits from\"/Users/annaqzhou/INFO/Capstone/verdancy-client/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/inherits\";import _createSuper from\"/Users/annaqzhou/INFO/Capstone/verdancy-client/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/createSuper\";import React,{Component}from'react';import{Row,Container}from'react-bootstrap';import{IndividualSteps}from\"./IndividualSteps\";import{jsx as _jsx}from\"react/jsx-runtime\";import{jsxs as _jsxs}from\"react/jsx-runtime\";export var Steps=/*#__PURE__*/function(_React$Component){_inherits(Steps,_React$Component);var _super=_createSuper(Steps);function Steps(){_classCallCheck(this,Steps);return _super.apply(this,arguments);}_createClass(Steps,[{key:\"render\",value:function render(){var steps=require(\"../../data/homeSteps.json\");var s=[];for(var i=0;i<steps.length;i++){s.push(/*#__PURE__*/_jsx(IndividualSteps,{img:steps[i].Img,alt:steps[i].Alt,title:steps[i].Title,description:steps[i].Descr}));}return/*#__PURE__*/_jsx(\"section\",{className:\"green-background\",children:/*#__PURE__*/_jsx(\"div\",{className:\"container\",children:/*#__PURE__*/_jsx(Row,{children:/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"h2\",{children:\"three easy steps\"}),/*#__PURE__*/_jsx(\"br\",{}),/*#__PURE__*/_jsx(Row,{children:s})]})})})});}}]);return Steps;}(React.Component);","map":{"version":3,"sources":["/Users/annaqzhou/INFO/Capstone/verdancy-client/src/Components/HomePage/Steps.js"],"names":["React","Component","Row","Container","IndividualSteps","Steps","steps","require","s","i","length","push","Img","Alt","Title","Descr"],"mappings":"ooBAAA,MAAOA,CAAAA,KAAP,EAAeC,SAAf,KAA+B,OAA/B,CACA,OAAQC,GAAR,CAAaC,SAAb,KAA6B,iBAA7B,CACA,OAAQC,eAAR,KAA8B,mBAA9B,C,wFAGA,UAAaC,CAAAA,KAAb,oOACI,iBAAS,CACL,GAAIC,CAAAA,KAAK,CAAGC,OAAO,CAAC,2BAAD,CAAnB,CACA,GAAIC,CAAAA,CAAC,CAAG,EAAR,CACA,IAAK,GAAIC,CAAAA,CAAC,CAAG,CAAb,CAAgBA,CAAC,CAAGH,KAAK,CAACI,MAA1B,CAAkCD,CAAC,EAAnC,CAAuC,CACnCD,CAAC,CAACG,IAAF,cACI,KAAC,eAAD,EAAiB,GAAG,CAAEL,KAAK,CAACG,CAAD,CAAL,CAASG,GAA/B,CACgB,GAAG,CAAEN,KAAK,CAACG,CAAD,CAAL,CAASI,GAD9B,CAEgB,KAAK,CAAEP,KAAK,CAACG,CAAD,CAAL,CAASK,KAFhC,CAGgB,WAAW,CAAER,KAAK,CAACG,CAAD,CAAL,CAASM,KAHtC,EADJ,EAMH,CAED,mBACI,gBAAS,SAAS,CAAC,kBAAnB,uBACE,YAAK,SAAS,CAAC,WAAf,uBACE,KAAC,GAAD,wBACE,oCACE,wCADF,cAEE,aAFF,cAGE,KAAC,GAAD,WACKP,CADL,EAHF,GADF,EADF,EADF,EADJ,CAeH,CA5BL,mBAA2BR,KAAK,CAACC,SAAjC","sourcesContent":["import React, {Component} from 'react';\nimport {Row, Container} from 'react-bootstrap';\nimport {IndividualSteps} from \"./IndividualSteps\";\n\n\nexport class Steps extends React.Component {\n    render() {\n        var steps = require(\"../../data/homeSteps.json\");\n        let s = [];\n        for (let i = 0; i < steps.length; i++) {\n            s.push(\n                <IndividualSteps img={steps[i].Img}\n                                alt={steps[i].Alt}\n                                title={steps[i].Title}\n                                description={steps[i].Descr} />\n            );\n        }\n\n        return (\n            <section className=\"green-background\">\n              <div className=\"container\">\n                <Row>\n                  <div>\n                    <h2>three easy steps</h2>\n                    <br />\n                    <Row>\n                        {s}\n                    </Row>\n                  </div>\n                </Row>\n              </div>\n            </section>\n        )\n    }\n}\n"]},"metadata":{},"sourceType":"module"}