myprojectpackageprav
Version:
My package in npm
28 lines • 2.16 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
require("./pointsofcontacts.css");
var react_router_dom_1 = require("react-router-dom");
var poc_data_1 = require("./poc-data");
function PointsOfContacts() {
var pointsofcontactItems = poc_data_1.pointsofcontact.slice(0, 3).map(function (pocitems) {
return React.createElement("div", { className: "d-flex mb-3" },
React.createElement("div", { className: "POC-thumb m-0 me-2 align-items-center d-flex justify-content-center" }, pocitems.shortname),
React.createElement("div", { className: "sourcesanspro" },
React.createElement("p", { tabIndex: 0, "aria-label": pocitems.firstname + pocitems.lastname, className: "m-0 poppins-bold font-14" },
pocitems.firstname,
" ",
pocitems.lastname),
React.createElement("p", { tabIndex: 0, "aria-label": pocitems.desig, className: "m-0 subTitleGrey poppins-bold font-11" }, pocitems.desig),
React.createElement("p", { className: "m-0 d-flex align-items-center" },
React.createElement("span", { className: pocitems.iconmail }),
React.createElement(react_router_dom_1.Link, { to: "mailto: ".concat(pocitems.link), title: pocitems.mailid, className: "eMail subTitle font-12 ms-1" }, pocitems.mailid))));
});
return (React.createElement(React.Fragment, null,
React.createElement("div", { className: "card-header pb-0 d-flex justify-content-between align-items-center" },
React.createElement("div", { className: "d-flex mb-2 title-border" },
React.createElement("div", { tabIndex: 0, "aria-label": "Points of Contact", className: "poppins-bold font-14" }, "Points of Contact")),
React.createElement(react_router_dom_1.Link, { title: "View All", to: "/poc", className: "links-underline font-12 links" }, "View All")),
React.createElement("div", { className: "d-flex flex-column card-body" }, pointsofcontactItems)));
}
exports.default = PointsOfContacts;
//# sourceMappingURL=points-of-contacts.js.map