@axos-web-dev/shared-components 0.0.99 → 0.0.100
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/NavigationMenu/AxosAdvisorServices/NavData.d.ts +1 -5
- package/dist/NavigationMenu/AxosAdvisorServices/NavData.js +1 -7
- package/dist/NavigationMenu/AxosAdvisorServices/SubNavBar.js +2 -3
- package/dist/NavigationMenu/AxosAdvisorServices/index.js +10 -20
- package/dist/assets/Table/Table.css +1 -1
- package/package.json +1 -1
|
@@ -5,13 +5,7 @@ const navItems = [
|
|
|
5
5
|
{ name: "Axos Advantage", url: "/axos-advantage" }
|
|
6
6
|
];
|
|
7
7
|
const subNavItems = {
|
|
8
|
-
scaleYourBusiness: [
|
|
9
|
-
{
|
|
10
|
-
name: "Unlock Independence",
|
|
11
|
-
url: "/scale-your-business/unlock-independence",
|
|
12
|
-
id: "syb_1"
|
|
13
|
-
}
|
|
14
|
-
],
|
|
8
|
+
scaleYourBusiness: [],
|
|
15
9
|
serveYourClients: [
|
|
16
10
|
{
|
|
17
11
|
name: "Cash Management Solutions",
|
|
@@ -15,7 +15,6 @@ function SubNavBar() {
|
|
|
15
15
|
useEffect(() => {
|
|
16
16
|
setShowNavbar(
|
|
17
17
|
() => [
|
|
18
|
-
"/scale-your-business",
|
|
19
18
|
"/serve-your-clients",
|
|
20
19
|
"/optimize-operations",
|
|
21
20
|
"/axos-advantage",
|
|
@@ -23,8 +22,8 @@ function SubNavBar() {
|
|
|
23
22
|
].some((el) => pathname?.includes(el))
|
|
24
23
|
);
|
|
25
24
|
}, [pathname]);
|
|
26
|
-
return showNavbar ? /* @__PURE__ */ jsx("div", { className: `${styles.sub_nav} ${sub_nav}
|
|
27
|
-
pathname?.includes("/scale-your-business") && scaleYourBusiness?.map(
|
|
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: [
|
|
26
|
+
pathname?.includes("/scale-your-business") && scaleYourBusiness.length > 0 && scaleYourBusiness?.map(
|
|
28
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}`)
|
|
29
28
|
),
|
|
30
29
|
(pathname?.includes("/serve-your-clients") || pathname?.includes("/cash-management-solutions")) && serveYourClients.map(
|
|
@@ -272,29 +272,19 @@ function NavBar() {
|
|
|
272
272
|
]
|
|
273
273
|
}
|
|
274
274
|
),
|
|
275
|
-
/* @__PURE__ */
|
|
275
|
+
/* @__PURE__ */ jsx(
|
|
276
276
|
"div",
|
|
277
277
|
{
|
|
278
278
|
className: clsx(styles.sub_menu, isOpenProducts1 && expand),
|
|
279
|
-
children:
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
),
|
|
289
|
-
/* @__PURE__ */ jsx(
|
|
290
|
-
"a",
|
|
291
|
-
{
|
|
292
|
-
href: "/scale-your-business/unlock-independence",
|
|
293
|
-
role: "menuitem",
|
|
294
|
-
children: "Unlock Independence"
|
|
295
|
-
}
|
|
296
|
-
)
|
|
297
|
-
]
|
|
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
|
+
)
|
|
298
288
|
}
|
|
299
289
|
)
|
|
300
290
|
]
|