@axos-web-dev/shared-components 0.0.11 → 0.0.13

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 (82) hide show
  1. package/dist/ApyCalculator/index.js +3 -2
  2. package/dist/Button/Button.d.ts +24 -0
  3. package/dist/Button/Button.js +47 -0
  4. package/dist/Button/GoBackButton.d.ts +3 -0
  5. package/dist/Button/GoBackButton.js +15 -0
  6. package/dist/Button/index.d.ts +3 -21
  7. package/dist/Button/index.js +5 -20
  8. package/dist/CallToActionBar/index.js +30 -36
  9. package/dist/Chevron/index.js +53 -1
  10. package/dist/CollectInformationAlert/index.js +4 -1
  11. package/dist/ContentBanner/index.js +4 -1
  12. package/dist/Forms/Forms.css.d.ts +1 -0
  13. package/dist/Forms/Forms.css.js +2 -0
  14. package/dist/Forms/ScheduleCall.d.ts +2 -1
  15. package/dist/Forms/ScheduleCall.js +11 -13
  16. package/dist/Forms/index.js +2 -1
  17. package/dist/HeroBanner/index.js +4 -1
  18. package/dist/Hyperlink/index.js +58 -1
  19. package/dist/IconBillboard/IconBillboard.d.ts +3 -1
  20. package/dist/IconBillboard/IconBillboard.interface.d.ts +2 -0
  21. package/dist/IconBillboard/IconBillboard.js +49 -34
  22. package/dist/IconBillboard/IconBillboardSet.js +50 -56
  23. package/dist/ImageBillboard/ImageBillboard.css.d.ts +1 -0
  24. package/dist/ImageBillboard/ImageBillboard.interface.d.ts +3 -0
  25. package/dist/ImageBillboard/ImageBillboard.js +4 -1
  26. package/dist/ImageBillboard/ImageBillboardSet.d.ts +1 -1
  27. package/dist/ImageBillboard/ImageBillboardSet.js +12 -3
  28. package/dist/MainHTML/index.d.ts +1 -1
  29. package/dist/MainHTML/index.js +1 -1
  30. package/dist/Modal/Modal.d.ts +3 -0
  31. package/dist/Modal/Modal.js +95 -0
  32. package/dist/Modal/contextApi/store.d.ts +10 -0
  33. package/dist/Modal/contextApi/store.js +55 -0
  34. package/dist/Modal/index.d.ts +2 -3
  35. package/dist/Modal/index.js +7 -92
  36. package/dist/NavigationMenu/AxosAdvisor/NavBar.css.d.ts +2 -0
  37. package/dist/NavigationMenu/AxosAdvisor/NavBar.css.js +9 -0
  38. package/dist/NavigationMenu/AxosAdvisor/NavBar.module.js +52 -52
  39. package/dist/NavigationMenu/AxosAdvisor/NavData.d.ts +4 -0
  40. package/dist/NavigationMenu/AxosAdvisor/NavData.js +10 -0
  41. package/dist/NavigationMenu/AxosAdvisor/SubNavBar.js +44 -47
  42. package/dist/NavigationMenu/AxosAdvisor/SubNavbar.css.d.ts +4 -0
  43. package/dist/NavigationMenu/AxosAdvisor/SubNavbar.css.js +13 -0
  44. package/dist/NavigationMenu/AxosAdvisor/index.js +273 -203
  45. package/dist/NavigationMenu/AxosFiduciary/NavBar.module.js +40 -40
  46. package/dist/NavigationMenu/AxosFiduciary/index.js +12 -6
  47. package/dist/SecondaryFooter/index.js +2 -1
  48. package/dist/SetContainer/SetContainer.js +30 -1
  49. package/dist/Table/Table.css.d.ts +19 -6
  50. package/dist/Table/Table.css.js +5 -1
  51. package/dist/Table/Table.d.ts +3 -5
  52. package/dist/Table/Table.interface.d.ts +2 -0
  53. package/dist/Table/Table.js +8 -5
  54. package/dist/Table/index.js +3 -1
  55. package/dist/VideoTile/VideoTile.js +2 -2
  56. package/dist/assets/CallToActionBar/CallToActionBar.css +19 -8
  57. package/dist/assets/ContentBanner/ContentBanner.css +2 -0
  58. package/dist/assets/FaqAccordion/FaqAccordion.css +2 -2
  59. package/dist/assets/Forms/Forms.css +9 -1
  60. package/dist/assets/IconBillboard/IconBillboard.css +8 -2
  61. package/dist/assets/ImageBillboard/ImageBillboard.css +29 -0
  62. package/dist/assets/Input/Input.css +2 -1
  63. package/dist/assets/Modal/Modal.css +3 -3
  64. package/dist/assets/NavigationMenu/AxosAdvisor/NavBar.css +9 -0
  65. package/dist/assets/NavigationMenu/AxosAdvisor/NavBar.css.css +125 -122
  66. package/dist/assets/NavigationMenu/AxosAdvisor/SubNavbar.css +17 -0
  67. package/dist/assets/NavigationMenu/AxosFiduciary/NavBar.css.css +82 -82
  68. package/dist/assets/SecondaryFooter/SecondaryFooter.css +0 -2
  69. package/dist/assets/SetContainer/SetContainer.css +6 -1
  70. package/dist/assets/Table/Table.css +61 -21
  71. package/dist/assets/VideoTile/VideoTile.css +1 -0
  72. package/dist/assets/globals.css +0 -3
  73. package/dist/main.js +24 -4
  74. package/dist/utils/allowedAxosDomains.d.ts +2 -0
  75. package/dist/utils/allowedAxosDomains.js +40 -0
  76. package/dist/utils/index.d.ts +2 -0
  77. package/dist/utils/index.js +10 -1
  78. package/dist/utils/validateExternalLinks.d.ts +5 -0
  79. package/dist/utils/validateExternalLinks.js +32 -0
  80. package/package.json +4 -2
  81. package/dist/NavigationMenu/AxosFiduciary/MobileToggle.d.ts +0 -2
  82. package/dist/NavigationMenu/AxosFiduciary/MobileToggle.js +0 -120
@@ -1,17 +1,40 @@
1
1
  "use client";
2
2
  import { jsxs, jsx } from "react/jsx-runtime";
3
- import clsx from "clsx";
4
- import { useState, useRef } from "react";
3
+ import { Button } from "../../Button/Button.js";
4
+ import "../../Button/Button.css.js";
5
+ import { useState, useRef, useEffect } from "react";
5
6
  import { useClickAway } from "react-use";
7
+ import clsx from "clsx";
8
+ import { NavItem } from "../NavItem/index.js";
9
+ import { Sign_in_btn, expand } from "./NavBar.css.js";
6
10
  import styles from "./NavBar.module.js";
11
+ import { navItems } from "./NavData.js";
7
12
  import SubNavBar from "./SubNavBar.js";
8
13
  var define_process_env_default = {};
9
14
  function NavBar() {
10
15
  const [isOpenSignIn, setisOpenSignIn] = useState(false);
11
16
  const [isOpenMobile, setisOpenMobile] = useState(false);
17
+ const [activeIndex, setActiveIndex] = useState();
18
+ const [lastNavItem, setLastNavItem] = useState();
12
19
  const ref = useRef(null);
13
20
  const toggle = () => setisOpenSignIn(!isOpenSignIn);
14
21
  const mobileToggle = () => setisOpenMobile(!isOpenMobile);
22
+ const handleClick = (index) => setActiveIndex(index);
23
+ const [isOpenProducts, setisOpenProducts] = useState(false);
24
+ const toggleProducts = () => setisOpenProducts(!isOpenProducts);
25
+ const getActiveIndex = () => {
26
+ const pathname = "/" + location.pathname.split("/")[1];
27
+ const index = navItems.findIndex(
28
+ (path) => path.url === pathname
29
+ );
30
+ setActiveIndex(index);
31
+ };
32
+ useEffect(() => {
33
+ getActiveIndex();
34
+ }, [activeIndex]);
35
+ useEffect(() => {
36
+ setLastNavItem(navItems[navItems.length - 1]);
37
+ }, [navItems]);
15
38
  useClickAway(ref, (e) => {
16
39
  var _a;
17
40
  if (((_a = e == null ? void 0 : e.target) == null ? void 0 : _a.tagName) !== "A") {
@@ -30,12 +53,20 @@ function NavBar() {
30
53
  height: 51
31
54
  }
32
55
  ) }) }),
33
- /* @__PURE__ */ jsx("div", { className: styles.primary_links, children: /* @__PURE__ */ jsxs("ul", { className: "list_unstyled flex_row middle", role: "menu", children: [
34
- /* @__PURE__ */ jsx("li", { className: styles.main_nav_link, children: /* @__PURE__ */ jsx("a", { href: "/products", className: "active", role: "menuitem", children: "Products" }) }),
35
- /* @__PURE__ */ jsx("li", { className: styles.main_nav_link, children: /* @__PURE__ */ jsx("a", { href: "/find-your-advisor", role: "menuitem", children: "Find Your Advisor" }) }),
36
- /* @__PURE__ */ jsx("li", { className: styles.main_nav_link, children: /* @__PURE__ */ jsx("a", { href: "/RIAs", role: "menuitem", children: "RIAs" }) }),
37
- /* @__PURE__ */ jsx("li", { className: styles.main_nav_link, children: /* @__PURE__ */ jsx("a", { href: "/resources", role: "menuitem", children: "Resources" }) })
38
- ] }) })
56
+ /* @__PURE__ */ jsx("div", { className: styles.primary_links, children: /* @__PURE__ */ jsx("ul", { className: "list_unstyled flex_row middle", role: "menu", children: navItems.map(
57
+ (item, i, arr) => arr.length - 1 !== i && /* @__PURE__ */ jsx(
58
+ NavItem,
59
+ {
60
+ className: styles.main_nav_link,
61
+ onClick: handleClick,
62
+ index: i,
63
+ name: item.name,
64
+ url: item.url,
65
+ isActive: activeIndex == i
66
+ },
67
+ i
68
+ )
69
+ ) }) })
39
70
  ] }) }),
40
71
  /* @__PURE__ */ jsx(
41
72
  "button",
@@ -53,8 +84,8 @@ function NavBar() {
53
84
  children: /* @__PURE__ */ jsx(
54
85
  "path",
55
86
  {
56
- "fill-rule": "evenodd",
57
- "clip-rule": "evenodd",
87
+ fillRule: "evenodd",
88
+ clipRule: "evenodd",
58
89
  d: "M22.5 15.75V17.25H1.5V15.75H22.5ZM22.5 11.25V12.75H1.5V11.25H22.5ZM22.5 6.75V8.25H1.5V6.75H22.5Z",
59
90
  fill: "#4A5560"
60
91
  }
@@ -72,133 +103,139 @@ function NavBar() {
72
103
  height: 33
73
104
  }
74
105
  ) }) }),
75
- /* @__PURE__ */ jsxs("div", { className: styles.signin_wrap, children: [
76
- /* @__PURE__ */ jsx("div", { className: styles.mobile_only, children: /* @__PURE__ */ jsx(
77
- "a",
78
- {
79
- href: `${define_process_env_default.NEXT_PUBLIC_LOGIN_APP_LOGIN_URL}/auth/login`,
80
- className: "link",
81
- children: "Sign In"
82
- }
83
- ) }),
84
- /* @__PURE__ */ jsxs(
85
- "div",
86
- {
87
- className: `${styles.desktop_only} flex_row middle relative`,
88
- ref,
89
- children: [
90
- /* @__PURE__ */ jsx("a", { href: "/Contact-Us", className: "link", children: "Contact Us" }),
91
- /* @__PURE__ */ jsxs(
92
- "button",
93
- {
94
- className: clsx(
95
- styles.signin_btn,
96
- "flex_row",
97
- "center",
98
- "middle",
99
- isOpenSignIn ? styles.open : ""
100
- ),
101
- id: "signIn",
102
- onClick: toggle,
103
- "aria-controls": "signin-drop-menu",
104
- children: [
105
- /* @__PURE__ */ jsx("span", { children: "Sign In" }),
106
- /* @__PURE__ */ jsx(
107
- "svg",
108
- {
109
- width: "20",
110
- height: "12",
111
- viewBox: "0 0 20 12",
112
- fill: "none",
113
- xmlns: "http://www.w3.org/2000/svg",
114
- children: /* @__PURE__ */ jsx(
115
- "path",
106
+ /* @__PURE__ */ jsx("div", { className: styles.signin_wrap, children: /* @__PURE__ */ jsxs(
107
+ "div",
108
+ {
109
+ className: `${styles.desktop_only} flex_row middle relative`,
110
+ ref,
111
+ children: [
112
+ lastNavItem && /* @__PURE__ */ jsx(
113
+ NavItem,
114
+ {
115
+ url: lastNavItem.url,
116
+ name: lastNavItem.name,
117
+ className: `link list_unstyled ${styles.main_nav_link}`,
118
+ isActive: activeIndex == navItems.length,
119
+ onClick: handleClick,
120
+ index: navItems.length
121
+ },
122
+ navItems.length + 1
123
+ ),
124
+ /* @__PURE__ */ jsxs(
125
+ Button,
126
+ {
127
+ className: clsx(
128
+ styles.signin_btn,
129
+ "flex_row",
130
+ "center",
131
+ "middle",
132
+ isOpenSignIn ? styles.open : "",
133
+ Sign_in_btn
134
+ ),
135
+ as: "button",
136
+ type: "button",
137
+ color: "primary",
138
+ id: "signIn",
139
+ action: toggle,
140
+ size: "small",
141
+ "aria-controls": "signin-drop-menu",
142
+ children: [
143
+ /* @__PURE__ */ jsx("span", { children: "Sign In" }),
144
+ /* @__PURE__ */ jsx(
145
+ "svg",
146
+ {
147
+ width: "20",
148
+ height: "12",
149
+ viewBox: "0 0 20 12",
150
+ fill: "none",
151
+ xmlns: "http://www.w3.org/2000/svg",
152
+ children: /* @__PURE__ */ jsx(
153
+ "path",
154
+ {
155
+ d: "M0.46875 1.76574L9.99908 11.2961L19.5294 1.76574L18.4687 0.705078L9.99908 9.17491L1.52941 0.705078L0.46875 1.76574Z",
156
+ fill: "white"
157
+ }
158
+ )
159
+ }
160
+ )
161
+ ]
162
+ }
163
+ ),
164
+ /* @__PURE__ */ jsx(
165
+ "div",
166
+ {
167
+ className: `${styles.signin_dropdown} ${styles.shadow} rounded bg_white`,
168
+ children: /* @__PURE__ */ jsx("div", { className: styles.opacity, children: /* @__PURE__ */ jsxs(
169
+ "ul",
170
+ {
171
+ className: "list_unstyled",
172
+ role: "menu",
173
+ "aria-expanded": isOpenSignIn,
174
+ id: "signin-drop-menu",
175
+ children: [
176
+ /* @__PURE__ */ jsxs("li", { role: "heading", children: [
177
+ /* @__PURE__ */ jsx("a", { href: "#", className: styles.signin_header, children: "Personal" }),
178
+ /* @__PURE__ */ jsx("ul", { className: "list_unstyled", children: /* @__PURE__ */ jsx("li", { className: styles.signin_subheader, children: /* @__PURE__ */ jsx(
179
+ "a",
116
180
  {
117
- d: "M0.46875 1.76574L9.99908 11.2961L19.5294 1.76574L18.4687 0.705078L9.99908 9.17491L1.52941 0.705078L0.46875 1.76574Z",
118
- fill: "white"
181
+ href: `${define_process_env_default.NEXT_PUBLIC_LOGIN_APP_LOGIN_URL}/auth/login`,
182
+ role: "menuitem",
183
+ children: "Account Login"
119
184
  }
120
- )
121
- }
122
- )
123
- ]
124
- }
125
- ),
126
- /* @__PURE__ */ jsx(
127
- "div",
128
- {
129
- className: `${styles.signin_dropdown} ${styles.shadow} rounded bg_white`,
130
- children: /* @__PURE__ */ jsx("div", { className: styles.opacity, children: /* @__PURE__ */ jsxs(
131
- "ul",
132
- {
133
- className: "list_unstyled",
134
- role: "menu",
135
- "aria-expanded": isOpenSignIn,
136
- id: "signin-drop-menu",
137
- children: [
138
- /* @__PURE__ */ jsxs("li", { role: "heading", children: [
139
- /* @__PURE__ */ jsx("a", { href: "#", className: styles.signin_header, children: "Personal" }),
140
- /* @__PURE__ */ jsx("ul", { className: "list_unstyled", children: /* @__PURE__ */ jsx("li", { className: styles.signin_subheader, children: /* @__PURE__ */ jsx(
141
- "a",
142
- {
143
- href: `${define_process_env_default.NEXT_PUBLIC_LOGIN_APP_LOGIN_URL}/auth/login`,
144
- role: "menuitem",
145
- children: "Account Login"
146
- }
147
- ) }) })
148
- ] }),
149
- /* @__PURE__ */ jsxs("li", { role: "heading", children: [
150
- /* @__PURE__ */ jsx("a", { href: "#", className: `${styles.signin_header}`, children: "Business" }),
151
- /* @__PURE__ */ jsx("ul", { className: "list_unstyled", children: /* @__PURE__ */ jsx("li", { className: styles.signin_subheader, children: /* @__PURE__ */ jsx(
152
- "a",
153
- {
154
- href: "https://www.netteller.com/axosbank",
155
- role: "menuitem",
156
- children: "Business Banking Login"
157
- }
158
- ) }) })
159
- ] }),
160
- /* @__PURE__ */ jsxs("li", { role: "heading", children: [
161
- /* @__PURE__ */ jsx(
162
- "a",
163
- {
164
- href: "#",
165
- role: "menuitem",
166
- className: `${styles.signin_header}`,
167
- children: "Advisors"
168
- }
169
- ),
170
- /* @__PURE__ */ jsx("ul", { className: "list_unstyled", children: /* @__PURE__ */ jsx("li", { className: styles.signin_subheader, children: /* @__PURE__ */ jsx(
185
+ ) }) })
186
+ ] }),
187
+ /* @__PURE__ */ jsxs("li", { role: "heading", children: [
188
+ /* @__PURE__ */ jsx("a", { href: "#", className: `${styles.signin_header}`, children: "Business" }),
189
+ /* @__PURE__ */ jsx("ul", { className: "list_unstyled", children: /* @__PURE__ */ jsx("li", { className: styles.signin_subheader, children: /* @__PURE__ */ jsx(
190
+ "a",
191
+ {
192
+ href: "https://www.netteller.com/axosbank",
193
+ role: "menuitem",
194
+ children: "Business Banking Login"
195
+ }
196
+ ) }) })
197
+ ] }),
198
+ /* @__PURE__ */ jsxs("li", { role: "heading", children: [
199
+ /* @__PURE__ */ jsx(
200
+ "a",
201
+ {
202
+ href: "#",
203
+ role: "menuitem",
204
+ className: `${styles.signin_header}`,
205
+ children: "Advisors"
206
+ }
207
+ ),
208
+ /* @__PURE__ */ jsx("ul", { className: "list_unstyled", children: /* @__PURE__ */ jsx("li", { className: styles.signin_subheader, children: /* @__PURE__ */ jsx(
209
+ "a",
210
+ {
211
+ href: "https://arms.axosadvisor.com/",
212
+ role: "menuitem",
213
+ children: "Advisor Login"
214
+ }
215
+ ) }) })
216
+ ] }),
217
+ /* @__PURE__ */ jsx(
218
+ "li",
219
+ {
220
+ className: `${styles.signin_subheader} ${styles.footer} relative`,
221
+ children: /* @__PURE__ */ jsx(
171
222
  "a",
172
223
  {
173
- href: "https://arms.axosadvisor.com/",
224
+ href: "{AXOSBANK}/Return-to-Application",
174
225
  role: "menuitem",
175
- children: "Advisor Login"
226
+ children: "Return to Application"
176
227
  }
177
- ) }) })
178
- ] }),
179
- /* @__PURE__ */ jsx(
180
- "li",
181
- {
182
- className: `${styles.signin_subheader} ${styles.footer} relative`,
183
- children: /* @__PURE__ */ jsx(
184
- "a",
185
- {
186
- href: "{AXOSBANK}/Return-to-Application",
187
- role: "menuitem",
188
- children: "Return to Application"
189
- }
190
- )
191
- }
192
- )
193
- ]
194
- }
195
- ) })
196
- }
197
- )
198
- ]
199
- }
200
- )
201
- ] })
228
+ )
229
+ }
230
+ )
231
+ ]
232
+ }
233
+ ) })
234
+ }
235
+ )
236
+ ]
237
+ }
238
+ ) })
202
239
  ] }) }) }),
203
240
  /* @__PURE__ */ jsx(SubNavBar, {}),
204
241
  /* @__PURE__ */ jsx(
@@ -234,7 +271,7 @@ function NavBar() {
234
271
  }
235
272
  ) })
236
273
  ] }),
237
- /* @__PURE__ */ jsx("div", { className: styles.mobile_body, children: /* @__PURE__ */ jsxs("ul", { className: "list_unstyled", children: [
274
+ /* @__PURE__ */ jsx("div", { className: styles.mobile_body, children: /* @__PURE__ */ jsxs("ul", { className: "list_unstyled", "aria-expanded": isOpenProducts, children: [
238
275
  /* @__PURE__ */ jsxs(
239
276
  "li",
240
277
  {
@@ -245,89 +282,105 @@ function NavBar() {
245
282
  "a",
246
283
  {
247
284
  href: "#",
285
+ onClick: toggleProducts,
248
286
  role: "button",
249
- className: `flex_row between ${styles.btn}`,
287
+ className: clsx("flex_row", "between"),
250
288
  children: [
251
289
  "Products",
252
- /* @__PURE__ */ jsx("span", { className: styles.icon_wrap, children: /* @__PURE__ */ jsx(
253
- "svg",
290
+ /* @__PURE__ */ jsx(
291
+ "span",
254
292
  {
255
- xmlns: "http://www.w3.org/2000/svg",
256
- width: "24",
257
- height: "24",
258
- viewBox: "0 0 24 24",
259
- fill: "none",
293
+ className: clsx(
294
+ styles.icon_wrap,
295
+ isOpenProducts && styles.open
296
+ ),
260
297
  children: /* @__PURE__ */ jsx(
261
- "path",
298
+ "svg",
262
299
  {
263
- d: "M2.46875 7.76574L11.9991 17.2961L21.5294 7.76574L20.4687 6.70508L11.9991 15.1749L3.52941 6.70508L2.46875 7.76574Z",
264
- fill: "#4A5560"
300
+ xmlns: "http://www.w3.org/2000/svg",
301
+ width: "24",
302
+ height: "24",
303
+ viewBox: "0 0 24 24",
304
+ fill: "none",
305
+ children: /* @__PURE__ */ jsx(
306
+ "path",
307
+ {
308
+ d: "M2.46875 7.76574L11.9991 17.2961L21.5294 7.76574L20.4687 6.70508L11.9991 15.1749L3.52941 6.70508L2.46875 7.76574Z",
309
+ fill: "#4A5560"
310
+ }
311
+ )
265
312
  }
266
313
  )
267
314
  }
268
- ) })
315
+ )
269
316
  ]
270
317
  }
271
318
  ),
272
- /* @__PURE__ */ jsxs("div", { className: styles.sub_menu, children: [
273
- /* @__PURE__ */ jsx("a", { href: "/products", className: styles.main, role: "heading", children: "Products Home" }),
274
- /* @__PURE__ */ jsx(
275
- "a",
276
- {
277
- href: "/Products/Select-High-Yield-Money-Market",
278
- role: "menuitem",
279
- children: "Select High Yield Money Market"
280
- }
281
- ),
282
- /* @__PURE__ */ jsx("a", { href: "/Products/Select-CDs", role: "menuitem", children: "Select CDs" }),
283
- /* @__PURE__ */ jsx("a", { href: "/Products/Select-Checking", role: "menuitem", children: "Select Checking" }),
284
- /* @__PURE__ */ jsx("a", { href: "/Products/Select-Savings", role: "menuitem", children: "Select Savings" }),
285
- /* @__PURE__ */ jsx("a", { href: "/Products/Business-Banking", role: "menuitem", children: "Business Banking" }),
286
- /* @__PURE__ */ jsx("a", { href: "/Products/Mortgage", role: "menuitem", children: "Mortgage" }),
287
- /* @__PURE__ */ jsx(
288
- "a",
289
- {
290
- href: "/Products/Premier-World-Checking-and-Savings",
291
- className: styles.main,
292
- role: "heading",
293
- children: "Private Client"
294
- }
295
- ),
296
- /* @__PURE__ */ jsx(
297
- "a",
298
- {
299
- href: "/Products/Premier-Private-Client-Banking",
300
- role: "menuitem",
301
- children: "Advisor Private Client Banking"
302
- }
303
- ),
304
- /* @__PURE__ */ jsx("a", { href: "/Products/InsureGuard-for-Advisor", role: "menuitem", children: "InsureGuard+" }),
305
- /* @__PURE__ */ jsx(
306
- "a",
307
- {
308
- href: "/Products/Premier-World-Checking-and-Savings",
309
- role: "menuitem",
310
- children: "Advisor World Checking and Savings"
311
- }
312
- )
313
- ] })
319
+ /* @__PURE__ */ jsxs(
320
+ "div",
321
+ {
322
+ className: clsx(styles.sub_menu, isOpenProducts && expand),
323
+ children: [
324
+ /* @__PURE__ */ jsx("a", { href: "/products", className: styles.main, role: "heading", children: "Products Home" }),
325
+ /* @__PURE__ */ jsx(
326
+ "a",
327
+ {
328
+ href: "/products/select-high-yield-money-market",
329
+ role: "menuitem",
330
+ children: "Select High Yield Money Market"
331
+ }
332
+ ),
333
+ /* @__PURE__ */ jsx("a", { href: "/products/select-cds", role: "menuitem", children: "Select CDs" }),
334
+ /* @__PURE__ */ jsx("a", { href: "/products/select-checking", role: "menuitem", children: "Select Checking" }),
335
+ /* @__PURE__ */ jsx("a", { href: "/products/select-savings", role: "menuitem", children: "Select Savings" }),
336
+ /* @__PURE__ */ jsx("a", { href: "/products/business-banking", role: "menuitem", children: "Business Banking" }),
337
+ /* @__PURE__ */ jsx("a", { href: "/products/mortgage", role: "menuitem", children: "Mortgage" }),
338
+ /* @__PURE__ */ jsx(
339
+ "a",
340
+ {
341
+ href: "/products/premier-world-checking-and-savings",
342
+ className: styles.main,
343
+ role: "heading",
344
+ children: "Private Client"
345
+ }
346
+ ),
347
+ /* @__PURE__ */ jsx(
348
+ "a",
349
+ {
350
+ href: "/products/premier-private-client-banking",
351
+ role: "menuitem",
352
+ children: "Advisor Private Client Banking"
353
+ }
354
+ ),
355
+ /* @__PURE__ */ jsx("a", { href: "/products/insureguard-for-advisor", role: "menuitem", children: "InsureGuard+" }),
356
+ /* @__PURE__ */ jsx(
357
+ "a",
358
+ {
359
+ href: "/products/premier-world-checking-and-savings",
360
+ role: "menuitem",
361
+ children: "Advisor World Checking and Savings"
362
+ }
363
+ )
364
+ ]
365
+ }
366
+ )
314
367
  ]
315
368
  }
316
369
  ),
317
370
  /* @__PURE__ */ jsx("li", { className: `${styles.mobile_nav_item}`, id: "dd_2", children: /* @__PURE__ */ jsx(
318
371
  "a",
319
372
  {
320
- href: "/Find-your-advisor",
373
+ href: "/find-your-advisor",
321
374
  role: "button",
322
375
  className: `flex_row between ${styles.btn}`,
323
376
  children: "Find Your Advisor"
324
377
  }
325
378
  ) }),
326
- /* @__PURE__ */ jsx("li", { className: `${styles.mobile_nav_item}`, children: /* @__PURE__ */ jsx("a", { href: "/RIAs", role: "button", className: "flex_row between", children: "RIAs" }) }),
379
+ /* @__PURE__ */ jsx("li", { className: `${styles.mobile_nav_item}`, children: /* @__PURE__ */ jsx("a", { href: "/rias", role: "button", className: "flex_row between", children: "RIAs" }) }),
327
380
  /* @__PURE__ */ jsx("li", { className: `${styles.mobile_nav_item}`, children: /* @__PURE__ */ jsx(
328
381
  "a",
329
382
  {
330
- href: "/Contact-Us",
383
+ href: "/contact-us",
331
384
  role: "button",
332
385
  className: "flex_row between",
333
386
  children: "Contact Us"
@@ -345,34 +398,44 @@ function NavBar() {
345
398
  href: "#",
346
399
  role: "button",
347
400
  className: `flex_row between ${styles.btn}`,
401
+ onClick: toggle,
348
402
  children: [
349
403
  "Sign In",
350
- /* @__PURE__ */ jsx("span", { className: styles.icon_wrap, children: /* @__PURE__ */ jsx(
351
- "svg",
404
+ /* @__PURE__ */ jsx(
405
+ "span",
352
406
  {
353
- xmlns: "http://www.w3.org/2000/svg",
354
- width: "24",
355
- height: "24",
356
- viewBox: "0 0 24 24",
357
- fill: "none",
407
+ className: clsx(
408
+ styles.icon_wrap,
409
+ isOpenSignIn && styles.open
410
+ ),
358
411
  children: /* @__PURE__ */ jsx(
359
- "path",
412
+ "svg",
360
413
  {
361
- d: "M2.46875 7.76574L11.9991 17.2961L21.5294 7.76574L20.4687 6.70508L11.9991 15.1749L3.52941 6.70508L2.46875 7.76574Z",
362
- fill: "#4A5560"
414
+ xmlns: "http://www.w3.org/2000/svg",
415
+ width: "24",
416
+ height: "24",
417
+ viewBox: "0 0 24 24",
418
+ fill: "none",
419
+ children: /* @__PURE__ */ jsx(
420
+ "path",
421
+ {
422
+ d: "M2.46875 7.76574L11.9991 17.2961L21.5294 7.76574L20.4687 6.70508L11.9991 15.1749L3.52941 6.70508L2.46875 7.76574Z",
423
+ fill: "#4A5560"
424
+ }
425
+ )
363
426
  }
364
427
  )
365
428
  }
366
- ) })
429
+ )
367
430
  ]
368
431
  }
369
432
  ),
370
- /* @__PURE__ */ jsxs("div", { className: styles.sub_menu, children: [
433
+ /* @__PURE__ */ jsxs("div", { className: clsx(styles.sub_menu, isOpenSignIn && expand), children: [
371
434
  /* @__PURE__ */ jsx("span", { className: styles.main, role: "heading", children: "Personal" }),
372
435
  /* @__PURE__ */ jsx(
373
436
  "a",
374
437
  {
375
- href: `${define_process_env_default.NEXT_PUBLIC_LOGIN_APP_LOGIN_URL}/auth/login`,
438
+ href: `https://onlinebanking.uat.axsobank.com/auth/login`,
376
439
  role: "menuitem",
377
440
  children: "Account Login"
378
441
  }
@@ -400,7 +463,14 @@ function NavBar() {
400
463
  className: `${styles.mobile_footer_content} flex_col between`,
401
464
  children: [
402
465
  /* @__PURE__ */ jsx("p", { children: /* @__PURE__ */ jsx("strong", { children: "Get personalized support" }) }),
403
- /* @__PURE__ */ jsx("div", { className: styles.footer_cta, children: /* @__PURE__ */ jsx("a", { href: "mailto:support@axosadvisor.com", children: "Contact Us" }) })
466
+ /* @__PURE__ */ jsx("div", { className: styles.footer_cta, children: /* @__PURE__ */ jsx(
467
+ Button,
468
+ {
469
+ color: "primary",
470
+ targetUrl: "mailto:support@axosadvisor.com",
471
+ children: "Contact Us"
472
+ }
473
+ ) })
404
474
  ]
405
475
  }
406
476
  ),