UNPKG

@watheia/pwa.sections.support-page.global-enterprise

Version:
83 lines 6.14 kB
"use strict"; var __rest = (this && this.__rest) || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; } return t; }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.GlobalEnterprise = void 0; const react_1 = __importDefault(require("react")); const classnames_1 = __importDefault(require("classnames")); const base_ui_text_paragraph_1 = require("@watheia/base-ui.text.paragraph"); const base_ui_theme_sizes_1 = require("@watheia/base-ui.theme.sizes"); const base_ui_layout_align_1 = require("@watheia/base-ui.layout.align"); const base_ui_surfaces_card_1 = require("@watheia/base-ui.surfaces.card"); const base_ui_layout_grid_component_1 = require("@watheia/base-ui.layout.grid-component"); const base_ui_atoms_button_1 = require("@watheia/base-ui.atoms.button"); const base_ui_atoms_heading_1 = require("@watheia/base-ui.atoms.heading"); const base_ui_atoms_image_1 = require("@watheia/base-ui.atoms.image"); const global_enterprise_module_scss_1 = __importDefault(require("./global-enterprise.module.scss")); const base_ui_atoms_link_1 = require("@watheia/base-ui.atoms.link"); /** * Enterprise solution section for the Support offering page. * @name EcoSystem */ function GlobalEnterprise(_a) { var { className } = _a, rest = __rest(_a, ["className"]); const cards = [ { iconUrl: "support-page/support.svg", title: "Response time SLA", text: "We'll respond quick and with effective solutions to make sure you never slow down.", alt: "Bit - support time", }, { iconUrl: "support-page/bulb.svg", title: "Expert consultation", text: "We'll review and consult on building a great front-end infrastructure and design-system.", alt: "Bit - support consultation", }, { iconUrl: "support-page/team.svg", title: "Team on-boarding", text: "We'll get your team up and running with Bit components from zero to hero.", alt: "Bit - support team on-boarding", }, { iconUrl: "support-page/extensions.svg", title: "Custom extensions, integrations", text: "We’ll design and provide the solutions to root Bit into your enterprise ecosystem.", alt: "Bit - custom extensions and integrations", }, ]; return (react_1.default.createElement("div", Object.assign({ className: className }, rest, { "data-bit-id": "watheia.pwa/sections/support-page/global-enterprise" }), react_1.default.createElement("div", { className: classnames_1.default(global_enterprise_module_scss_1.default.topSection, base_ui_layout_align_1.marginCenter, base_ui_layout_align_1.text.center) }, react_1.default.createElement(base_ui_atoms_heading_1.H2, { size: base_ui_theme_sizes_1.PossibleSizes.sm }, "We support global enterprises"), react_1.default.createElement(base_ui_text_paragraph_1.Paragraph, { size: base_ui_theme_sizes_1.PossibleSizes.lg, className: global_enterprise_module_scss_1.default.paragraph }, "Microfrontends by Watheia Labs help global teams colaborate and standardize modern web development. We\u2019re here to help hands-on every step of the way."), react_1.default.createElement("div", { className: global_enterprise_module_scss_1.default.buttons }, react_1.default.createElement(base_ui_atoms_link_1.Link, { className: global_enterprise_module_scss_1.default.link, href: "https://watheia.io/support/" }, react_1.default.createElement(base_ui_atoms_button_1.Button, { className: global_enterprise_module_scss_1.default.button, importance: "cta" }, "Contact sales")), react_1.default.createElement("div", { className: global_enterprise_module_scss_1.default.spacer }), react_1.default.createElement(base_ui_atoms_link_1.Link, { className: global_enterprise_module_scss_1.default.link, href: "/enterprise" }, react_1.default.createElement(base_ui_atoms_button_1.Button, { className: global_enterprise_module_scss_1.default.button }, "We build micro frontends")))), react_1.default.createElement(base_ui_layout_grid_component_1.Grid, { colL: 2, className: classnames_1.default(base_ui_layout_align_1.text.center, base_ui_layout_align_1.text.l.left, global_enterprise_module_scss_1.default.mainGrid) }, cards.map((card, index) => (react_1.default.createElement(GlobalEnterpriseCard, { key: index, iconUrl: card.iconUrl, title: card.title, text: card.text, alt: card.alt })))))); } exports.GlobalEnterprise = GlobalEnterprise; function GlobalEnterpriseCard(_a) { var { iconUrl, title, text, alt, className } = _a, rest = __rest(_a, ["iconUrl", "title", "text", "alt", "className"]); return (react_1.default.createElement(base_ui_surfaces_card_1.Card, Object.assign({ elevation: "low", roundness: "medium", className: classnames_1.default(global_enterprise_module_scss_1.default.card, className) }, rest), react_1.default.createElement("div", { className: global_enterprise_module_scss_1.default.top }, react_1.default.createElement(base_ui_atoms_image_1.Image, { alt: alt, src: iconUrl, className: global_enterprise_module_scss_1.default.image }), react_1.default.createElement(base_ui_atoms_heading_1.H3, { size: base_ui_theme_sizes_1.PossibleSizes.xs, className: global_enterprise_module_scss_1.default.title }, title)), react_1.default.createElement(base_ui_text_paragraph_1.Paragraph, null, text))); } //# sourceMappingURL=global-enterprise.js.map