import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import "./style.scss";
const CompanyViewSummary = ({ about = "", industries = [], employeeCount = 0, websiteUrl = "", headquarter = "", }) => {
    return (_jsxs("div", { className: "companyViewSummary--Generic", children: [_jsxs("div", { className: "companyViewSummary-HeadingAndContent", children: [_jsx("h2", { children: "About" }), _jsx("p", { children: about })] }), _jsxs("div", { className: "companyViewSummary-HeadingAndContent", children: [_jsx("h2", { children: "Industries" }), _jsx("p", { children: industries?.join(", ") })] }), _jsxs("div", { className: "companyViewSummary-HeadingAndContent", children: [_jsx("h2", { children: "Company Size" }), employeeCount && employeeCount !== 0 ? (_jsxs("p", { children: [employeeCount, " Employees"] })) : ("Not Available")] }), _jsxs("div", { className: "companyViewSummary-HeadingAndContent", children: [_jsx("h2", { children: "Website" }), _jsx("a", { href: websiteUrl, target: "_blank", children: websiteUrl })] }), _jsxs("div", { className: "companyViewSummary-HeadingAndContent", children: [_jsx("h2", { children: "Headquarter" }), _jsx("p", { children: headquarter })] })] }));
};
export default CompanyViewSummary;
