import React from 'react'; //import thumb from '../../assets/images/PerformingTaskNew.png'; import thumb from '../../assets/images/PerformingTask2.jpg'; import getConfig from './../../Config/config' function TrafficHomeOne() { var site = getConfig()[0]; return (

{featuresContent.title}

{featuresContent.detail}

{featuresContent.list?.map(({ icon, header, paragraph }, idx) => (
{header}

{paragraph}

))} {/* */}
); } export default TrafficHomeOne; const featuresContent = { title: "on WrenchBoard.", detail: "Performing task on WrenchBoard is easy. All you need is a free account.", list: [ { icon: "fal fa-check", header: "Free account", paragraph: "Get family access from parents, or create your free account." }, { icon: "fal fa-check", header: "Suggest or Find Task", paragraph: "Suggest tasks to parents or pick from the market." }, { icon: "fal fa-check", header: "Complete Task", paragraph: "Complete the task as specified." }, { icon: "fal fa-check", header: "Reward", paragraph: "Get your reward as specified." }, ] }