@axos-web-dev/shared-components 1.0.9 → 1.0.10
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.
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
import '../../assets/NavigationMenu/AxosBank/NavBar.css.css';const header = "
|
|
2
|
-
const wrapper = "
|
|
3
|
-
const header_main_row = "
|
|
4
|
-
const mobile_header = "
|
|
5
|
-
const logo_wrap = "
|
|
6
|
-
const primary_links = "
|
|
7
|
-
const main_nav_link = "
|
|
8
|
-
const sub_nav_link = "
|
|
9
|
-
const signin_wrap = "
|
|
10
|
-
const signin_btn = "
|
|
11
|
-
const header_sub_row = "
|
|
12
|
-
const signin_dropdown = "
|
|
13
|
-
const shadow = "
|
|
14
|
-
const signin_header = "
|
|
15
|
-
const signin_subheader = "
|
|
16
|
-
const opacity = "
|
|
17
|
-
const fadeInDown = "
|
|
18
|
-
const signin_footer = "
|
|
19
|
-
const open = "
|
|
20
|
-
const dd_wrapper = "
|
|
21
|
-
const dd_media = "
|
|
22
|
-
const dd_media_img = "
|
|
23
|
-
const dd_site_navs = "
|
|
24
|
-
const dd_media_header = "
|
|
25
|
-
const mt_8 = "
|
|
26
|
-
const mt_16 = "
|
|
27
|
-
const ml_8 = "
|
|
28
|
-
const dd_media_cta = "
|
|
29
|
-
const reversed_row = "
|
|
30
|
-
const headline = "
|
|
31
|
-
const nav_anchor = "
|
|
32
|
-
const headline_cta = "
|
|
33
|
-
const site_lists = "
|
|
34
|
-
const hamburger = "
|
|
35
|
-
const mobile_only = "
|
|
36
|
-
const mobile_logo = "
|
|
37
|
-
const highlight = "
|
|
38
|
-
const mobile_nav = "
|
|
39
|
-
const mobile_opened = "
|
|
40
|
-
const mobile_nav_item = "
|
|
41
|
-
const has_dropdown = "
|
|
42
|
-
const icon_wrap = "
|
|
43
|
-
const mobile_footer = "
|
|
44
|
-
const mobile_footer_content = "
|
|
45
|
-
const mobile_footer_media = "
|
|
46
|
-
const footer_cta = "
|
|
47
|
-
const inner_wrapper = "
|
|
48
|
-
const btn = "
|
|
49
|
-
const sub_menu = "
|
|
50
|
-
const main = "
|
|
51
|
-
const dd_footer = "
|
|
52
|
-
const skip_btn = "
|
|
53
|
-
const desktop_only = "
|
|
1
|
+
import '../../assets/NavigationMenu/AxosBank/NavBar.css.css';const header = "_header_1qrpu_1";
|
|
2
|
+
const wrapper = "_wrapper_1qrpu_9";
|
|
3
|
+
const header_main_row = "_header_main_row_1qrpu_21";
|
|
4
|
+
const mobile_header = "_mobile_header_1qrpu_23";
|
|
5
|
+
const logo_wrap = "_logo_wrap_1qrpu_35";
|
|
6
|
+
const primary_links = "_primary_links_1qrpu_43";
|
|
7
|
+
const main_nav_link = "_main_nav_link_1qrpu_51";
|
|
8
|
+
const sub_nav_link = "_sub_nav_link_1qrpu_115";
|
|
9
|
+
const signin_wrap = "_signin_wrap_1qrpu_119";
|
|
10
|
+
const signin_btn = "_signin_btn_1qrpu_121";
|
|
11
|
+
const header_sub_row = "_header_sub_row_1qrpu_195";
|
|
12
|
+
const signin_dropdown = "_signin_dropdown_1qrpu_259";
|
|
13
|
+
const shadow = "_shadow_1qrpu_279";
|
|
14
|
+
const signin_header = "_signin_header_1qrpu_299";
|
|
15
|
+
const signin_subheader = "_signin_subheader_1qrpu_313";
|
|
16
|
+
const opacity = "_opacity_1qrpu_357";
|
|
17
|
+
const fadeInDown = "_fadeInDown_1qrpu_1";
|
|
18
|
+
const signin_footer = "_signin_footer_1qrpu_369";
|
|
19
|
+
const open = "_open_1qrpu_411";
|
|
20
|
+
const dd_wrapper = "_dd_wrapper_1qrpu_435";
|
|
21
|
+
const dd_media = "_dd_media_1qrpu_453";
|
|
22
|
+
const dd_media_img = "_dd_media_img_1qrpu_463";
|
|
23
|
+
const dd_site_navs = "_dd_site_navs_1qrpu_471";
|
|
24
|
+
const dd_media_header = "_dd_media_header_1qrpu_485";
|
|
25
|
+
const mt_8 = "_mt_8_1qrpu_505";
|
|
26
|
+
const mt_16 = "_mt_16_1qrpu_513";
|
|
27
|
+
const ml_8 = "_ml_8_1qrpu_521";
|
|
28
|
+
const dd_media_cta = "_dd_media_cta_1qrpu_529";
|
|
29
|
+
const reversed_row = "_reversed_row_1qrpu_593";
|
|
30
|
+
const headline = "_headline_1qrpu_613";
|
|
31
|
+
const nav_anchor = "_nav_anchor_1qrpu_629";
|
|
32
|
+
const headline_cta = "_headline_cta_1qrpu_645";
|
|
33
|
+
const site_lists = "_site_lists_1qrpu_675";
|
|
34
|
+
const hamburger = "_hamburger_1qrpu_751";
|
|
35
|
+
const mobile_only = "_mobile_only_1qrpu_779";
|
|
36
|
+
const mobile_logo = "_mobile_logo_1qrpu_791";
|
|
37
|
+
const highlight = "_highlight_1qrpu_801";
|
|
38
|
+
const mobile_nav = "_mobile_nav_1qrpu_853";
|
|
39
|
+
const mobile_opened = "_mobile_opened_1qrpu_875";
|
|
40
|
+
const mobile_nav_item = "_mobile_nav_item_1qrpu_891";
|
|
41
|
+
const has_dropdown = "_has_dropdown_1qrpu_921";
|
|
42
|
+
const icon_wrap = "_icon_wrap_1qrpu_953";
|
|
43
|
+
const mobile_footer = "_mobile_footer_1qrpu_963";
|
|
44
|
+
const mobile_footer_content = "_mobile_footer_content_1qrpu_973";
|
|
45
|
+
const mobile_footer_media = "_mobile_footer_media_1qrpu_1003";
|
|
46
|
+
const footer_cta = "_footer_cta_1qrpu_1015";
|
|
47
|
+
const inner_wrapper = "_inner_wrapper_1qrpu_1071";
|
|
48
|
+
const btn = "_btn_1qrpu_1081";
|
|
49
|
+
const sub_menu = "_sub_menu_1qrpu_1091";
|
|
50
|
+
const main = "_main_1qrpu_51";
|
|
51
|
+
const dd_footer = "_dd_footer_1qrpu_1141";
|
|
52
|
+
const skip_btn = "_skip_btn_1qrpu_1157";
|
|
53
|
+
const desktop_only = "_desktop_only_1qrpu_1247";
|
|
54
54
|
const styles = {
|
|
55
55
|
header,
|
|
56
56
|
wrapper,
|
|
@@ -120,6 +120,8 @@ function SubNavBar() {
|
|
|
120
120
|
const handleMouseEnter = (link) => setHoveredLink(link);
|
|
121
121
|
const handleMouseLeave = () => setHoveredLink(void 0);
|
|
122
122
|
const AXOS_ONE_APY = +process.env.NEXT_PUBLIC_AXOS_ONE_APY;
|
|
123
|
+
const AXOS_ONE_APY_CHECKING = +process.env.NEXT_PUBLIC_AXOS_ONE_APY_CHECKING;
|
|
124
|
+
const media = "https://www.axos.com/images";
|
|
123
125
|
const containerRef = useRef(null);
|
|
124
126
|
const [isClient, setIsClient] = useState(false);
|
|
125
127
|
const support = subNavItems.support;
|
|
@@ -737,7 +739,9 @@ function SubNavBar() {
|
|
|
737
739
|
/* @__PURE__ */ jsxs("p", { className: styles.mt_8, children: [
|
|
738
740
|
"Explore the benefits of our newest account bundle with up to ",
|
|
739
741
|
AXOS_ONE_APY,
|
|
740
|
-
"% APY on Savings, up to
|
|
742
|
+
"% APY on Savings, up to",
|
|
743
|
+
AXOS_ONE_APY_CHECKING,
|
|
744
|
+
"% on Checking, plus early paydays and no maintenance fees."
|
|
741
745
|
] })
|
|
742
746
|
] }),
|
|
743
747
|
/* @__PURE__ */ jsx(
|
|
@@ -747,7 +751,7 @@ function SubNavBar() {
|
|
|
747
751
|
children: /* @__PURE__ */ jsx(
|
|
748
752
|
Image,
|
|
749
753
|
{
|
|
750
|
-
src:
|
|
754
|
+
src: `${media}/17Q3IVqKwSGO9cMqFUWF4o/axos-one-nav.png`,
|
|
751
755
|
alt: "",
|
|
752
756
|
width: 233,
|
|
753
757
|
height: 233
|
|
@@ -1115,7 +1119,7 @@ function SubNavBar() {
|
|
|
1115
1119
|
children: /* @__PURE__ */ jsx(
|
|
1116
1120
|
Image,
|
|
1117
1121
|
{
|
|
1118
|
-
src:
|
|
1122
|
+
src: `${media}/6tVncmpCfCXbilZHhFUYJ5/nav-submenu-borrow.webp`,
|
|
1119
1123
|
alt: "",
|
|
1120
1124
|
width: 232,
|
|
1121
1125
|
height: 232
|
|
@@ -1480,7 +1484,7 @@ function SubNavBar() {
|
|
|
1480
1484
|
children: /* @__PURE__ */ jsx(
|
|
1481
1485
|
Image,
|
|
1482
1486
|
{
|
|
1483
|
-
src:
|
|
1487
|
+
src: `${media}/2bREH0KGxe7C82N4cdathQ/nav-submenu-invest.webp`,
|
|
1484
1488
|
alt: "",
|
|
1485
1489
|
width: 232,
|
|
1486
1490
|
height: 232
|
|
@@ -1753,7 +1757,7 @@ function SubNavBar() {
|
|
|
1753
1757
|
children: /* @__PURE__ */ jsx(
|
|
1754
1758
|
Image,
|
|
1755
1759
|
{
|
|
1756
|
-
src:
|
|
1760
|
+
src: `${media}/4vSUrmXEbK80FeuAfe2fqJ/nav-submenu-plan.webp`,
|
|
1757
1761
|
alt: "",
|
|
1758
1762
|
width: 232,
|
|
1759
1763
|
height: 232
|
|
@@ -2013,7 +2017,7 @@ function SubNavBar() {
|
|
|
2013
2017
|
children: /* @__PURE__ */ jsx(
|
|
2014
2018
|
Image,
|
|
2015
2019
|
{
|
|
2016
|
-
src:
|
|
2020
|
+
src: `${media}/5vHrV4m3DbDQt13GOahbYA/nav-submenu-sbb.png`,
|
|
2017
2021
|
alt: "",
|
|
2018
2022
|
width: 232,
|
|
2019
2023
|
height: 232
|
|
@@ -2328,7 +2332,7 @@ function SubNavBar() {
|
|
|
2328
2332
|
children: /* @__PURE__ */ jsx(
|
|
2329
2333
|
Image,
|
|
2330
2334
|
{
|
|
2331
|
-
src:
|
|
2335
|
+
src: `${media}/7rELrrwmhLt5Bz9KqxLgMM/nav-submen-combank.png`,
|
|
2332
2336
|
alt: "",
|
|
2333
2337
|
width: 232,
|
|
2334
2338
|
height: 232
|
|
@@ -2554,10 +2558,10 @@ function SubNavBar() {
|
|
|
2554
2558
|
children: /* @__PURE__ */ jsx(
|
|
2555
2559
|
Image,
|
|
2556
2560
|
{
|
|
2557
|
-
src:
|
|
2561
|
+
src: `${media}/6PMA1kEss89S6m1BawAltW/nav-submenu-comlending.png`,
|
|
2558
2562
|
alt: "",
|
|
2559
2563
|
width: 232,
|
|
2560
|
-
height:
|
|
2564
|
+
height: 318
|
|
2561
2565
|
}
|
|
2562
2566
|
)
|
|
2563
2567
|
}
|
|
@@ -2768,7 +2772,7 @@ function SubNavBar() {
|
|
|
2768
2772
|
children: /* @__PURE__ */ jsx(
|
|
2769
2773
|
Image,
|
|
2770
2774
|
{
|
|
2771
|
-
src:
|
|
2775
|
+
src: `${media}/6YLFvmdNVGWcf3bFlimNSs/nav-submenu-wholelending.png`,
|
|
2772
2776
|
alt: "",
|
|
2773
2777
|
width: 232,
|
|
2774
2778
|
height: 232
|
|
@@ -2914,7 +2918,7 @@ function SubNavBar() {
|
|
|
2914
2918
|
children: /* @__PURE__ */ jsx(
|
|
2915
2919
|
Image,
|
|
2916
2920
|
{
|
|
2917
|
-
src:
|
|
2921
|
+
src: `${media}/3wtG13mXSTgSzMoB0YU3Ot/nav-submenu-dealer.png`,
|
|
2918
2922
|
alt: "",
|
|
2919
2923
|
width: 232,
|
|
2920
2924
|
height: 162
|