import React, { useState } from 'react' import localImgLoad from '../../../../lib/localImgLoad' import img1 from '../../../../assets/images/modern01.png' import img2 from '../../../../assets/images/secure_data.png' import img3 from '../../../../assets/images/modern02.png' import img4 from '../../../../assets/images/modern03.png' const Main = ({gredient}) => { const [activeImg, setActiveImg] = useState(list[0].name) const changeActiveImg = (name) => { setActiveImg(name) } return ( <>
{gredient &&
image
}

Set Chores, Set Goals
Rewards Accomplishments

Set goals, tasks, or anything that motivates or needs to be done and reward completion. WrenchBoard is the platform plan rewards.

{list?.map(({ icon, header, paragraph, name }, idx) => (
changeActiveImg(name)} style={{cursor: 'pointer'}}>
{header}

{paragraph}

))}
image
{/* image */} image
image
) } export default Main const list = [ { icon: 'fal fa-check', header: 'Reward Goals Met', paragraph: 'Set goals together and reward accomplishment', name: 'reward-goals', }, { icon: 'fal fa-check', header: 'Assign Regular Chores', paragraph: 'Organize essential regular chores to be done', name: 'assign-chores', }, { icon: 'fal fa-check', header: 'Financial Education', paragraph: 'Get Kids start early on money management', name: 'financial-edu', }, { icon: 'fal fa-check', header: 'Family Connect', paragraph: 'Connect family, share accomplishments with friends', name: 'family-connect', }, ]