FeaturesSection.js 632 B

12345678910111213141516171819202122
  1. import './FeaturesSection.css'
  2. import FeatureBlock from "../FeatureBlock/FeatureBlock"
  3. import { data } from "../../data"
  4. function FeaturesSection() {
  5. return (
  6. <div className="featuresSection">
  7. <div className="innerFeaturesSection">
  8. {data.features.map((item) => {
  9. return <FeatureBlock
  10. icon={item.icon}
  11. title={item.title}
  12. text1={item.text1}
  13. text2={item.text2}
  14. />
  15. })}
  16. </div>
  17. </div>
  18. )
  19. }
  20. export default FeaturesSection;