@axos-web-dev/shared-components 0.0.57 → 0.0.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Article/Article.css.d.ts +230 -0
- package/dist/Article/Article.css.js +21 -0
- package/dist/Article/Article.d.ts +14 -0
- package/dist/Article/Article.js +51 -0
- package/dist/Article/index.d.ts +2 -0
- package/dist/Article/index.js +12 -0
- package/dist/ArticlesSet/ArticlesSet.css.d.ts +155 -0
- package/dist/ArticlesSet/ArticlesSet.css.js +21 -0
- package/dist/ArticlesSet/ArticlesSet.d.ts +12 -0
- package/dist/ArticlesSet/ArticlesSet.js +115 -0
- package/dist/ArticlesSet/index.d.ts +2 -0
- package/dist/ArticlesSet/index.js +12 -0
- package/dist/AwardsBanner/AwardsBanner.css.d.ts +2 -0
- package/dist/AwardsBanner/AwardsBanner.css.js +7 -0
- package/dist/AwardsBanner/AwardsBanner.d.ts +8 -0
- package/dist/AwardsBanner/AwardsBanner.js +18 -0
- package/dist/AwardsBanner/index.d.ts +2 -0
- package/dist/AwardsBanner/index.js +7 -0
- package/dist/AwardsItem/AwardsItem.css.d.ts +3 -0
- package/dist/AwardsItem/AwardsItem.css.js +10 -0
- package/dist/AwardsItem/AwardsItem.d.ts +9 -0
- package/dist/AwardsItem/AwardsItem.js +29 -0
- package/dist/AwardsItem/index.d.ts +2 -0
- package/dist/AwardsItem/index.js +8 -0
- package/dist/Carousel/index.js +5 -0
- package/dist/Chevron/index.js +6 -1
- package/dist/ExecutiveBio/ExecutiveBio.css.d.ts +1 -39
- package/dist/ExecutiveBio/ExecutiveBio.css.js +12 -10
- package/dist/ExecutiveBio/ExecutiveBio.d.ts +1 -1
- package/dist/ExecutiveBio/ExecutiveBio.interface.d.ts +4 -2
- package/dist/ExecutiveBio/ExecutiveBio.js +104 -46
- package/dist/ExecutiveBio/ExecutiveBioSet.d.ts +1 -1
- package/dist/ExecutiveBio/ExecutiveBioSet.js +22 -128
- package/dist/ExecutiveBio/index.js +2 -1
- package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +6 -1
- package/dist/Forms/ApplicationStart.js +1 -0
- package/dist/Forms/ContactCompany.d.ts +25 -0
- package/dist/Forms/ContactCompany.js +190 -0
- package/dist/Forms/ContactUsBusiness.js +5 -0
- package/dist/Forms/DealerServices.d.ts +32 -0
- package/dist/Forms/DealerServices.js +311 -0
- package/dist/Forms/EmailOnly.js +5 -0
- package/dist/Forms/RenderForm.js +5 -0
- package/dist/Forms/ScheduleCall.js +1 -0
- package/dist/Forms/ScheduleCallPremier.js +1 -0
- package/dist/Forms/SuccesForm.d.ts +7 -3
- package/dist/Forms/SuccesForm.js +76 -61
- package/dist/Forms/index.d.ts +2 -0
- package/dist/Forms/index.js +4 -0
- package/dist/Hyperlink/index.js +6 -1
- package/dist/ImageLink/ImageLink.js +5 -0
- package/dist/ImageLink/ImageLinkSet.js +5 -0
- package/dist/ImageLink/index.js +6 -1
- package/dist/Input/CurrencyInput.js +1 -0
- package/dist/Input/InputPhone.js +1 -0
- package/dist/Input/InputTextArea.d.ts +16 -0
- package/dist/Input/InputTextArea.js +48 -0
- package/dist/Input/index.d.ts +1 -0
- package/dist/Input/index.js +2 -0
- package/dist/Modal/Modal.js +6 -1
- package/dist/SetContainer/SetContainer.js +5 -0
- package/dist/assets/Article/Article.css +243 -0
- package/dist/assets/ArticlesSet/ArticlesSet.css +234 -0
- package/dist/assets/AwardsBanner/AwardsBanner.css +19 -0
- package/dist/assets/AwardsItem/AwardsItem.css +40 -0
- package/dist/assets/ExecutiveBio/ExecutiveBio.css +61 -65
- package/dist/main.d.ts +4 -0
- package/dist/main.js +39 -1
- package/package.json +1 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsx, Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { AwardsItem } from "../AwardsItem/AwardsItem.js";
|
|
3
|
+
import { awards_section, awards_row } from "./AwardsBanner.css.js";
|
|
4
|
+
const AwardsBanner = ({ id, awardsItems }) => {
|
|
5
|
+
return /* @__PURE__ */ jsx("section", { className: awards_section, id: `id_${id}`, children: /* @__PURE__ */ jsx("div", { className: "containment", children: /* @__PURE__ */ jsx("div", { className: `${awards_row} flex middle mobile`, children: awardsItems?.map((award, index) => /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(
|
|
6
|
+
AwardsItem,
|
|
7
|
+
{
|
|
8
|
+
id: `id_${id}`,
|
|
9
|
+
starRating: award?.starRating,
|
|
10
|
+
awardsName: award?.awardsName,
|
|
11
|
+
awardsSource: award?.awardsSource
|
|
12
|
+
},
|
|
13
|
+
index
|
|
14
|
+
) })) }) }) });
|
|
15
|
+
};
|
|
16
|
+
export {
|
|
17
|
+
AwardsBanner
|
|
18
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import { award_item, award_name, award_company } from "./AwardsItem.css.js";
|
|
3
|
+
const AwardsItem = ({
|
|
4
|
+
id,
|
|
5
|
+
starRating,
|
|
6
|
+
awardsName,
|
|
7
|
+
awardsSource
|
|
8
|
+
}) => {
|
|
9
|
+
let rating;
|
|
10
|
+
switch (starRating) {
|
|
11
|
+
case "5.0 Stars":
|
|
12
|
+
rating = "https://images.axos.com/o9ov1v03uwqk/2fdRGVo32cUTltS5a0QKkF/9e3d0ce07b648fad2de7177bb7685f39/5-stars.svg";
|
|
13
|
+
break;
|
|
14
|
+
case "4.5 Stars":
|
|
15
|
+
rating = "https://images.axos.com/o9ov1v03uwqk/5kDSlcD0nHPpfsO2d9MXmj/680304bee0f48365388a9b43b0ec9aab/4point5-stars.svg";
|
|
16
|
+
break;
|
|
17
|
+
case "4.0 Stars":
|
|
18
|
+
rating = "https://images.axos.com/o9ov1v03uwqk/7qNXIOMTzaDfPhCAlXP41u/2a7d54670fb94594994a2beb3b3c00fc/4-stars.svg";
|
|
19
|
+
break;
|
|
20
|
+
}
|
|
21
|
+
return /* @__PURE__ */ jsxs("div", { className: `${award_item} text_center`, id: `id_${id}`, children: [
|
|
22
|
+
starRating && /* @__PURE__ */ jsx("img", { src: rating, alt: "", role: "presentation" }),
|
|
23
|
+
/* @__PURE__ */ jsx("p", { className: award_name, children: awardsName }),
|
|
24
|
+
/* @__PURE__ */ jsx("p", { className: award_company, children: awardsSource })
|
|
25
|
+
] });
|
|
26
|
+
};
|
|
27
|
+
export {
|
|
28
|
+
AwardsItem
|
|
29
|
+
};
|
package/dist/Carousel/index.js
CHANGED
|
@@ -22,6 +22,10 @@ import React, { useEffect, Children, cloneElement } from "react";
|
|
|
22
22
|
import "../Button/Button.css.js";
|
|
23
23
|
import "react-use";
|
|
24
24
|
/* empty css */
|
|
25
|
+
import "../Article/Article.css.js";
|
|
26
|
+
import "../ArticlesSet/ArticlesSet.css.js";
|
|
27
|
+
/* empty css */
|
|
28
|
+
/* empty css */
|
|
25
29
|
/* empty css */
|
|
26
30
|
/* empty css */
|
|
27
31
|
import "../HeroBanner/HeroBanner.css.js";
|
|
@@ -39,6 +43,7 @@ import "../Input/Dropdown.js";
|
|
|
39
43
|
import "../Input/Input.js";
|
|
40
44
|
import "../Input/Input.css.js";
|
|
41
45
|
import "../Input/InputPhone.js";
|
|
46
|
+
import "../Input/InputTextArea.js";
|
|
42
47
|
import "react-hook-form";
|
|
43
48
|
import "../Forms/Forms.css.js";
|
|
44
49
|
import "../Forms/SalesforceFieldsForm.js";
|
package/dist/Chevron/index.js
CHANGED
|
@@ -18,8 +18,12 @@ import "react";
|
|
|
18
18
|
import "../Button/Button.css.js";
|
|
19
19
|
import "react-use";
|
|
20
20
|
/* empty css */
|
|
21
|
-
import "../
|
|
21
|
+
import "../Article/Article.css.js";
|
|
22
|
+
import "../ArticlesSet/ArticlesSet.css.js";
|
|
23
|
+
/* empty css */
|
|
22
24
|
/* empty css */
|
|
25
|
+
/* empty css */
|
|
26
|
+
import "../IconBillboard/IconBillboard.css.js";
|
|
23
27
|
/* empty css */
|
|
24
28
|
/* empty css */
|
|
25
29
|
import "../Carousel/index.js";
|
|
@@ -39,6 +43,7 @@ import "../Input/Dropdown.js";
|
|
|
39
43
|
import "../Input/Input.js";
|
|
40
44
|
import "../Input/Input.css.js";
|
|
41
45
|
import "../Input/InputPhone.js";
|
|
46
|
+
import "../Input/InputTextArea.js";
|
|
42
47
|
import "react-hook-form";
|
|
43
48
|
import "../Forms/Forms.css.js";
|
|
44
49
|
import "../Forms/SalesforceFieldsForm.js";
|
|
@@ -88,6 +88,7 @@ export declare const contact_entry: import('@vanilla-extract/recipes').RuntimeFn
|
|
|
88
88
|
};
|
|
89
89
|
}>;
|
|
90
90
|
export declare const contacts: string;
|
|
91
|
+
export declare const contact_links: string;
|
|
91
92
|
export declare const headshot: string;
|
|
92
93
|
export declare const img_area: string;
|
|
93
94
|
export declare const media: string;
|
|
@@ -101,51 +102,12 @@ export declare const section_theme: import('@vanilla-extract/recipes').RuntimeFn
|
|
|
101
102
|
};
|
|
102
103
|
secondary: {
|
|
103
104
|
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
104
|
-
paddingTop: "56px";
|
|
105
|
-
paddingBottom: "56px";
|
|
106
|
-
marginTop: number;
|
|
107
|
-
"@media": {
|
|
108
|
-
"(max-width: 1023px)": {
|
|
109
|
-
paddingTop: "42px";
|
|
110
|
-
paddingBottom: "42px";
|
|
111
|
-
};
|
|
112
|
-
"(max-width: 768px)": {
|
|
113
|
-
paddingTop: "32px";
|
|
114
|
-
paddingBottom: "32px";
|
|
115
|
-
};
|
|
116
|
-
};
|
|
117
105
|
};
|
|
118
106
|
tertiary: {
|
|
119
107
|
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
120
|
-
paddingTop: "56px";
|
|
121
|
-
paddingBottom: "56px";
|
|
122
|
-
marginTop: number;
|
|
123
|
-
"@media": {
|
|
124
|
-
"(max-width: 1023px)": {
|
|
125
|
-
paddingTop: "42px";
|
|
126
|
-
paddingBottom: "42px";
|
|
127
|
-
};
|
|
128
|
-
"(max-width: 768px)": {
|
|
129
|
-
paddingTop: "32px";
|
|
130
|
-
paddingBottom: "32px";
|
|
131
|
-
};
|
|
132
|
-
};
|
|
133
108
|
};
|
|
134
109
|
quaternary: {
|
|
135
110
|
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
136
|
-
paddingTop: "56px";
|
|
137
|
-
paddingBottom: "56px";
|
|
138
|
-
marginTop: number;
|
|
139
|
-
"@media": {
|
|
140
|
-
"(max-width: 1023px)": {
|
|
141
|
-
paddingTop: "42px";
|
|
142
|
-
paddingBottom: "42px";
|
|
143
|
-
};
|
|
144
|
-
"(max-width: 768px)": {
|
|
145
|
-
paddingTop: "32px";
|
|
146
|
-
paddingBottom: "32px";
|
|
147
|
-
};
|
|
148
|
-
};
|
|
149
111
|
};
|
|
150
112
|
};
|
|
151
113
|
}>;
|
|
@@ -13,22 +13,24 @@ var padding = "txcb8dm";
|
|
|
13
13
|
var copy = "txcb8dn";
|
|
14
14
|
var contact_entry = createRuntimeFn({ defaultClassName: "txcb8do", variantClassNames: { variant: { primary: "txcb8dp", secondary: "txcb8dq", tertiary: "txcb8dr", quaternary: "txcb8ds" } }, defaultVariants: {}, compoundVariants: [] });
|
|
15
15
|
var contacts = "txcb8dt";
|
|
16
|
-
var
|
|
17
|
-
var
|
|
18
|
-
var
|
|
19
|
-
var
|
|
20
|
-
var
|
|
21
|
-
var
|
|
22
|
-
var
|
|
23
|
-
var
|
|
24
|
-
var
|
|
25
|
-
var
|
|
16
|
+
var contact_links = "txcb8du";
|
|
17
|
+
var headshot = "txcb8dv";
|
|
18
|
+
var img_area = "txcb8dw";
|
|
19
|
+
var media = "txcb8dx";
|
|
20
|
+
var person = "txcb8dy";
|
|
21
|
+
var shift = "txcb8dz";
|
|
22
|
+
var bio_section_text = "txcb8d10";
|
|
23
|
+
var section_theme = createRuntimeFn({ defaultClassName: "txcb8d11", variantClassNames: { variant: { primary: "txcb8d12", secondary: "txcb8d13", tertiary: "txcb8d14", quaternary: "txcb8d15" } }, defaultVariants: {}, compoundVariants: [] });
|
|
24
|
+
var header_theme = createRuntimeFn({ defaultClassName: "txcb8d16", variantClassNames: { variant: { primary: "txcb8d17", secondary: "txcb8d18", tertiary: "txcb8d19", quaternary: "txcb8d1a" } }, defaultVariants: {}, compoundVariants: [] });
|
|
25
|
+
var components = "txcb8d1b";
|
|
26
|
+
var details = "txcb8d1c";
|
|
26
27
|
export {
|
|
27
28
|
bio_name,
|
|
28
29
|
bio_section_text,
|
|
29
30
|
components,
|
|
30
31
|
contact_col,
|
|
31
32
|
contact_entry,
|
|
33
|
+
contact_links,
|
|
32
34
|
contacts,
|
|
33
35
|
copy,
|
|
34
36
|
description,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ExecutiveBioProps as Props } from './ExecutiveBio.interface';
|
|
2
2
|
|
|
3
|
-
export declare const ExecutiveBio: ({ id, executiveName, executiveTitle, executiveBodyCopy, executiveEmailAddress, executivePhoneNumber, executiveHeadshot, variant: fullVariant, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const ExecutiveBio: ({ id, executiveName, executiveTitle, executiveBodyCopy, executiveEmailAddress, executivePhoneNumber, executiveLinkedIn, executiveWebsite, executiveHeadshot, variant: fullVariant, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -16,7 +16,9 @@ export interface ExecutiveBioProps {
|
|
|
16
16
|
executiveName: string;
|
|
17
17
|
executiveTitle: string;
|
|
18
18
|
executiveBodyCopy?: string | ReactNode;
|
|
19
|
-
executiveEmailAddress
|
|
20
|
-
executivePhoneNumber
|
|
19
|
+
executiveEmailAddress?: string;
|
|
20
|
+
executivePhoneNumber?: string;
|
|
21
|
+
executiveLinkedIn?: string;
|
|
22
|
+
executiveWebsite?: string;
|
|
21
23
|
executiveHeadshot?: ImageInterface;
|
|
22
24
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { getVariant } from "../utils/getVariant.js";
|
|
3
|
-
import { padding, item_bio, shift, media, headshot, img_area, description, person, bio_name, job_title, copy, contacts, contact_col, svg_icon, contact_entry } from "./ExecutiveBio.css.js";
|
|
3
|
+
import { padding, item_bio, shift, media, headshot, img_area, description, person, bio_name, job_title, copy, contacts, contact_col, svg_icon, contact_entry, contact_links } from "./ExecutiveBio.css.js";
|
|
4
4
|
const ExecutiveBio = ({
|
|
5
5
|
id,
|
|
6
6
|
executiveName,
|
|
@@ -8,6 +8,8 @@ const ExecutiveBio = ({
|
|
|
8
8
|
executiveBodyCopy,
|
|
9
9
|
executiveEmailAddress,
|
|
10
10
|
executivePhoneNumber,
|
|
11
|
+
executiveLinkedIn,
|
|
12
|
+
executiveWebsite,
|
|
11
13
|
executiveHeadshot,
|
|
12
14
|
variant: fullVariant = "primary"
|
|
13
15
|
}) => {
|
|
@@ -30,52 +32,108 @@ const ExecutiveBio = ({
|
|
|
30
32
|
/* @__PURE__ */ jsx("h3", { className: `${job_title({ variant })}`, children: executiveTitle }),
|
|
31
33
|
/* @__PURE__ */ jsx("div", { className: copy, children: executiveBodyCopy })
|
|
32
34
|
] }),
|
|
33
|
-
(executiveEmailAddress || executivePhoneNumber) && /* @__PURE__ */
|
|
34
|
-
executivePhoneNumber && /* @__PURE__ */ jsxs("div", { className:
|
|
35
|
-
/* @__PURE__ */
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
"
|
|
45
|
-
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
35
|
+
(executiveEmailAddress || executivePhoneNumber || executiveLinkedIn || executiveWebsite) && /* @__PURE__ */ jsxs("div", { className: `${contacts} flex between push_up_24`, children: [
|
|
36
|
+
(executivePhoneNumber || executiveEmailAddress) && /* @__PURE__ */ jsxs("div", { className: contact_col, children: [
|
|
37
|
+
executivePhoneNumber && /* @__PURE__ */ jsxs("div", { className: "flex middle", children: [
|
|
38
|
+
/* @__PURE__ */ jsx(
|
|
39
|
+
"svg",
|
|
40
|
+
{
|
|
41
|
+
width: "24",
|
|
42
|
+
height: "24",
|
|
43
|
+
viewBox: "0 0 24 24",
|
|
44
|
+
fill: "none",
|
|
45
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
46
|
+
"aria-hidden": "true",
|
|
47
|
+
children: /* @__PURE__ */ jsx(
|
|
48
|
+
"path",
|
|
49
|
+
{
|
|
50
|
+
"fill-rule": "evenodd",
|
|
51
|
+
"clip-rule": "evenodd",
|
|
52
|
+
d: "M5.25 4.5C5.25 2.84315 6.59315 1.5 8.25 1.5H15.75C17.4069 1.5 18.75 2.84315 18.75 4.5V19.5C18.75 21.1569 17.4069 22.5 15.75 22.5H8.25C6.59315 22.5 5.25 21.1569 5.25 19.5V4.5ZM6.75 4.5C6.75 3.67157 7.42157 3 8.25 3C8.25 3.82843 8.92157 4.5 9.75 4.5H14.25C15.0784 4.5 15.75 3.82843 15.75 3C16.5784 3 17.25 3.67157 17.25 4.5V19.5C17.25 20.3284 16.5784 21 15.75 21H8.25C7.42157 21 6.75 20.3284 6.75 19.5V4.5Z",
|
|
53
|
+
fill: "#1E3860",
|
|
54
|
+
className: svg_icon({ variant })
|
|
55
|
+
}
|
|
56
|
+
)
|
|
57
|
+
}
|
|
58
|
+
),
|
|
59
|
+
/* @__PURE__ */ jsx("div", { className: contact_entry({ variant }), children: /* @__PURE__ */ jsx("a", { href: `tel:${executivePhoneNumber}`, children: executivePhoneNumber }) })
|
|
60
|
+
] }),
|
|
61
|
+
executiveEmailAddress && /* @__PURE__ */ jsxs("div", { className: "flex middle", children: [
|
|
62
|
+
/* @__PURE__ */ jsx(
|
|
63
|
+
"svg",
|
|
64
|
+
{
|
|
65
|
+
width: "24",
|
|
66
|
+
height: "24",
|
|
67
|
+
viewBox: "0 0 24 24",
|
|
68
|
+
fill: "none",
|
|
69
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
70
|
+
"aria-hidden": "true",
|
|
71
|
+
children: /* @__PURE__ */ jsx(
|
|
72
|
+
"path",
|
|
73
|
+
{
|
|
74
|
+
d: "M21 4.5C21.8284 4.5 22.5 5.17157 22.5 6V18C22.5 18.8284 21.8284 19.5 21 19.5H3C2.17157 19.5 1.5 18.8284 1.5 18V6C1.5 5.17157 2.17157 4.5 3 4.5H21ZM14.3932 12.455L14.1963 12.6098C12.8873 13.5569 11.1127 13.5569 9.80369 12.6098L9.60517 12.455L4.059 18H19.9395L14.3932 12.455ZM21 6.8655L15.5437 11.483L21 16.9395V6.8655ZM3 6.867V16.938L8.45467 11.483L3 6.867ZM19.701 6H4.2975L10.5466 11.2878C11.3296 11.9503 12.4523 11.9944 13.2806 11.4203L13.4534 11.2878L19.701 6Z",
|
|
75
|
+
fill: "#1E3860",
|
|
76
|
+
className: svg_icon({ variant })
|
|
77
|
+
}
|
|
78
|
+
)
|
|
79
|
+
}
|
|
80
|
+
),
|
|
81
|
+
/* @__PURE__ */ jsx("div", { className: contact_entry({ variant }), children: /* @__PURE__ */ jsx("a", { href: `mailto:${executiveEmailAddress}`, children: executiveEmailAddress }) })
|
|
82
|
+
] })
|
|
56
83
|
] }),
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
{
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
84
|
+
(executiveLinkedIn || executiveWebsite) && /* @__PURE__ */ jsxs(
|
|
85
|
+
"div",
|
|
86
|
+
{
|
|
87
|
+
className: `${contact_col} ${contact_links} flex_col between`,
|
|
88
|
+
children: [
|
|
89
|
+
executiveLinkedIn && /* @__PURE__ */ jsxs("div", { className: "flex middle", children: [
|
|
90
|
+
/* @__PURE__ */ jsx("a", { href: `${executiveLinkedIn}`, className: "btn_link", children: "LinkedIn" }),
|
|
91
|
+
/* @__PURE__ */ jsx(
|
|
92
|
+
"svg",
|
|
93
|
+
{
|
|
94
|
+
width: "16",
|
|
95
|
+
height: "16",
|
|
96
|
+
viewBox: "0 0 24 24",
|
|
97
|
+
fill: "none",
|
|
98
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
99
|
+
"aria-hidden": "true",
|
|
100
|
+
children: /* @__PURE__ */ jsx(
|
|
101
|
+
"path",
|
|
102
|
+
{
|
|
103
|
+
d: "M7.81069 2.25L17.341 11.7803L7.81069 21.3107L6.75003 20.25L15.2199 11.7803L6.75003 3.31066L7.81069 2.25Z",
|
|
104
|
+
fill: "#2F5B88",
|
|
105
|
+
className: svg_icon({ variant })
|
|
106
|
+
}
|
|
107
|
+
)
|
|
108
|
+
}
|
|
109
|
+
)
|
|
110
|
+
] }),
|
|
111
|
+
executiveWebsite && /* @__PURE__ */ jsxs("div", { className: "flex middle", children: [
|
|
112
|
+
/* @__PURE__ */ jsx("a", { href: `${executiveWebsite}`, className: "btn_link", children: "Website" }),
|
|
113
|
+
/* @__PURE__ */ jsx(
|
|
114
|
+
"svg",
|
|
115
|
+
{
|
|
116
|
+
width: "16",
|
|
117
|
+
height: "16",
|
|
118
|
+
viewBox: "0 0 24 24",
|
|
119
|
+
fill: "none",
|
|
120
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
121
|
+
"aria-hidden": "true",
|
|
122
|
+
children: /* @__PURE__ */ jsx(
|
|
123
|
+
"path",
|
|
124
|
+
{
|
|
125
|
+
d: "M7.81069 2.25L17.341 11.7803L7.81069 21.3107L6.75003 20.25L15.2199 11.7803L6.75003 3.31066L7.81069 2.25Z",
|
|
126
|
+
fill: "#2F5B88",
|
|
127
|
+
className: svg_icon({ variant })
|
|
128
|
+
}
|
|
129
|
+
)
|
|
130
|
+
}
|
|
131
|
+
)
|
|
132
|
+
] })
|
|
133
|
+
]
|
|
134
|
+
}
|
|
135
|
+
)
|
|
136
|
+
] })
|
|
79
137
|
] })
|
|
80
138
|
] }) }) }) });
|
|
81
139
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { SetContainerProps } from '../SetContainer';
|
|
2
2
|
import { ExecutiveBioSetProps as Props } from './ExecutiveBio.interface';
|
|
3
3
|
|
|
4
|
-
export declare const ExecutiveBioSet: ({ id, title, description, executiveBios, additionalDetails,
|
|
4
|
+
export declare const ExecutiveBioSet: ({ id, title, description, executiveBios, additionalDetails, headline, variant: fullVariant, }: Props & SetContainerProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,144 +1,38 @@
|
|
|
1
1
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { getVariant } from "../utils/getVariant.js";
|
|
3
|
-
import {
|
|
3
|
+
import { ExecutiveBio } from "./ExecutiveBio.js";
|
|
4
|
+
import { section_theme, bio_section_text, header_theme, components, details } from "./ExecutiveBio.css.js";
|
|
4
5
|
const ExecutiveBioSet = ({
|
|
5
6
|
id,
|
|
6
7
|
title,
|
|
7
8
|
description,
|
|
8
9
|
executiveBios,
|
|
9
10
|
additionalDetails,
|
|
10
|
-
|
|
11
|
-
|
|
11
|
+
headline,
|
|
12
|
+
variant: fullVariant = "primary"
|
|
12
13
|
}) => {
|
|
14
|
+
const variant = getVariant(fullVariant);
|
|
13
15
|
return /* @__PURE__ */ jsxs("section", { id, className: section_theme({ variant }), children: [
|
|
14
16
|
/* @__PURE__ */ jsx("div", { className: "containment", children: (title || description) && /* @__PURE__ */ jsxs("div", { className: bio_section_text, children: [
|
|
15
|
-
headline && /* @__PURE__ */ jsx(
|
|
16
|
-
"h2",
|
|
17
|
-
{
|
|
18
|
-
className: `header_1 ${header_theme({ variant: getVariant(variant) })}`,
|
|
19
|
-
children: title
|
|
20
|
-
}
|
|
21
|
-
),
|
|
17
|
+
headline && /* @__PURE__ */ jsx("h2", { className: `header_1 ${header_theme({ variant })}`, children: title }),
|
|
22
18
|
description && /* @__PURE__ */ jsx(Fragment, { children: description })
|
|
23
19
|
] }) }),
|
|
24
|
-
/* @__PURE__ */ jsx("div", { className: components, children: executiveBios.map(
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"div",
|
|
41
|
-
{
|
|
42
|
-
className: img_area,
|
|
43
|
-
style: {
|
|
44
|
-
backgroundImage: `url(${executiveHeadshot?.src})`
|
|
45
|
-
},
|
|
46
|
-
role: "presentation",
|
|
47
|
-
children: " "
|
|
48
|
-
}
|
|
49
|
-
) }) }),
|
|
50
|
-
/* @__PURE__ */ jsxs("div", { className: `${description} flex_col between`, children: [
|
|
51
|
-
/* @__PURE__ */ jsxs("div", { className: person, children: [
|
|
52
|
-
title ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
53
|
-
/* @__PURE__ */ jsx(
|
|
54
|
-
"h3",
|
|
55
|
-
{
|
|
56
|
-
className: `${bio_name({ variant: getVariant(variant2) })} header_3`,
|
|
57
|
-
children: executiveName
|
|
58
|
-
}
|
|
59
|
-
),
|
|
60
|
-
/* @__PURE__ */ jsx(
|
|
61
|
-
"h4",
|
|
62
|
-
{
|
|
63
|
-
className: `${job_title({ variant: getVariant(variant2) })}`,
|
|
64
|
-
children: executiveTitle
|
|
65
|
-
}
|
|
66
|
-
)
|
|
67
|
-
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
68
|
-
/* @__PURE__ */ jsx(
|
|
69
|
-
"h2",
|
|
70
|
-
{
|
|
71
|
-
className: `${bio_name({ variant: getVariant(variant2) })} header_3`,
|
|
72
|
-
children: executiveName
|
|
73
|
-
}
|
|
74
|
-
),
|
|
75
|
-
/* @__PURE__ */ jsx(
|
|
76
|
-
"h3",
|
|
77
|
-
{
|
|
78
|
-
className: `${job_title({ variant: getVariant(variant2) })}`,
|
|
79
|
-
children: executiveTitle
|
|
80
|
-
}
|
|
81
|
-
)
|
|
82
|
-
] }),
|
|
83
|
-
/* @__PURE__ */ jsx("div", { className: copy, children: executiveBodyCopy })
|
|
84
|
-
] }),
|
|
85
|
-
executiveEmailAddress || executivePhoneNumber && /* @__PURE__ */ jsx(
|
|
86
|
-
"div",
|
|
87
|
-
{
|
|
88
|
-
className: `${contacts} flex between push_up_24`,
|
|
89
|
-
children: /* @__PURE__ */ jsxs("div", { className: `${contact_col} flex`, children: [
|
|
90
|
-
executivePhoneNumber && /* @__PURE__ */ jsxs("div", { className: "flex middle", children: [
|
|
91
|
-
/* @__PURE__ */ jsx(
|
|
92
|
-
"svg",
|
|
93
|
-
{
|
|
94
|
-
width: "24",
|
|
95
|
-
height: "24",
|
|
96
|
-
viewBox: "0 0 24 24",
|
|
97
|
-
fill: "none",
|
|
98
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
99
|
-
children: /* @__PURE__ */ jsx(
|
|
100
|
-
"path",
|
|
101
|
-
{
|
|
102
|
-
className: svg_icon({ variant: variant2 }),
|
|
103
|
-
"fill-rule": "evenodd",
|
|
104
|
-
"clip-rule": "evenodd",
|
|
105
|
-
d: "M5.25 4.5C5.25 2.84315 6.59315 1.5 8.25 1.5H15.75C17.4069 1.5 18.75 2.84315 18.75 4.5V19.5C18.75 21.1569 17.4069 22.5 15.75 22.5H8.25C6.59315 22.5 5.25 21.1569 5.25 19.5V4.5ZM6.75 4.5C6.75 3.67157 7.42157 3 8.25 3C8.25 3.82843 8.92157 4.5 9.75 4.5H14.25C15.0784 4.5 15.75 3.82843 15.75 3C16.5784 3 17.25 3.67157 17.25 4.5V19.5C17.25 20.3284 16.5784 21 15.75 21H8.25C7.42157 21 6.75 20.3284 6.75 19.5V4.5Z",
|
|
106
|
-
fill: "#1E3860"
|
|
107
|
-
}
|
|
108
|
-
)
|
|
109
|
-
}
|
|
110
|
-
),
|
|
111
|
-
/* @__PURE__ */ jsx("div", { className: contact_entry({ variant: variant2 }), children: /* @__PURE__ */ jsx("a", { href: `tel:${executivePhoneNumber}`, children: executivePhoneNumber }) })
|
|
112
|
-
] }),
|
|
113
|
-
executivePhoneNumber && /* @__PURE__ */ jsxs("div", { className: "flex middle", children: [
|
|
114
|
-
/* @__PURE__ */ jsx(
|
|
115
|
-
"svg",
|
|
116
|
-
{
|
|
117
|
-
className: svg_icon({ variant: variant2 }),
|
|
118
|
-
width: "24",
|
|
119
|
-
height: "24",
|
|
120
|
-
viewBox: "0 0 24 24",
|
|
121
|
-
fill: "none",
|
|
122
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
123
|
-
children: /* @__PURE__ */ jsx(
|
|
124
|
-
"path",
|
|
125
|
-
{
|
|
126
|
-
d: "M21 4.5C21.8284 4.5 22.5 5.17157 22.5 6V18C22.5 18.8284 21.8284 19.5 21 19.5H3C2.17157 19.5 1.5 18.8284 1.5 18V6C1.5 5.17157 2.17157 4.5 3 4.5H21ZM14.3932 12.455L14.1963 12.6098C12.8873 13.5569 11.1127 13.5569 9.80369 12.6098L9.60517 12.455L4.059 18H19.9395L14.3932 12.455ZM21 6.8655L15.5437 11.483L21 16.9395V6.8655ZM3 6.867V16.938L8.45467 11.483L3 6.867ZM19.701 6H4.2975L10.5466 11.2878C11.3296 11.9503 12.4523 11.9944 13.2806 11.4203L13.4534 11.2878L19.701 6Z",
|
|
127
|
-
fill: "#1E3860"
|
|
128
|
-
}
|
|
129
|
-
)
|
|
130
|
-
}
|
|
131
|
-
),
|
|
132
|
-
/* @__PURE__ */ jsx("div", { className: contact_entry({ variant: variant2 }), children: /* @__PURE__ */ jsx("a", { href: `mailto:${executiveEmailAddress}`, children: executiveEmailAddress }) })
|
|
133
|
-
] })
|
|
134
|
-
] })
|
|
135
|
-
}
|
|
136
|
-
)
|
|
137
|
-
] })
|
|
138
|
-
] })
|
|
139
|
-
}
|
|
140
|
-
) }) }, id2)
|
|
141
|
-
) }),
|
|
20
|
+
/* @__PURE__ */ jsx("div", { className: components, children: executiveBios.map((bio, index) => /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(
|
|
21
|
+
ExecutiveBio,
|
|
22
|
+
{
|
|
23
|
+
id: `id_${bio.id}`,
|
|
24
|
+
executiveName: bio?.executiveName,
|
|
25
|
+
executiveTitle: bio?.executiveTitle,
|
|
26
|
+
executiveBodyCopy: bio?.executiveBodyCopy,
|
|
27
|
+
executiveEmailAddress: bio?.executiveEmailAddress,
|
|
28
|
+
executivePhoneNumber: bio?.executivePhoneNumber,
|
|
29
|
+
executiveLinkedIn: bio?.executiveLinkedIn,
|
|
30
|
+
executiveWebsite: bio?.executiveWebsite,
|
|
31
|
+
executiveHeadshot: bio?.executiveHeadshot,
|
|
32
|
+
variant: bio?.variant
|
|
33
|
+
},
|
|
34
|
+
index
|
|
35
|
+
) })) }),
|
|
142
36
|
additionalDetails && /* @__PURE__ */ jsx("div", { className: "containment", children: /* @__PURE__ */ jsx("div", { className: details, children: /* @__PURE__ */ jsx(Fragment, { children: additionalDetails }) }) })
|
|
143
37
|
] });
|
|
144
38
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExecutiveBio } from "./ExecutiveBio.js";
|
|
2
|
-
import { bio_name, bio_section_text, components, contact_col, contact_entry, contacts, copy, description, details, header_theme, headshot, img_area, item_bio, job_title, media, padding, person, section_theme, shift, svg_icon } from "./ExecutiveBio.css.js";
|
|
2
|
+
import { bio_name, bio_section_text, components, contact_col, contact_entry, contact_links, contacts, copy, description, details, header_theme, headshot, img_area, item_bio, job_title, media, padding, person, section_theme, shift, svg_icon } from "./ExecutiveBio.css.js";
|
|
3
3
|
import { ExecutiveBioSet } from "./ExecutiveBioSet.js";
|
|
4
4
|
export {
|
|
5
5
|
ExecutiveBio,
|
|
@@ -9,6 +9,7 @@ export {
|
|
|
9
9
|
components,
|
|
10
10
|
contact_col,
|
|
11
11
|
contact_entry,
|
|
12
|
+
contact_links,
|
|
12
13
|
contacts,
|
|
13
14
|
copy,
|
|
14
15
|
description,
|