@axos-web-dev/shared-components 1.0.2 → 1.0.4

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.
Files changed (66) hide show
  1. package/dist/ATMLocator/ATMLocator.js +1 -1
  2. package/dist/Article/Article.js +13 -9
  3. package/dist/AwardsItem/AwardsItem.js +1 -1
  4. package/dist/Button/Button.js +1 -1
  5. package/dist/Calculators/Calculator.js +1 -1
  6. package/dist/Carousel/index.js +1 -1
  7. package/dist/Chevron/index.js +1 -1
  8. package/dist/Comparison/Comparison.js +1 -1
  9. package/dist/ExecutiveBio/ExecutiveBio.js +64 -16
  10. package/dist/FaqAccordion/index.js +1 -1
  11. package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +5 -2
  12. package/dist/Forms/ApplyNow.js +1 -1
  13. package/dist/Forms/ContactUsBusiness.js +1 -1
  14. package/dist/Forms/ContactUsNMLSId.js +1 -1
  15. package/dist/Forms/CraPublicFile.js +1 -1
  16. package/dist/Forms/EmailOnly.js +1 -1
  17. package/dist/Forms/MortgageRate/MortgageRateForm.js +1 -1
  18. package/dist/Forms/MortgageRate/MortgageRateWatch.js +1 -1
  19. package/dist/Forms/QuickPricer/QuickPricerForm.js +10 -5
  20. package/dist/Forms/SuccesForm.js +1 -1
  21. package/dist/HeroBanner/HeroBanner.css.d.ts +1 -0
  22. package/dist/HeroBanner/HeroBanner.css.js +2 -0
  23. package/dist/HeroBanner/HeroBanner.js +73 -33
  24. package/dist/HeroBanner/index.js +2 -1
  25. package/dist/Hyperlink/index.js +1 -1
  26. package/dist/IconBillboard/IconBillboard.js +1 -1
  27. package/dist/ImageBillboard/ImageBillboardSet.js +37 -17
  28. package/dist/ImageLink/ImageLink.js +1 -1
  29. package/dist/ImageLink/ImageLinkSet.js +1 -1
  30. package/dist/ImageLink/index.js +1 -1
  31. package/dist/Insight/Featured/CategorySelector.js +15 -9
  32. package/dist/Insight/Featured/Featured.js +32 -18
  33. package/dist/Insight/Featured/Header.js +1 -1
  34. package/dist/Modal/Modal.js +1 -1
  35. package/dist/NavigationMenu/AxosALTS/NavBar.module.js +23 -23
  36. package/dist/NavigationMenu/AxosALTS/NavData.js +1 -1
  37. package/dist/NavigationMenu/AxosALTS/index.js +1 -1
  38. package/dist/NavigationMenu/AxosAdvisor/NavBar.module.js +52 -52
  39. package/dist/NavigationMenu/AxosAdvisorServices/NavBar.module.js +53 -53
  40. package/dist/NavigationMenu/AxosBank/NavBar.module.js +53 -53
  41. package/dist/NavigationMenu/AxosBank/NavData.js +1 -1
  42. package/dist/NavigationMenu/AxosBank/SubNavBar.js +41 -25
  43. package/dist/NavigationMenu/AxosBank/index.js +28 -131
  44. package/dist/NavigationMenu/LaVictoire/NavData.js +1 -1
  45. package/dist/NavigationMenu/LaVictoire/index.js +1 -1
  46. package/dist/NavigationMenu/NavItem/index.js +1 -10
  47. package/dist/SetContainer/SetContainer.js +1 -1
  48. package/dist/SocialMediaBar/iconsRepository.js +29 -15
  49. package/dist/StepItem/StepItem.js +1 -1
  50. package/dist/StepItemSet/StepItemSet.js +14 -8
  51. package/dist/VideoWrapper/index.js +1 -1
  52. package/dist/assets/Article/Article.css +10 -3
  53. package/dist/assets/ExecutiveBio/ExecutiveBio.css +10 -3
  54. package/dist/assets/FooterSiteMap/AxosBank/FooterSiteMap.css +3 -0
  55. package/dist/assets/HeroBanner/HeroBanner.css +3 -0
  56. package/dist/assets/ImageBillboard/ImageBillboard.css +6 -9
  57. package/dist/assets/Insight/Featured/Header.css +1 -1
  58. package/dist/assets/NavigationMenu/AxosALTS/NavBar.css.css +50 -50
  59. package/dist/assets/NavigationMenu/AxosAdvisor/NavBar.css.css +597 -597
  60. package/dist/assets/NavigationMenu/AxosAdvisorServices/NavBar.css.css +618 -618
  61. package/dist/assets/NavigationMenu/AxosBank/NavBar.css.css +124 -124
  62. package/dist/assets/StepItemSet/StepItemSet.css +11 -3
  63. package/dist/icons/EqualHousingLender.js +1 -0
  64. package/dist/icons/MemberFdicLogo.js +1 -0
  65. package/dist/main.js +2 -1
  66. package/package.json +130 -130
@@ -5,10 +5,11 @@ import "react";
5
5
  import "react-use";
6
6
  import { Chevron } from "../Chevron/index.js";
7
7
  import { getVariant } from "../utils/getVariant.js";
8
+ import Image from "next/image.js";
8
9
  import clsx from "clsx";
9
- import { logout, hero_banner, hero_wrapper, hero_content, reversed, hero_text, heroSupertag, headline_text, hero_btns, hero_img, reversed_lg_image } from "./HeroBanner.css.js";
10
+ import { logout, hero_banner, hero_wrapper, hero_content, reversed, hero_text, heroSupertag, headline_text, hero_btns, hero_img, img_contents, reversed_lg_image } from "./HeroBanner.css.js";
10
11
  import { lg_hero_banner, lg_hero_content, lg_hero_text, lg_hero_eyebrow, lg_headline_text, lg_hero_img, lg_hero_sizing } from "./LargeBanner.css.js";
11
- import { selection_section_icon_img, selection_section_icon, selection_section_bg, selection_headline_text, selection_section_content, selection_section } from "./SelectionBanner.css.js";
12
+ import { selection_section_icon_img, selection_section_icon, selection_section, selection_section_bg, selection_section_content, selection_headline_text } from "./SelectionBanner.css.js";
12
13
  const HeroBanner = ({
13
14
  id,
14
15
  eyebrow,
@@ -105,19 +106,38 @@ const HeroBanner = ({
105
106
  )
106
107
  ) })
107
108
  ] }),
108
- !isSelectionBanner ? /* @__PURE__ */ jsx("div", { className: hero_img, role: "presentation", children: /* @__PURE__ */ jsx(
109
- "img",
110
- {
111
- decoding: "async",
112
- "data-nimg": 1,
113
- className: "img_fluid",
114
- style: { color: "transparent" },
115
- src: `${image?.src}?fm=webp&w=604&h=480&fit=fill`,
116
- alt: image?.alt
117
- }
118
- ) }) : /* @__PURE__ */ jsxs("div", { className: clsx(selection_section), children: [
119
- /* @__PURE__ */ jsx("div", { className: clsx(selection_section_bg) }),
120
- /* @__PURE__ */ jsxs("div", { className: clsx(selection_section_content), children: [
109
+ !isSelectionBanner ? /* @__PURE__ */ jsx("div", { className: hero_img, role: "presentation", children: /* @__PURE__ */ jsxs("picture", { className: img_contents, children: [
110
+ /* @__PURE__ */ jsx(
111
+ "source",
112
+ {
113
+ srcSet: `https:${image?.src}?fm=avif&w=604&h=480&fit=fill`,
114
+ type: "image/avif"
115
+ }
116
+ ),
117
+ /* @__PURE__ */ jsx(
118
+ "source",
119
+ {
120
+ srcSet: `https:${image?.src}?fm=webp&w=604&h=480&fit=fill`,
121
+ type: "image/webp"
122
+ }
123
+ ),
124
+ /* @__PURE__ */ jsx(
125
+ Image,
126
+ {
127
+ decoding: "async",
128
+ "data-nimg": 1,
129
+ className: "img_fluid",
130
+ style: { color: "transparent" },
131
+ src: `https:${image?.src}?w=604&h=480&fit=fill&q=85`,
132
+ alt: "",
133
+ height: 480,
134
+ width: 604,
135
+ priority: true
136
+ }
137
+ )
138
+ ] }) }) : /* @__PURE__ */ jsxs("div", { className: selection_section, children: [
139
+ /* @__PURE__ */ jsx("div", { className: selection_section_bg }),
140
+ /* @__PURE__ */ jsxs("div", { className: selection_section_content, children: [
121
141
  /* @__PURE__ */ jsxs("div", { children: [
122
142
  /* @__PURE__ */ jsx(
123
143
  "h3",
@@ -149,26 +169,20 @@ const HeroBanner = ({
149
169
  rounded: "medium",
150
170
  square: true,
151
171
  children: [
152
- typeof icon !== "undefined" ? /* @__PURE__ */ jsx(
153
- "div",
172
+ typeof icon !== "undefined" ? /* @__PURE__ */ jsx("div", { className: selection_section_icon, children: /* @__PURE__ */ jsx(
173
+ "span",
154
174
  {
155
- className: clsx(selection_section_icon),
156
- children: /* @__PURE__ */ jsx(
157
- "span",
158
- {
159
- style: {
160
- mask: `url(${!icon.includes("https") ? "https:" + icon : icon}) no-repeat center / contain`,
161
- WebkitMask: `url(${!icon.includes("https") ? "https:" + icon : icon}) no-repeat center / contain`
162
- },
163
- className: clsx(
164
- selection_section_icon_img({
165
- variant: getVariant(variant)
166
- })
167
- )
168
- }
175
+ style: {
176
+ mask: `url(${!icon.includes("https") ? "https:" + icon : icon}) no-repeat center / contain`,
177
+ WebkitMask: `url(${!icon.includes("https") ? "https:" + icon : icon}) no-repeat center / contain`
178
+ },
179
+ className: clsx(
180
+ selection_section_icon_img({
181
+ variant: getVariant(variant)
182
+ })
169
183
  )
170
184
  }
171
- ) : null,
185
+ ) }) : null,
172
186
  displayText
173
187
  ]
174
188
  },
@@ -292,7 +306,33 @@ const HeroBanner = ({
292
306
  {
293
307
  className: `${lg_hero_img} ${imagePlacement !== "Right" ? reversed_lg_image : ""} rounded`,
294
308
  role: "presentation",
295
- children: /* @__PURE__ */ jsx("img", { alt: "", className: lg_hero_sizing, src: image?.src })
309
+ children: /* @__PURE__ */ jsxs("picture", { className: img_contents, children: [
310
+ /* @__PURE__ */ jsx(
311
+ "source",
312
+ {
313
+ srcSet: `https:${image?.src}?fm=avif`,
314
+ type: "image/avif"
315
+ }
316
+ ),
317
+ /* @__PURE__ */ jsx(
318
+ "source",
319
+ {
320
+ srcSet: `https:${image?.src}?fm=webp`,
321
+ type: "image/webp"
322
+ }
323
+ ),
324
+ /* @__PURE__ */ jsx(
325
+ Image,
326
+ {
327
+ src: `https:${image?.src}?q=85`,
328
+ className: lg_hero_sizing,
329
+ alt: "",
330
+ height: 600,
331
+ width: 792,
332
+ priority: true
333
+ }
334
+ )
335
+ ] })
296
336
  }
297
337
  )
298
338
  ]
@@ -1,5 +1,5 @@
1
1
  import { HeroBanner } from "./HeroBanner.js";
2
- import { headline_text, heroSupertag, hero_banner, hero_btns, hero_content, hero_embedded_image, hero_img, hero_text, hero_wrapper, logout, reversed, reversed_lg_image } from "./HeroBanner.css.js";
2
+ import { headline_text, heroSupertag, hero_banner, hero_btns, hero_content, hero_embedded_image, hero_img, hero_text, hero_wrapper, img_contents, logout, reversed, reversed_lg_image } from "./HeroBanner.css.js";
3
3
  import { selection_headline_text, selection_section, selection_section_bg, selection_section_content, selection_section_icon, selection_section_icon_img } from "./SelectionBanner.css.js";
4
4
  export {
5
5
  HeroBanner,
@@ -12,6 +12,7 @@ export {
12
12
  hero_img,
13
13
  hero_text,
14
14
  hero_wrapper,
15
+ img_contents,
15
16
  logout,
16
17
  reversed,
17
18
  reversed_lg_image,
@@ -63,6 +63,7 @@ import "../Calculators/SummitApyCalculator/BalanceAPYCalculator.css.js";
63
63
  import "../Carousel/index.js";
64
64
  /* empty css */
65
65
  import "../Comparison/Comparison.css.js";
66
+ import "next/image.js";
66
67
  import "../HeroBanner/HeroBanner.css.js";
67
68
  import "../HeroBanner/LargeBanner.css.js";
68
69
  import "../HeroBanner/SelectionBanner.css.js";
@@ -90,7 +91,6 @@ import "next/navigation.js";
90
91
  /* empty css */
91
92
  /* empty css */
92
93
  import "../NavigationMenu/AxosBank/NavData.js";
93
- import "next/image.js";
94
94
  import "next/link.js";
95
95
  /* empty css */
96
96
  /* empty css */
@@ -33,7 +33,7 @@ const IconBillboard = (props) => {
33
33
  id,
34
34
  children: [
35
35
  /* @__PURE__ */ jsxs("div", { className: `middle ${layout({ side })}`, children: [
36
- icon && /* @__PURE__ */ jsx("div", { className: billboard_icon, role: "presentation", children: /* @__PURE__ */ jsx("img", { src: icon?.src, className: "img_fluid", alt: icon?.alt }) }),
36
+ icon && /* @__PURE__ */ jsx("div", { className: billboard_icon, role: "presentation", children: /* @__PURE__ */ jsx("img", { src: icon?.src, className: "img_fluid", alt: icon?.alt ?? "" }) }),
37
37
  /* @__PURE__ */ jsxs("div", { className: clsx(content), children: [
38
38
  /* @__PURE__ */ jsxs("div", { className: headerIconBillboard, children: [
39
39
  /* @__PURE__ */ jsx("div", { className: title({ variant }), children: headline }),
@@ -1,7 +1,8 @@
1
+ "use client";
1
2
  import { jsxs, jsx } from "react/jsx-runtime";
3
+ import { useRef, useState, useEffect, createElement } from "react";
2
4
  import { Button } from "../Button/Button.js";
3
5
  import "../Button/Button.css.js";
4
- import "react";
5
6
  import "react-use";
6
7
  import { Chevron } from "../Chevron/index.js";
7
8
  import "../icons/ArrowIcon/ArrowIcon.css.js";
@@ -34,6 +35,19 @@ const ImageBillboard = ({
34
35
  }) => {
35
36
  const billboard_variant = getVariant(variant);
36
37
  position = position?.toLocaleLowerCase();
38
+ const headingRef = useRef(null);
39
+ const [headingLevel, setHeadingLevel] = useState("h2");
40
+ useEffect(() => {
41
+ if (headingRef.current) {
42
+ const section = headingRef.current.closest("section");
43
+ if (section) {
44
+ const existingH2 = section.querySelector("h2.header_2.mb_16");
45
+ if (existingH2) {
46
+ setHeadingLevel("h3");
47
+ }
48
+ }
49
+ }
50
+ }, []);
37
51
  return /* @__PURE__ */ jsxs(
38
52
  "div",
39
53
  {
@@ -49,14 +63,19 @@ const ImageBillboard = ({
49
63
  position === "right" && "reversed"
50
64
  ),
51
65
  children: [
52
- /* @__PURE__ */ jsx("div", { className: `${billboard_img} flex`, children: image ? /* @__PURE__ */ jsx(
53
- "div",
54
- {
55
- className: image_background,
56
- style: { backgroundImage: `url(${image.src})` },
57
- "aria-label": image.alt
58
- }
59
- ) : /* @__PURE__ */ jsx(
66
+ /* @__PURE__ */ jsx("div", { className: `${billboard_img} flex`, children: image ? /* @__PURE__ */ jsx("div", { className: image_background, role: "presentation", children: /* @__PURE__ */ jsxs("picture", { children: [
67
+ /* @__PURE__ */ jsx("source", { srcSet: `${image?.src}?fm=avif`, type: "image/avif" }),
68
+ /* @__PURE__ */ jsx("source", { srcSet: `${image?.src}?fm=webp`, type: "image/webp" }),
69
+ /* @__PURE__ */ jsx(
70
+ "img",
71
+ {
72
+ decoding: "async",
73
+ "data-nimg": 1,
74
+ src: `${image?.src}?q=85`,
75
+ alt: image?.alt ?? ""
76
+ }
77
+ )
78
+ ] }) }) : /* @__PURE__ */ jsx(
60
79
  "div",
61
80
  {
62
81
  className: clsx(
@@ -74,23 +93,24 @@ const ImageBillboard = ({
74
93
  ) }),
75
94
  /* @__PURE__ */ jsxs("div", { className: body, children: [
76
95
  /* @__PURE__ */ jsxs("div", { className: billboard_body, children: [
77
- /* @__PURE__ */ jsxs("div", { className: `${billboard_header_section}`, children: [
78
- /* @__PURE__ */ jsx(
96
+ (eyebrow || headline) && /* @__PURE__ */ jsxs("div", { className: `${billboard_header_section}`, children: [
97
+ eyebrow && /* @__PURE__ */ jsx(
79
98
  "span",
80
99
  {
81
100
  className: `supertag ${supertag({ variant: billboard_variant })}`,
82
101
  children: eyebrow
83
102
  }
84
103
  ),
85
- /* @__PURE__ */ jsx(
86
- "h3",
104
+ headline && createElement(
105
+ headingLevel,
87
106
  {
88
- className: `header_3 ${header({ variant: billboard_variant })}`,
89
- children: headline
90
- }
107
+ ref: headingRef,
108
+ className: `header_3 ${header({ variant: billboard_variant })}`
109
+ },
110
+ headline
91
111
  )
92
112
  ] }),
93
- /* @__PURE__ */ jsx("div", { className: `push_up ${body_copy}`, children: bodyCopy }),
113
+ bodyCopy && /* @__PURE__ */ jsx("div", { className: `push_up ${body_copy}`, children: bodyCopy }),
94
114
  bullets && bullets.length > 0 && /* @__PURE__ */ jsx("ul", { className: "list_unstyled mb_0 push_up", children: bullets.map(
95
115
  ({ id: id2, icon, copy, subBullet }) => !subBullet ? /* @__PURE__ */ jsxs("li", { className: "list_item flex", children: [
96
116
  /* @__PURE__ */ jsx("div", { className: "img_item", children: billboard_variant ? /* @__PURE__ */ jsx(
@@ -75,6 +75,7 @@ import "../ImageBillboard/ImageBillboard.css.js";
75
75
  /* empty css */
76
76
  /* empty css */
77
77
  /* empty css */
78
+ import "next/image.js";
78
79
  /* empty css */
79
80
  /* empty css */
80
81
  import "../LandingPageHeader/LandingPageHeader.css.js";
@@ -87,7 +88,6 @@ import "next/navigation.js";
87
88
  /* empty css */
88
89
  /* empty css */
89
90
  import "../NavigationMenu/AxosBank/NavData.js";
90
- import "next/image.js";
91
91
  import "next/link.js";
92
92
  /* empty css */
93
93
  /* empty css */
@@ -75,6 +75,7 @@ import "../FaqAccordion/index.js";
75
75
  import "../FooterDisclosure/FooterDisclosure.css.js";
76
76
  /* empty css */
77
77
  /* empty css */
78
+ import "next/image.js";
78
79
  import "../HeroBanner/LargeBanner.css.js";
79
80
  import "../HeroBanner/SelectionBanner.css.js";
80
81
  import "../ImageBillboard/ImageBillboard.css.js";
@@ -93,7 +94,6 @@ import "next/navigation.js";
93
94
  /* empty css */
94
95
  /* empty css */
95
96
  import "../NavigationMenu/AxosBank/NavData.js";
96
- import "next/image.js";
97
97
  import "next/link.js";
98
98
  /* empty css */
99
99
  /* empty css */
@@ -61,6 +61,7 @@ import "../Calculators/SummitApyCalculator/BalanceAPYCalculator.css.js";
61
61
  import "../Carousel/index.js";
62
62
  /* empty css */
63
63
  import "../Comparison/Comparison.css.js";
64
+ import "next/image.js";
64
65
  import "../HeroBanner/HeroBanner.css.js";
65
66
  import "../HeroBanner/LargeBanner.css.js";
66
67
  import "../HeroBanner/SelectionBanner.css.js";
@@ -88,7 +89,6 @@ import "next/navigation.js";
88
89
  /* empty css */
89
90
  /* empty css */
90
91
  import "../NavigationMenu/AxosBank/NavData.js";
91
- import "next/image.js";
92
92
  import "next/link.js";
93
93
  /* empty css */
94
94
  /* empty css */
@@ -62,6 +62,7 @@ import "../../Calculators/SummitApyCalculator/BalanceAPYCalculator.css.js";
62
62
  import "../../Carousel/index.js";
63
63
  /* empty css */
64
64
  import "../../Comparison/Comparison.css.js";
65
+ import "next/image.js";
65
66
  import "../../HeroBanner/HeroBanner.css.js";
66
67
  import "../../HeroBanner/LargeBanner.css.js";
67
68
  import "../../HeroBanner/SelectionBanner.css.js";
@@ -88,7 +89,6 @@ import "next/navigation.js";
88
89
  /* empty css */
89
90
  /* empty css */
90
91
  import "../../NavigationMenu/AxosBank/NavData.js";
91
- import "next/image.js";
92
92
  import "next/link.js";
93
93
  /* empty css */
94
94
  /* empty css */
@@ -164,14 +164,20 @@ const CategorySelector = (props) => {
164
164
  const InsightItem = (props) => {
165
165
  const { id, image, readingTime, title: itemTitle, url } = props;
166
166
  return /* @__PURE__ */ jsxs("a", { id, href: url, className: clsx(selector_small_item), children: [
167
- /* @__PURE__ */ jsx(
168
- "img",
169
- {
170
- src: image?.url,
171
- alt: image?.alt,
172
- className: clsx(featured_maingrid_img, selector_img)
173
- }
174
- ),
167
+ /* @__PURE__ */ jsxs("picture", { children: [
168
+ /* @__PURE__ */ jsx("source", { srcSet: `${image?.url}?fm=avif`, type: "image/avif" }),
169
+ /* @__PURE__ */ jsx("source", { srcSet: `${image?.url}?fm=webp`, type: "image/webp" }),
170
+ /* @__PURE__ */ jsx(
171
+ "img",
172
+ {
173
+ src: `${image?.url}?q=85`,
174
+ className: clsx(featured_maingrid_img, selector_img),
175
+ height: 207,
176
+ loading: "lazy",
177
+ alt: ""
178
+ }
179
+ )
180
+ ] }),
175
181
  /* @__PURE__ */ jsxs("div", { className: clsx(featured_maingrid_item, selector_grid_content), children: [
176
182
  /* @__PURE__ */ jsx("h2", { className: clsx(title({ variant: "primary" }), selector_title), children: itemTitle ?? "" }),
177
183
  /* @__PURE__ */ jsxs("div", { children: [
@@ -64,6 +64,7 @@ import "../../Calculators/SummitApyCalculator/BalanceAPYCalculator.css.js";
64
64
  import "../../Carousel/index.js";
65
65
  /* empty css */
66
66
  import "../../Comparison/Comparison.css.js";
67
+ import Image from "next/image.js";
67
68
  import "../../HeroBanner/HeroBanner.css.js";
68
69
  import "../../HeroBanner/LargeBanner.css.js";
69
70
  import "../../HeroBanner/SelectionBanner.css.js";
@@ -92,7 +93,6 @@ import "next/navigation.js";
92
93
  /* empty css */
93
94
  /* empty css */
94
95
  import "../../NavigationMenu/AxosBank/NavData.js";
95
- import "next/image.js";
96
96
  import "next/link.js";
97
97
  /* empty css */
98
98
  /* empty css */
@@ -124,8 +124,8 @@ const FeaturedItem = (props) => {
124
124
  } = props;
125
125
  const variant = getVariant(fullVariant);
126
126
  return /* @__PURE__ */ jsxs("a", { href: url ?? "/", className: featured_subgrid_item, children: [
127
- /* @__PURE__ */ jsx("h3", { className: clsx(supertag({ variant }), featured_supertag), children: (typeof supertagText == "string" && supertagText.replaceAll("-", " ")) ?? "" }),
128
- /* @__PURE__ */ jsx("h2", { className: clsx(featured_subgrid_title, title({ variant })), children: featureItemTitle ?? "" }),
127
+ /* @__PURE__ */ jsx("h2", { className: clsx(supertag({ variant }), featured_supertag), children: (typeof supertagText == "string" && supertagText.replaceAll("-", " ")) ?? "" }),
128
+ /* @__PURE__ */ jsx("h3", { className: clsx(featured_subgrid_title, title({ variant })), children: featureItemTitle ?? "" }),
129
129
  /* @__PURE__ */ jsxs("div", { children: [
130
130
  /* @__PURE__ */ jsx(
131
131
  ClockIcon,
@@ -151,17 +151,36 @@ const Featured = (props) => {
151
151
  id,
152
152
  className: clsx(featured_section, set_container({ variant })),
153
153
  children: /* @__PURE__ */ jsxs("div", { className: clsx("containment"), children: [
154
- /* @__PURE__ */ jsx("h2", { className: clsx(featured_title), children: headline }),
154
+ headline && /* @__PURE__ */ jsx("h2", { className: clsx(featured_title), children: headline }),
155
155
  /* @__PURE__ */ jsxs("div", { className: clsx(featured_grid), children: [
156
156
  /* @__PURE__ */ jsxs("a", { href: main?.url, className: clsx(featured_maingrid), children: [
157
- /* @__PURE__ */ jsx(
158
- "img",
159
- {
160
- src: main?.image?.url,
161
- alt: main?.image?.alt,
162
- className: clsx(featured_maingrid_img)
163
- }
164
- ),
157
+ /* @__PURE__ */ jsxs("picture", { children: [
158
+ /* @__PURE__ */ jsx(
159
+ "source",
160
+ {
161
+ srcSet: `https:${main?.image?.url}?fm=avif`,
162
+ type: "image/avif"
163
+ }
164
+ ),
165
+ /* @__PURE__ */ jsx(
166
+ "source",
167
+ {
168
+ srcSet: `https:${main?.image?.url}?fm=webp`,
169
+ type: "image/webp"
170
+ }
171
+ ),
172
+ /* @__PURE__ */ jsx(
173
+ Image,
174
+ {
175
+ src: `https:${main?.image?.url}?q=85`,
176
+ className: clsx(featured_maingrid_img),
177
+ width: 703,
178
+ height: 340,
179
+ priority: true,
180
+ alt: ""
181
+ }
182
+ )
183
+ ] }),
165
184
  /* @__PURE__ */ jsxs("div", { className: clsx(featured_maingrid_item), children: [
166
185
  /* @__PURE__ */ jsx(
167
186
  "h2",
@@ -174,12 +193,7 @@ const Featured = (props) => {
174
193
  }
175
194
  ),
176
195
  /* @__PURE__ */ jsxs("div", { children: [
177
- /* @__PURE__ */ jsx(
178
- ClockIcon,
179
- {
180
- className: clsx(featured_center_vertical)
181
- }
182
- ),
196
+ /* @__PURE__ */ jsx(ClockIcon, { className: clsx(featured_center_vertical) }),
183
197
  " ",
184
198
  /* @__PURE__ */ jsx("span", { className: clsx(featured_center_vertical), children: (main?.readingTime ?? "") + " minutes" })
185
199
  ] })
@@ -62,6 +62,7 @@ import "../../Calculators/SummitApyCalculator/BalanceAPYCalculator.css.js";
62
62
  import "../../Carousel/index.js";
63
63
  /* empty css */
64
64
  import "../../Comparison/Comparison.css.js";
65
+ import "next/image.js";
65
66
  import "../../HeroBanner/HeroBanner.css.js";
66
67
  import "../../HeroBanner/LargeBanner.css.js";
67
68
  import "../../HeroBanner/SelectionBanner.css.js";
@@ -88,7 +89,6 @@ import "next/navigation.js";
88
89
  /* empty css */
89
90
  /* empty css */
90
91
  import "../../NavigationMenu/AxosBank/NavData.js";
91
- import "next/image.js";
92
92
  import "next/link.js";
93
93
  /* empty css */
94
94
  /* empty css */
@@ -61,6 +61,7 @@ import "../Calculators/SummitApyCalculator/BalanceAPYCalculator.css.js";
61
61
  import "../Carousel/index.js";
62
62
  /* empty css */
63
63
  import "../Comparison/Comparison.css.js";
64
+ import "next/image.js";
64
65
  import "../HeroBanner/HeroBanner.css.js";
65
66
  import "../HeroBanner/LargeBanner.css.js";
66
67
  import "../HeroBanner/SelectionBanner.css.js";
@@ -89,7 +90,6 @@ import "next/navigation.js";
89
90
  /* empty css */
90
91
  /* empty css */
91
92
  import "../NavigationMenu/AxosBank/NavData.js";
92
- import "next/image.js";
93
93
  import "next/link.js";
94
94
  /* empty css */
95
95
  /* empty css */
@@ -1,26 +1,26 @@
1
- import '../../assets/NavigationMenu/AxosALTS/NavBar.css.css';const alts_header = "_alts_header_agj9f_1";
2
- const alts_wrapper = "_alts_wrapper_agj9f_5";
3
- const alts_header_main_row = "_alts_header_main_row_agj9f_11";
4
- const alts_mobile_header = "_alts_mobile_header_agj9f_12";
5
- const alts_logo_wrap = "_alts_logo_wrap_agj9f_18";
6
- const alts_primary_links = "_alts_primary_links_agj9f_22";
7
- const alts_main_nav_link = "_alts_main_nav_link_agj9f_27";
8
- const alts_hamburger = "_alts_hamburger_agj9f_63";
9
- const alts_mobile_logo = "_alts_mobile_logo_agj9f_77";
10
- const alts_mobile_nav = "_alts_mobile_nav_agj9f_102";
11
- const alts_mobile_opened = "_alts_mobile_opened_agj9f_113";
12
- const alts_mobile_nav_item = "_alts_mobile_nav_item_agj9f_121";
13
- const alts_icon_wrap = "_alts_icon_wrap_agj9f_136";
14
- const alts_mobile_footer = "_alts_mobile_footer_agj9f_141";
15
- const alts_mobile_footer_content = "_alts_mobile_footer_content_agj9f_146";
16
- const alts_mobile_footer_media = "_alts_mobile_footer_media_agj9f_157";
17
- const alts_inner_wrapper = "_alts_inner_wrapper_agj9f_167";
18
- const alts_btn = "_alts_btn_agj9f_172";
19
- const alts_sub_menu = "_alts_sub_menu_agj9f_177";
20
- const alts_skip_btn = "_alts_skip_btn_agj9f_185";
21
- const alts_desktop_only = "_alts_desktop_only_agj9f_209";
22
- const alts_main_nav = "_alts_main_nav_agj9f_27";
23
- const alts_mobile_only = "_alts_mobile_only_agj9f_261";
1
+ import '../../assets/NavigationMenu/AxosALTS/NavBar.css.css';const alts_header = "_alts_header_1s4n2_1";
2
+ const alts_wrapper = "_alts_wrapper_1s4n2_5";
3
+ const alts_header_main_row = "_alts_header_main_row_1s4n2_11";
4
+ const alts_mobile_header = "_alts_mobile_header_1s4n2_12";
5
+ const alts_logo_wrap = "_alts_logo_wrap_1s4n2_18";
6
+ const alts_primary_links = "_alts_primary_links_1s4n2_22";
7
+ const alts_main_nav_link = "_alts_main_nav_link_1s4n2_27";
8
+ const alts_hamburger = "_alts_hamburger_1s4n2_63";
9
+ const alts_mobile_logo = "_alts_mobile_logo_1s4n2_77";
10
+ const alts_mobile_nav = "_alts_mobile_nav_1s4n2_102";
11
+ const alts_mobile_opened = "_alts_mobile_opened_1s4n2_113";
12
+ const alts_mobile_nav_item = "_alts_mobile_nav_item_1s4n2_121";
13
+ const alts_icon_wrap = "_alts_icon_wrap_1s4n2_136";
14
+ const alts_mobile_footer = "_alts_mobile_footer_1s4n2_141";
15
+ const alts_mobile_footer_content = "_alts_mobile_footer_content_1s4n2_146";
16
+ const alts_mobile_footer_media = "_alts_mobile_footer_media_1s4n2_157";
17
+ const alts_inner_wrapper = "_alts_inner_wrapper_1s4n2_167";
18
+ const alts_btn = "_alts_btn_1s4n2_172";
19
+ const alts_sub_menu = "_alts_sub_menu_1s4n2_177";
20
+ const alts_skip_btn = "_alts_skip_btn_1s4n2_185";
21
+ const alts_desktop_only = "_alts_desktop_only_1s4n2_209";
22
+ const alts_main_nav = "_alts_main_nav_1s4n2_27";
23
+ const alts_mobile_only = "_alts_mobile_only_1s4n2_261";
24
24
  const styles = {
25
25
  alts_header,
26
26
  alts_wrapper,
@@ -62,6 +62,7 @@ import "../../Calculators/SummitApyCalculator/BalanceAPYCalculator.css.js";
62
62
  import "../../Carousel/index.js";
63
63
  /* empty css */
64
64
  import "../../Comparison/Comparison.css.js";
65
+ import "next/image.js";
65
66
  import "../../HeroBanner/HeroBanner.css.js";
66
67
  import "../../HeroBanner/LargeBanner.css.js";
67
68
  import "../../HeroBanner/SelectionBanner.css.js";
@@ -89,7 +90,6 @@ import "next/navigation.js";
89
90
  /* empty css */
90
91
  /* empty css */
91
92
  import "../AxosBank/NavData.js";
92
- import "next/image.js";
93
93
  import "next/link.js";
94
94
  /* empty css */
95
95
  /* empty css */
@@ -63,6 +63,7 @@ import "../../Calculators/SummitApyCalculator/BalanceAPYCalculator.css.js";
63
63
  import "../../Carousel/index.js";
64
64
  /* empty css */
65
65
  import "../../Comparison/Comparison.css.js";
66
+ import "next/image.js";
66
67
  import "../../HeroBanner/HeroBanner.css.js";
67
68
  import "../../HeroBanner/LargeBanner.css.js";
68
69
  import "../../HeroBanner/SelectionBanner.css.js";
@@ -91,7 +92,6 @@ import "next/navigation.js";
91
92
  /* empty css */
92
93
  /* empty css */
93
94
  import "../AxosBank/NavData.js";
94
- import "next/image.js";
95
95
  import "next/link.js";
96
96
  /* empty css */
97
97
  /* empty css */