diff --git a/src/agent-page/Agents.js b/src/agent-page/Agents.js index cc9e9fe..d1e5343 100644 --- a/src/agent-page/Agents.js +++ b/src/agent-page/Agents.js @@ -4,22 +4,32 @@ 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) => { + /* const agentlist = agents.map((agent) => { */ return ( -
+
{} + - + - {agent.title} - {agent.name} + {t("Mike.Title")} + Michael - {agent.word} + {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 ( + /* }); */ + /* console.log(agentlist); */ + /* return (
{agentlist[0]}
@@ -46,6 +154,6 @@ const Agents = ({ agents }) => {
{agentlist[5]}
- ); + ); */ }; export default Agents;