import React from 'react'; import { withNamespaces, WithNamespaces } from 'react-i18next'; import SubmitIcon from 'static/images/guide-submit.svg'; import ReviewIcon from 'static/images/guide-review.svg'; import CommunityIcon from 'static/images/guide-community.svg'; import CompleteIcon from 'static/images/guide-complete.svg'; import './Guide.less'; const HomeGuide: React.SFC = ({ t }) => { const items = [ { text: t('home.guide.submit'), icon: , }, { text: t('home.guide.review'), icon: , }, { text: t('home.guide.community'), icon: , }, { text: t('home.guide.complete'), icon: , }, ]; return (

{t('home.guide.title')}

{items.map((item, idx) => (
{item.text}
{item.icon}
))}
); }; export default withNamespaces()(HomeGuide);