import React from "react"; /* import {Link} from 'react-router-dom' */ import Card from "react-bootstrap/Card"; import {Link} from 'react-router-dom' /* import Button from "react-bootstrap/Button"; */ import { useTranslation } from 'react-i18next'; import './agent-page.css'; import Agent1 from "../images/Agent1.jpg"; import Agent2 from "../images/Agent2.jpg"; import Agent3 from "../images/Agent3.jpg"; import Agent4 from "../images/Agent4.jpg"; import Agent5 from "../images/Agent5.jpg"; import Agent6 from "../images/Agent6.jpg"; import { withTranslation } from "react-i18next"; import { Container, Row, Col } from 'reactstrap'; const Agents = ({ agents }) => { const { t } = useTranslation(); /* const agentlist = agents.map((agent) => { */ return (
{} {t("Mike.Title")} Michael {t("Mike.Word")} {/*
*/}
{t("Regular")} Jin {t("Agent2.W")} {/*
*/}
{t("Regular")} Anita {t("Agent3.W")} {/*
*/}
{t("Regular")} Alex {t("Agent4.W")} {/*
*/}
{t("Regular")} Xuan {t("Agent5.W")} {/*
*/}
{t("Regular")} Walter {t("Agent6.W")} {/*
*/}
); /* }); */ /* console.log(agentlist); */ /* return (
{agentlist[0]}
{agentlist[1]}
{agentlist[2]}
{agentlist[3]}
{agentlist[4]}
{agentlist[5]}
); */ }; export default Agents;