@axos-web-dev/shared-components 0.0.101 → 0.0.103
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.
|
@@ -22,7 +22,7 @@ function SubNavBar() {
|
|
|
22
22
|
].some((el) => pathname?.includes(el))
|
|
23
23
|
);
|
|
24
24
|
}, [pathname]);
|
|
25
|
-
return showNavbar ? /* @__PURE__ */ jsx("div", { className: `${styles.sub_nav} ${sub_nav}`, children: /* @__PURE__ */ jsx("div", { className: styles.wrapper, children: /* @__PURE__ */ jsx("div", { className: styles.header_sub_row, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs("ul", { className: "list_unstyled flex_row middle", children: [
|
|
25
|
+
return showNavbar ? /* @__PURE__ */ jsx("div", { className: `${styles.sub_nav} ${sub_nav} ${styles.desktop_only}`, children: /* @__PURE__ */ jsx("div", { className: styles.wrapper, children: /* @__PURE__ */ jsx("div", { className: styles.header_sub_row, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs("ul", { className: "list_unstyled flex_row middle", children: [
|
|
26
26
|
pathname?.includes("/scale-your-business") && scaleYourBusiness.length > 0 && scaleYourBusiness?.map(
|
|
27
27
|
(item) => /* @__PURE__ */ jsx("li", { className: styles.sub_nav_link, children: /* @__PURE__ */ jsx("a", { href: item.url, role: "menuitem", children: item.name }) }, `snb-${item.id}`)
|
|
28
28
|
),
|
|
@@ -21,11 +21,9 @@ function NavBar() {
|
|
|
21
21
|
const signInToggle = () => setisOpenSignInToggle(!isOpenSignInToggle);
|
|
22
22
|
const mobileToggle = () => setisOpenMobile(!isOpenMobile);
|
|
23
23
|
const handleClick = (index) => setActiveIndex(index);
|
|
24
|
-
const [isOpenProducts1, setisOpenProducts1] = useState(false);
|
|
25
24
|
const [isOpenProducts2, setisOpenProducts2] = useState(false);
|
|
26
25
|
const [isOpenProducts3, setisOpenProducts3] = useState(false);
|
|
27
26
|
const [isOpenProducts4, setisOpenProducts4] = useState(false);
|
|
28
|
-
const toggleProducts1 = () => setisOpenProducts1(!isOpenProducts1);
|
|
29
27
|
const toggleProducts2 = () => setisOpenProducts2(!isOpenProducts2);
|
|
30
28
|
const toggleProducts3 = () => setisOpenProducts3(!isOpenProducts3);
|
|
31
29
|
const toggleProducts4 = () => setisOpenProducts4(!isOpenProducts4);
|
|
@@ -228,68 +226,15 @@ function NavBar() {
|
|
|
228
226
|
) })
|
|
229
227
|
] }),
|
|
230
228
|
/* @__PURE__ */ jsx("div", { className: styles.mobile_body, children: /* @__PURE__ */ jsxs("ul", { className: "list_unstyled", "aria-expanded": isOpenMobile, children: [
|
|
231
|
-
/* @__PURE__ */
|
|
232
|
-
"
|
|
229
|
+
/* @__PURE__ */ jsx("li", { className: `${styles.mobile_nav_item}`, children: /* @__PURE__ */ jsx(
|
|
230
|
+
"a",
|
|
233
231
|
{
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
"a",
|
|
239
|
-
{
|
|
240
|
-
href: "#",
|
|
241
|
-
onClick: toggleProducts1,
|
|
242
|
-
role: "button",
|
|
243
|
-
className: clsx("flex_row", "between"),
|
|
244
|
-
children: [
|
|
245
|
-
"Scale Your Business",
|
|
246
|
-
/* @__PURE__ */ jsx(
|
|
247
|
-
"span",
|
|
248
|
-
{
|
|
249
|
-
className: clsx(
|
|
250
|
-
styles.icon_wrap,
|
|
251
|
-
isOpenProducts1 && styles.open
|
|
252
|
-
),
|
|
253
|
-
children: /* @__PURE__ */ jsx(
|
|
254
|
-
"svg",
|
|
255
|
-
{
|
|
256
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
257
|
-
width: "24",
|
|
258
|
-
height: "24",
|
|
259
|
-
viewBox: "0 0 24 24",
|
|
260
|
-
fill: "none",
|
|
261
|
-
children: /* @__PURE__ */ jsx(
|
|
262
|
-
"path",
|
|
263
|
-
{
|
|
264
|
-
d: "M2.46875 7.76574L11.9991 17.2961L21.5294 7.76574L20.4687 6.70508L11.9991 15.1749L3.52941 6.70508L2.46875 7.76574Z",
|
|
265
|
-
fill: "#4A5560"
|
|
266
|
-
}
|
|
267
|
-
)
|
|
268
|
-
}
|
|
269
|
-
)
|
|
270
|
-
}
|
|
271
|
-
)
|
|
272
|
-
]
|
|
273
|
-
}
|
|
274
|
-
),
|
|
275
|
-
/* @__PURE__ */ jsx(
|
|
276
|
-
"div",
|
|
277
|
-
{
|
|
278
|
-
className: clsx(styles.sub_menu, isOpenProducts1 && expand),
|
|
279
|
-
children: /* @__PURE__ */ jsx(
|
|
280
|
-
"a",
|
|
281
|
-
{
|
|
282
|
-
href: "/scale-your-business",
|
|
283
|
-
className: styles.main,
|
|
284
|
-
role: "heading",
|
|
285
|
-
children: "Scale Your Business Home"
|
|
286
|
-
}
|
|
287
|
-
)
|
|
288
|
-
}
|
|
289
|
-
)
|
|
290
|
-
]
|
|
232
|
+
href: "/scale-your-business",
|
|
233
|
+
role: "button",
|
|
234
|
+
className: "flex_row between",
|
|
235
|
+
children: "Scale Your Business"
|
|
291
236
|
}
|
|
292
|
-
),
|
|
237
|
+
) }),
|
|
293
238
|
/* @__PURE__ */ jsxs(
|
|
294
239
|
"li",
|
|
295
240
|
{
|
|
@@ -339,15 +284,6 @@ function NavBar() {
|
|
|
339
284
|
{
|
|
340
285
|
className: clsx(styles.sub_menu, isOpenProducts2 && expand),
|
|
341
286
|
children: [
|
|
342
|
-
/* @__PURE__ */ jsx(
|
|
343
|
-
"a",
|
|
344
|
-
{
|
|
345
|
-
href: "/serve-your-clients",
|
|
346
|
-
className: styles.main,
|
|
347
|
-
role: "heading",
|
|
348
|
-
children: "Serve Your Clients Home"
|
|
349
|
-
}
|
|
350
|
-
),
|
|
351
287
|
/* @__PURE__ */ jsx("a", { href: "/cash-management-solutions", role: "menuitem", children: "Cash Management Solutions" }),
|
|
352
288
|
/* @__PURE__ */ jsx(
|
|
353
289
|
"a",
|
|
@@ -420,15 +356,6 @@ function NavBar() {
|
|
|
420
356
|
{
|
|
421
357
|
className: clsx(styles.sub_menu, isOpenProducts3 && expand),
|
|
422
358
|
children: [
|
|
423
|
-
/* @__PURE__ */ jsx(
|
|
424
|
-
"a",
|
|
425
|
-
{
|
|
426
|
-
href: "/optimize-operations",
|
|
427
|
-
className: styles.main,
|
|
428
|
-
role: "heading",
|
|
429
|
-
children: "Optimize Operations Home"
|
|
430
|
-
}
|
|
431
|
-
),
|
|
432
359
|
/* @__PURE__ */ jsx(
|
|
433
360
|
"a",
|
|
434
361
|
{
|
|
@@ -500,15 +427,6 @@ function NavBar() {
|
|
|
500
427
|
{
|
|
501
428
|
className: clsx(styles.sub_menu, isOpenProducts4 && expand),
|
|
502
429
|
children: [
|
|
503
|
-
/* @__PURE__ */ jsx(
|
|
504
|
-
"a",
|
|
505
|
-
{
|
|
506
|
-
href: "/axos-advantage",
|
|
507
|
-
className: styles.main,
|
|
508
|
-
role: "heading",
|
|
509
|
-
children: "Axos Advantage Home"
|
|
510
|
-
}
|
|
511
|
-
),
|
|
512
430
|
/* @__PURE__ */ jsx("a", { href: "/axos-advantage/about-axos", role: "menuitem", children: "About AXOS" }),
|
|
513
431
|
/* @__PURE__ */ jsx(
|
|
514
432
|
"a",
|