@axos-web-dev/shared-components 2.2.24 → 2.2.26
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/ATMLocator/ATMLocator.js +10 -9
- package/dist/Article/Article.css.d.ts +8 -4
- package/dist/ArticlesSet/ArticlesSet.css.d.ts +23 -1
- package/dist/ArticlesSet/ArticlesSet.css.js +7 -7
- package/dist/ArticlesSet/ArticlesSet.js +3 -4
- package/dist/Auth/ErrorAlert.js +10 -9
- package/dist/Auth/SignInPassword.js +1 -1
- package/dist/AwardsItem/AwardsItem.js +2 -2
- package/dist/Button/Button.js +12 -11
- package/dist/Calculators/ApyCalculator/ApyCalculator.css.d.ts +46 -5
- package/dist/Calculators/ApyCalculator/ApyCalculator.css.js +72 -19
- package/dist/Calculators/ApyCalculator/index.d.ts +2 -2
- package/dist/Calculators/ApyCalculator/index.js +585 -293
- package/dist/Calculators/AxosOneCalculator/BalanceAPYCalculator.css.js +2 -1
- package/dist/Calculators/Calculator.js +5 -5
- package/dist/Calculators/MarginTradingCalculator/index.js +11 -10
- package/dist/Carousel/index.js +11 -10
- package/dist/Chatbot/Bubble.css.js +0 -1
- package/dist/Chatbot/Chatbot.css.js +1 -0
- package/dist/Chatbot/Chatbot.js +83 -23
- package/dist/Chevron/index.js +12 -11
- package/dist/Comparison/Comparison.css.d.ts +1 -0
- package/dist/Comparison/Comparison.css.js +16 -17
- package/dist/Comparison/Comparison.js +10 -9
- package/dist/Comparison/ComparisonSet.js +2 -1
- package/dist/Comparison/index.js +2 -1
- package/dist/ExecutiveBio/ExecutiveBio.js +10 -9
- package/dist/FaqAccordion/index.js +12 -11
- package/dist/FdicCallout/index.js +2 -1
- package/dist/FooterDisclosure/FooterDisclosure.js +1 -0
- package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +678 -671
- package/dist/Forms/ApplyNow.js +11 -10
- package/dist/Forms/ContactUsBusiness.js +12 -11
- package/dist/Forms/ContactUsBusinessNameEmail.js +12 -11
- package/dist/Forms/ContactUsNMLSId.js +12 -11
- package/dist/Forms/CpraRequest.js +12 -11
- package/dist/Forms/CraPublicFile.js +12 -11
- package/dist/Forms/EmailOnly.js +12 -11
- package/dist/Forms/Forms.css.d.ts +3 -0
- package/dist/Forms/MortgageRate/MortgageRateForm.js +11 -10
- package/dist/Forms/MortgageRate/MortgageRateWatch.js +11 -10
- package/dist/Forms/MortgageWarehouseLending.js +12 -11
- package/dist/Forms/SuccesForm.js +11 -10
- package/dist/HeroBanner/HeroBanner.d.ts +1 -1
- package/dist/HeroBanner/HeroBanner.interface.d.ts +2 -0
- package/dist/HeroBanner/HeroBanner.js +33 -28
- package/dist/Hyperlink/index.js +10 -9
- package/dist/IconBillboard/IconBillboard.css.d.ts +16 -0
- package/dist/IconBillboard/IconBillboard.css.js +7 -4
- package/dist/IconBillboard/IconBillboard.interface.d.ts +2 -0
- package/dist/IconBillboard/IconBillboardSet.js +68 -62
- package/dist/IconBillboard/index.js +2 -1
- package/dist/ImageBillboard/ImageBillboard.interface.d.ts +2 -0
- package/dist/ImageBillboard/ImageBillboardSet.d.ts +1 -1
- package/dist/ImageBillboard/ImageBillboardSet.js +28 -20
- package/dist/ImageLink/ImageLink.js +7 -6
- package/dist/ImageLink/ImageLinkSet.js +6 -5
- package/dist/ImageLink/index.js +10 -9
- package/dist/ImageToast/ImageToast.css.d.ts +5 -0
- package/dist/ImageToast/ImageToast.css.js +13 -0
- package/dist/ImageToast/index.d.ts +9 -0
- package/dist/ImageToast/index.js +188 -0
- package/dist/Insight/Featured/CategorySelector.js +11 -10
- package/dist/Insight/Featured/Featured.js +11 -10
- package/dist/Insight/Featured/Header.js +11 -10
- package/dist/LandingPageHeader/LandingPageHeader.css.d.ts +5 -0
- package/dist/LandingPageHeader/LandingPageHeader.css.js +10 -0
- package/dist/LandingPageHeader/LandingPageHeader.d.ts +2 -1
- package/dist/LandingPageHeader/LandingPageHeader.js +36 -21
- package/dist/LandingPageHeader/WithLogin.d.ts +4 -0
- package/dist/LandingPageHeader/WithLogin.js +459 -0
- package/dist/LandingPageHeader/index.js +6 -1
- package/dist/Modal/Modal.js +12 -11
- package/dist/Modal/contextApi/store.d.ts +4 -0
- package/dist/NavigationMenu/AxosALTS/NavBar.module.js +23 -23
- package/dist/NavigationMenu/AxosALTS/index.js +45 -30
- package/dist/NavigationMenu/AxosAdvisor/index.js +1 -1
- package/dist/NavigationMenu/AxosAdvisorServices/NavBar.module.js +53 -53
- package/dist/NavigationMenu/AxosAdvisorServices/index.js +31 -24
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.js +9 -8
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.d.ts +0 -7
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.js +0 -15
- package/dist/NavigationMenu/AxosBank/SubNavBar.js +25 -117
- package/dist/NavigationMenu/AxosBank/index.js +37 -29
- package/dist/NavigationMenu/AxosClearing/NavBar.module.js +37 -37
- package/dist/NavigationMenu/AxosClearing/SubNavBar.js +6 -6
- package/dist/NavigationMenu/AxosClearing/index.js +31 -16
- package/dist/NavigationMenu/AxosFiduciary/NavBar.module.js +40 -40
- package/dist/NavigationMenu/AxosFiduciary/index.js +5 -2
- package/dist/NavigationMenu/LaVictoire/index.js +12 -11
- package/dist/NavigationMenu/NavItem/index.js +10 -1
- package/dist/NavigationMenu/Navbar.js +13 -12
- package/dist/NavigationMenu/SignInNavButton.js +13 -14
- package/dist/PageNavSet/PageNavSet.js +16 -8
- package/dist/SecondaryFooter/index.js +8 -1
- package/dist/SetContainer/SetContainer.css.d.ts +3 -0
- package/dist/SetContainer/SetContainer.js +8 -7
- package/dist/SocialMediaBar/iconsRepository.js +10 -9
- package/dist/SocialMediaBar/index.js +1 -1
- package/dist/StepItemSet/StepItemSet.css.d.ts +3 -0
- package/dist/Table/Table.css.d.ts +3 -0
- package/dist/Table/Table.css.js +22 -17
- package/dist/Table/Table.d.ts +1 -1
- package/dist/Table/Table.interface.d.ts +5 -8
- package/dist/Table/Table.js +29 -39
- package/dist/Table/index.js +3 -1
- package/dist/TopicalNavItem/TopicalNavItem.css.d.ts +0 -1
- package/dist/TopicalNavItem/TopicalNavItem.css.js +2 -4
- package/dist/TopicalNavItem/TopicalNavItem.js +11 -33
- package/dist/TopicalNavItem/index.js +1 -2
- package/dist/TopicalNavSet/TopicalNavSet.js +17 -9
- package/dist/VideoTile/VideoTile.js +10 -9
- package/dist/VideoWrapper/index.js +10 -9
- package/dist/assets/Article/Article.css +8 -4
- package/dist/assets/ArticlesSet/ArticlesSet.css +54 -39
- package/dist/assets/Auth/SignIn.css +2 -1
- package/dist/assets/Calculators/ApyCalculator/ApyCalculator.css +350 -64
- package/dist/assets/Calculators/AxosOneCalculator/BalanceAPYCalculator.css +2 -2
- package/dist/assets/CallToActionBar/CallToActionBar.css +2 -0
- package/dist/assets/Comparison/Comparison.css +32 -29
- package/dist/assets/DownloadTile/DownloadTile.css +0 -5
- package/dist/assets/FaqAccordion/FaqAccordion.css +1 -1
- package/dist/assets/FooterSiteMap/AxosBank/FooterSiteMap.css +2 -2
- package/dist/assets/Forms/Forms.css +3 -2
- package/dist/assets/HeroBanner/HeroBanner.css +1 -0
- package/dist/assets/IconBillboard/IconBillboard.css +60 -12
- package/dist/assets/ImageBillboard/ImageBillboard.css +0 -12
- package/dist/assets/ImageToast/ImageToast.css +39 -0
- package/dist/assets/LandingPageHeader/LandingPageHeader.css +68 -0
- package/dist/assets/NavigationMenu/AxosALTS/NavBar.css +50 -49
- package/dist/assets/NavigationMenu/AxosAdvisorServices/NavBar.css +122 -121
- package/dist/assets/NavigationMenu/AxosClearing/NavBar.css +93 -92
- package/dist/assets/NavigationMenu/AxosFiduciary/NavBar.css +83 -82
- package/dist/assets/SetContainer/SetContainer.css +7 -10
- package/dist/assets/SocialMediaBar/SocialMediaBar.css +1 -0
- package/dist/assets/StepItemSet/StepItemSet.css +3 -3
- package/dist/assets/Table/Table.css +103 -78
- package/dist/assets/TopicalNavItem/TopicalNavItem.css +25 -52
- package/dist/assets/TopicalNavSet/TopicalNavSet.css +28 -6
- package/dist/assets/VideoTile/VideoTile.css +0 -3
- package/dist/assets/globals.css +46 -2
- package/dist/globals.css.js +8 -1
- package/dist/icons/QuoteIconGrey.js +1 -0
- package/dist/icons/QuoteIconWhite.js +1 -0
- package/dist/icons/QuoteIconYellow.js +1 -0
- package/dist/index.css.js +8 -1
- package/dist/main.js +14 -6
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ import "../../Accordion/Accordion.js";
|
|
|
4
4
|
import "../../Accordion/Accordion.css.js";
|
|
5
5
|
import "../../icons/ArrowIcon/ArrowIcon.css.js";
|
|
6
6
|
import "../../icons/CheckIcon/CheckIcon.css.js";
|
|
7
|
-
import '../../assets/VideoWrapper/VideoWrapper.css';import '../../assets/TopicalNavSet/TopicalNavSet.css';import '../../assets/TopicalNavItem/TopicalNavItem.css';import '../../assets/Topic/Topic.css';import '../../assets/TextBlock/TextBlock.css';import '../../assets/SocialMediaBar/SocialMediaBar.css';import '../../assets/SecondaryFooter/SecondaryFooter.css';import '../../assets/Pagination/Pagination.css';import '../../assets/PageNavSet/PageNavigationSet.css';import '../../assets/NavigationMenu/LaVictoire/NavBar2.css';import '../../assets/NavigationMenu/AxosALTS/NavBar2.css';import '../../assets/NavigationMenu/AxosClearing/NavBar2.css';import '../../assets/NavigationMenu/
|
|
7
|
+
import '../../assets/VideoWrapper/VideoWrapper.css';import '../../assets/TopicalNavSet/TopicalNavSet.css';import '../../assets/TopicalNavItem/TopicalNavItem.css';import '../../assets/Topic/Topic.css';import '../../assets/TextBlock/TextBlock.css';import '../../assets/SocialMediaBar/SocialMediaBar.css';import '../../assets/SecondaryFooter/SecondaryFooter.css';import '../../assets/Pagination/Pagination.css';import '../../assets/PageNavSet/PageNavigationSet.css';import '../../assets/NavigationMenu/LaVictoire/NavBar2.css';import '../../assets/NavigationMenu/AxosALTS/NavBar2.css';import '../../assets/NavigationMenu/AxosClearing/NavBar2.css';import '../../assets/NavigationMenu/AxosAdvisorServices/SubNavbar.css';import '../../assets/NavigationMenu/AxosAdvisorServices/NavBar2.css';import '../../assets/NavigationMenu/AxosAdvisor/SubNavbar.css';import '../../assets/NavigationMenu/AxosAdvisor/NavBar2.css';import '../../assets/NavigationMenu/AxosBank/NavBar2.css';import '../../assets/Insight/Featured/Header.css';import '../../assets/Insight/Featured/CategorySelector.css';import '../../assets/Insight/Featured/Featured.css';import '../../assets/ImageLink/ImageLink.css';import '../../assets/VideoTile/VideoTile.css';import '../../assets/HelpArticle/HelpArticle.css';import '../../assets/FooterSiteMap/AxosBank/FooterSiteMap.css';import '../../assets/FooterDisclosure/LVF/LaVictorieFooter.css';import '../../assets/DownloadTile/DownloadTile.css';import '../../assets/CollectInformationAlert/CollectInformationAlert.css';import '../../assets/Chatbot/ChatWindow.css';import '../../assets/Chatbot/Bubble.css';import '../../assets/Chatbot/AnimatedGradientBorder.css';import '../../assets/CallToActionBar/CallToActionBar.css';import '../../assets/Insight/Insight.css';import '../../assets/AwardsItem/AwardsItem.css';import '../../assets/AwardsBanner/AwardsBanner.css';import '../../assets/Auth/SignIn.css';import '../../assets/Auth/ErrorAlert.css';import '../../assets/Calculators/MarginTradingCalculator/MarginTradingCalculator.css';import '../../assets/Forms/QuickPricer/UserInformation.css';import '../../assets/Forms/QuickPricer/QuickPricerResults.css';import '../../assets/ImageToast/ImageToast.css';import '../../assets/Modal/Modal.css';import '../../assets/BulletItem/BulletItem.css';import '../../assets/Typography/Typography.css';import '../../assets/icons/FollowIcon/FollowIcon.css';import '../../assets/icons/DownloadIcon/DownloadIcon.css';import '../../assets/themes/victorie.css';import '../../assets/themes/ufb.css';import '../../assets/themes/premier.css';import '../../assets/themes/axos.css';/* empty css */
|
|
8
8
|
/* empty css */
|
|
9
9
|
/* empty css */
|
|
10
10
|
/* empty css */
|
|
@@ -27,9 +27,14 @@ import "react-use";
|
|
|
27
27
|
import "../../ArticlesSet/ArticlesSet.css.js";
|
|
28
28
|
import "../../Calculators/calculator.css.js";
|
|
29
29
|
import "../../Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.js";
|
|
30
|
-
import "../../Calculators/ApyCalculator/ApyCalculator.css.js";
|
|
31
30
|
import Image from "next/image.js";
|
|
31
|
+
import "../../Calculators/ApyCalculator/ApyCalculator.css.js";
|
|
32
32
|
import "../../Calculators/ApyCalculatorUserTest/ApyCalculatorUserTest.css.js";
|
|
33
|
+
import "../../HeroBanner/LargeBanner.css.js";
|
|
34
|
+
import "../../HeroBanner/HeroBanner.css.js";
|
|
35
|
+
import "../../HeroBanner/SelectionBanner.css.js";
|
|
36
|
+
/* empty css */
|
|
37
|
+
import "../../SetContainer/SetContainer.css.js";
|
|
33
38
|
import "../../Table/Table.css.js";
|
|
34
39
|
import "../../Calculators/AxosOneCalculator/BalanceAPYCalculator.css.js";
|
|
35
40
|
import "../../Calculators/BalanceAPYCalculator/BalanceAPYCalculator.css.js";
|
|
@@ -73,18 +78,14 @@ import "../../Auth/SignInPassword.js";
|
|
|
73
78
|
/* empty css */
|
|
74
79
|
import "../../Carousel/index.js";
|
|
75
80
|
/* empty css */
|
|
76
|
-
import "../../Chatbot/Chatbot.css.ts.vanilla.css.js";
|
|
77
81
|
/* empty css */
|
|
78
82
|
import "../../Chatbot/store/chat.js";
|
|
79
83
|
import "../../Chatbot/Chatbot.js";
|
|
84
|
+
import "../../Chatbot/Chatbot.css.ts.vanilla.css.js";
|
|
80
85
|
/* empty css */
|
|
81
86
|
import "../../Chatbot/store/messages.js";
|
|
82
87
|
/* empty css */
|
|
83
88
|
import "../../Comparison/Comparison.css.js";
|
|
84
|
-
import "../../HeroBanner/LargeBanner.css.js";
|
|
85
|
-
import "../../HeroBanner/HeroBanner.css.js";
|
|
86
|
-
import "../../HeroBanner/SelectionBanner.css.js";
|
|
87
|
-
import "../../SetContainer/SetContainer.css.js";
|
|
88
89
|
import "../../Tab/Tab.css.js";
|
|
89
90
|
import "../../icons/Star/Star.css.js";
|
|
90
91
|
import "../../ContentBanner/ContentBanner.css.js";
|
|
@@ -103,14 +104,14 @@ import "next/script.js";
|
|
|
103
104
|
/* empty css */
|
|
104
105
|
/* empty css */
|
|
105
106
|
import "../../LandingPageHeader/LandingPageHeader.css.js";
|
|
107
|
+
import Link from "next/link.js";
|
|
108
|
+
import styles from "./NavBar.module.js";
|
|
109
|
+
/* empty css */
|
|
106
110
|
/* empty css */
|
|
107
111
|
import { usePathname } from "next/navigation.js";
|
|
108
112
|
/* empty css */
|
|
109
113
|
/* empty css */
|
|
110
114
|
/* empty css */
|
|
111
|
-
import Link from "next/link.js";
|
|
112
|
-
/* empty css */
|
|
113
|
-
import styles from "./NavBar.module.js";
|
|
114
115
|
import { getSubNavItems } from "./NavData.js";
|
|
115
116
|
/* empty css */
|
|
116
117
|
/* empty css */
|
|
@@ -188,21 +189,19 @@ function SubNavBar() {
|
|
|
188
189
|
if (!subNavPaths.some((el) => pathname?.includes(el) || isHomepage)) {
|
|
189
190
|
return null;
|
|
190
191
|
}
|
|
191
|
-
return /* @__PURE__ */ jsx("div", { className: `${sub_nav} ${styles.desktop_only}`, children: /* @__PURE__ */ jsx("div", { className: styles.wrapper, children: /* @__PURE__ */ jsx("div", { className: styles.header_sub_row, children: /* @__PURE__ */ jsxs("nav", { children: [
|
|
192
|
-
/* @__PURE__ */ jsxs("ul", { className: "list_unstyled flex_row middle",
|
|
192
|
+
return /* @__PURE__ */ jsx("div", { className: `${sub_nav} ${styles.desktop_only}`, children: /* @__PURE__ */ jsx("div", { className: styles.wrapper, children: /* @__PURE__ */ jsx("div", { className: styles.header_sub_row, children: /* @__PURE__ */ jsxs("nav", { "aria-label": "secondary navigation", children: [
|
|
193
|
+
/* @__PURE__ */ jsxs("ul", { className: "list_unstyled flex_row middle", children: [
|
|
193
194
|
(isHomepage || pathname?.includes("/personal") || pathname?.split("/")[1] == "invest" || pathname?.includes("/tools")) && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
194
195
|
/* @__PURE__ */ jsxs(
|
|
195
196
|
"li",
|
|
196
197
|
{
|
|
197
198
|
className: styles.sub_nav_link,
|
|
198
199
|
onMouseEnter: () => handleMouseEnter("bank"),
|
|
199
|
-
role: "menuitem",
|
|
200
200
|
children: [
|
|
201
201
|
/* @__PURE__ */ jsx(
|
|
202
202
|
"a",
|
|
203
203
|
{
|
|
204
204
|
href: resolveUrl("{AXOSBANK}/personal/bank"),
|
|
205
|
-
id: "personalNav1",
|
|
206
205
|
"aria-label": "Press Enter to navigate to the Bank section home page, or press Tab again to focus on the down arrow and press Enter to open the Bank section sub-menu.",
|
|
207
206
|
children: "Bank"
|
|
208
207
|
}
|
|
@@ -227,6 +226,7 @@ function SubNavBar() {
|
|
|
227
226
|
fill: "none",
|
|
228
227
|
xmlns: "http://www.w3.org/2000/svg",
|
|
229
228
|
style: { marginLeft: "8px" },
|
|
229
|
+
"aria-hidden": true,
|
|
230
230
|
children: /* @__PURE__ */ jsx(
|
|
231
231
|
"path",
|
|
232
232
|
{
|
|
@@ -246,13 +246,11 @@ function SubNavBar() {
|
|
|
246
246
|
{
|
|
247
247
|
className: styles.sub_nav_link,
|
|
248
248
|
onMouseEnter: () => handleMouseEnter("borrow"),
|
|
249
|
-
role: "menuitem",
|
|
250
249
|
children: [
|
|
251
250
|
/* @__PURE__ */ jsx(
|
|
252
251
|
"a",
|
|
253
252
|
{
|
|
254
253
|
href: resolveUrl("{AXOSBANK}/personal/borrow"),
|
|
255
|
-
id: "personalNav2",
|
|
256
254
|
"aria-label": "Press Enter to navigate to the Borrow section home page, or press Tab again to focus on the down arrow and press Enter to open the Borrow section sub-menu.",
|
|
257
255
|
children: "Borrow"
|
|
258
256
|
}
|
|
@@ -277,6 +275,7 @@ function SubNavBar() {
|
|
|
277
275
|
fill: "none",
|
|
278
276
|
xmlns: "http://www.w3.org/2000/svg",
|
|
279
277
|
style: { marginLeft: "8px" },
|
|
278
|
+
"aria-hidden": true,
|
|
280
279
|
children: /* @__PURE__ */ jsx(
|
|
281
280
|
"path",
|
|
282
281
|
{
|
|
@@ -296,13 +295,11 @@ function SubNavBar() {
|
|
|
296
295
|
{
|
|
297
296
|
className: styles.sub_nav_link,
|
|
298
297
|
onMouseEnter: () => handleMouseEnter("invest"),
|
|
299
|
-
role: "menuitem",
|
|
300
298
|
children: [
|
|
301
299
|
/* @__PURE__ */ jsx(
|
|
302
300
|
"a",
|
|
303
301
|
{
|
|
304
302
|
href: resolveUrl("{AXOS}/invest"),
|
|
305
|
-
id: "personalNav3",
|
|
306
303
|
"aria-label": "Press Enter to navigate to the Invest section home page, or press Tab again to focus on the down arrow and press Enter to open the Invest section sub-menu.",
|
|
307
304
|
children: "Invest"
|
|
308
305
|
}
|
|
@@ -327,6 +324,7 @@ function SubNavBar() {
|
|
|
327
324
|
fill: "none",
|
|
328
325
|
xmlns: "http://www.w3.org/2000/svg",
|
|
329
326
|
style: { marginLeft: "8px" },
|
|
327
|
+
"aria-hidden": true,
|
|
330
328
|
children: /* @__PURE__ */ jsx(
|
|
331
329
|
"path",
|
|
332
330
|
{
|
|
@@ -346,13 +344,11 @@ function SubNavBar() {
|
|
|
346
344
|
{
|
|
347
345
|
className: styles.sub_nav_link,
|
|
348
346
|
onMouseEnter: () => handleMouseEnter("plan"),
|
|
349
|
-
role: "menuitem",
|
|
350
347
|
children: [
|
|
351
348
|
/* @__PURE__ */ jsx(
|
|
352
349
|
"a",
|
|
353
350
|
{
|
|
354
351
|
href: resolveUrl("{AXOSBANK}/personal/plan"),
|
|
355
|
-
id: "personalNav4",
|
|
356
352
|
"aria-label": "Press Enter to navigate to the Plan section home page, or press Tab again to focus on the down arrow and press Enter to open the Plan section sub-menu.",
|
|
357
353
|
children: "Plan"
|
|
358
354
|
}
|
|
@@ -377,6 +373,7 @@ function SubNavBar() {
|
|
|
377
373
|
fill: "none",
|
|
378
374
|
xmlns: "http://www.w3.org/2000/svg",
|
|
379
375
|
style: { marginLeft: "8px" },
|
|
376
|
+
"aria-hidden": true,
|
|
380
377
|
children: /* @__PURE__ */ jsx(
|
|
381
378
|
"path",
|
|
382
379
|
{
|
|
@@ -398,13 +395,11 @@ function SubNavBar() {
|
|
|
398
395
|
{
|
|
399
396
|
className: styles.sub_nav_link,
|
|
400
397
|
onMouseEnter: () => handleMouseEnter("sbb"),
|
|
401
|
-
role: "menuitem",
|
|
402
398
|
children: [
|
|
403
399
|
/* @__PURE__ */ jsx(
|
|
404
400
|
"a",
|
|
405
401
|
{
|
|
406
402
|
href: resolveUrl("{AXOSBANK}/business"),
|
|
407
|
-
id: "busNav1",
|
|
408
403
|
"aria-label": "Press Enter to navigate to the Small Business Banking section home page, or press Tab again to focus on the down arrow and press Enter to open the Small Business Banking section sub-menu.",
|
|
409
404
|
children: "Small Business Banking"
|
|
410
405
|
}
|
|
@@ -429,6 +424,7 @@ function SubNavBar() {
|
|
|
429
424
|
fill: "none",
|
|
430
425
|
xmlns: "http://www.w3.org/2000/svg",
|
|
431
426
|
style: { marginLeft: "8px" },
|
|
427
|
+
"aria-hidden": true,
|
|
432
428
|
children: /* @__PURE__ */ jsx(
|
|
433
429
|
"path",
|
|
434
430
|
{
|
|
@@ -448,13 +444,11 @@ function SubNavBar() {
|
|
|
448
444
|
{
|
|
449
445
|
className: styles.sub_nav_link,
|
|
450
446
|
onMouseEnter: () => handleMouseEnter("combank"),
|
|
451
|
-
role: "menuitem",
|
|
452
447
|
children: [
|
|
453
448
|
/* @__PURE__ */ jsx(
|
|
454
449
|
"a",
|
|
455
450
|
{
|
|
456
451
|
href: resolveUrl("{AXOSBANK}/commercial/banking"),
|
|
457
|
-
id: "busNav2",
|
|
458
452
|
"aria-label": "Press Enter to navigate to the Commercial Banking section home page, or press Tab again to focus on the down arrow and press Enter to open the Commercial Banking section sub-menu.",
|
|
459
453
|
children: "Commercial Banking"
|
|
460
454
|
}
|
|
@@ -479,6 +473,7 @@ function SubNavBar() {
|
|
|
479
473
|
fill: "none",
|
|
480
474
|
xmlns: "http://www.w3.org/2000/svg",
|
|
481
475
|
style: { marginLeft: "8px" },
|
|
476
|
+
"aria-hidden": true,
|
|
482
477
|
children: /* @__PURE__ */ jsx(
|
|
483
478
|
"path",
|
|
484
479
|
{
|
|
@@ -498,13 +493,11 @@ function SubNavBar() {
|
|
|
498
493
|
{
|
|
499
494
|
className: styles.sub_nav_link,
|
|
500
495
|
onMouseEnter: () => handleMouseEnter("comlending"),
|
|
501
|
-
role: "menuitem",
|
|
502
496
|
children: [
|
|
503
497
|
/* @__PURE__ */ jsx(
|
|
504
498
|
"a",
|
|
505
499
|
{
|
|
506
500
|
href: resolveUrl("{AXOSBANK}/commercial/lending"),
|
|
507
|
-
id: "busNav3",
|
|
508
501
|
"aria-label": "Press Enter to navigate to the Commercial Lending section home page, or press Tab again to focus on the down arrow and press Enter to open the Commercial Lending section sub-menu.",
|
|
509
502
|
children: "Commercial Lending"
|
|
510
503
|
}
|
|
@@ -529,6 +522,7 @@ function SubNavBar() {
|
|
|
529
522
|
fill: "none",
|
|
530
523
|
xmlns: "http://www.w3.org/2000/svg",
|
|
531
524
|
style: { marginLeft: "8px" },
|
|
525
|
+
"aria-hidden": true,
|
|
532
526
|
children: /* @__PURE__ */ jsx(
|
|
533
527
|
"path",
|
|
534
528
|
{
|
|
@@ -550,7 +544,6 @@ function SubNavBar() {
|
|
|
550
544
|
{
|
|
551
545
|
className: styles.sub_nav_link,
|
|
552
546
|
onMouseEnter: () => handleMouseEnter("wholelending"),
|
|
553
|
-
role: "menuitem",
|
|
554
547
|
children: [
|
|
555
548
|
/* @__PURE__ */ jsx(
|
|
556
549
|
"a",
|
|
@@ -558,7 +551,6 @@ function SubNavBar() {
|
|
|
558
551
|
href: resolveUrl(
|
|
559
552
|
"{AXOSBANK}/partners/wholesale-correspondent-portfolio-lending"
|
|
560
553
|
),
|
|
561
|
-
id: "partNav2",
|
|
562
554
|
"aria-label": "Press Enter to navigate to the Wholesale Lending section home page, or press Tab again to focus on the down arrow and press Enter to open the Wholesale Lending section sub-menu.",
|
|
563
555
|
children: "Wholesale Lending"
|
|
564
556
|
}
|
|
@@ -583,6 +575,7 @@ function SubNavBar() {
|
|
|
583
575
|
fill: "none",
|
|
584
576
|
xmlns: "http://www.w3.org/2000/svg",
|
|
585
577
|
style: { marginLeft: "8px" },
|
|
578
|
+
"aria-hidden": true,
|
|
586
579
|
children: /* @__PURE__ */ jsx(
|
|
587
580
|
"path",
|
|
588
581
|
{
|
|
@@ -602,13 +595,11 @@ function SubNavBar() {
|
|
|
602
595
|
{
|
|
603
596
|
className: styles.sub_nav_link,
|
|
604
597
|
onMouseEnter: () => handleMouseEnter("dealerservices"),
|
|
605
|
-
role: "menuitem",
|
|
606
598
|
children: [
|
|
607
599
|
/* @__PURE__ */ jsx(
|
|
608
600
|
"a",
|
|
609
601
|
{
|
|
610
602
|
href: resolveUrl("{AXOSBANK}/partners/dealer-services"),
|
|
611
|
-
id: "partNav5",
|
|
612
603
|
"aria-label": "Press Enter to navigate to the Dealer Services section home page, or press Tab again to focus on the down arrow and press Enter to open the Dealer Services section sub-menu.",
|
|
613
604
|
children: "Dealer Services"
|
|
614
605
|
}
|
|
@@ -633,6 +624,7 @@ function SubNavBar() {
|
|
|
633
624
|
fill: "none",
|
|
634
625
|
xmlns: "http://www.w3.org/2000/svg",
|
|
635
626
|
style: { marginLeft: "8px" },
|
|
627
|
+
"aria-hidden": true,
|
|
636
628
|
children: /* @__PURE__ */ jsx(
|
|
637
629
|
"path",
|
|
638
630
|
{
|
|
@@ -652,7 +644,6 @@ function SubNavBar() {
|
|
|
652
644
|
{
|
|
653
645
|
className: styles.sub_nav_link,
|
|
654
646
|
onMouseEnter: handleMouseLeave,
|
|
655
|
-
role: "menuitem",
|
|
656
647
|
children: /* @__PURE__ */ jsx(
|
|
657
648
|
Link,
|
|
658
649
|
{
|
|
@@ -668,34 +659,10 @@ function SubNavBar() {
|
|
|
668
659
|
)
|
|
669
660
|
] }),
|
|
670
661
|
pathname?.includes("/customer-support") && support.map(
|
|
671
|
-
(item) => /* @__PURE__ */ jsx(
|
|
672
|
-
"li",
|
|
673
|
-
{
|
|
674
|
-
className: styles.sub_nav_link,
|
|
675
|
-
role: "menuitem",
|
|
676
|
-
children: /* @__PURE__ */ jsx(Link, { href: item.url, children: item.name })
|
|
677
|
-
},
|
|
678
|
-
`snb-${item.id}`
|
|
679
|
-
)
|
|
662
|
+
(item) => /* @__PURE__ */ jsx("li", { className: styles.sub_nav_link, children: /* @__PURE__ */ jsx(Link, { href: item.url, children: item.name }) }, `snb-${item.id}`)
|
|
680
663
|
),
|
|
681
|
-
pathname?.includes("/about-us") && about.map((item) => /* @__PURE__ */ jsx(
|
|
682
|
-
|
|
683
|
-
{
|
|
684
|
-
className: styles.sub_nav_link,
|
|
685
|
-
role: "menuitem",
|
|
686
|
-
children: /* @__PURE__ */ jsx(Link, { href: item.url, children: item.name })
|
|
687
|
-
},
|
|
688
|
-
`snb-${item.id}`
|
|
689
|
-
)),
|
|
690
|
-
pathname?.includes("/legal") && legal.map((item) => /* @__PURE__ */ jsx(
|
|
691
|
-
"li",
|
|
692
|
-
{
|
|
693
|
-
className: styles.sub_nav_link,
|
|
694
|
-
role: "menuitem",
|
|
695
|
-
children: /* @__PURE__ */ jsx(Link, { href: item.url, children: item.name })
|
|
696
|
-
},
|
|
697
|
-
`snb-${item.id}`
|
|
698
|
-
))
|
|
664
|
+
pathname?.includes("/about-us") && about.map((item) => /* @__PURE__ */ jsx("li", { className: styles.sub_nav_link, children: /* @__PURE__ */ jsx(Link, { href: item.url, children: item.name }) }, `snb-${item.id}`)),
|
|
665
|
+
pathname?.includes("/legal") && legal.map((item) => /* @__PURE__ */ jsx("li", { className: styles.sub_nav_link, children: /* @__PURE__ */ jsx(Link, { href: item.url, children: item.name }) }, `snb-${item.id}`))
|
|
699
666
|
] }),
|
|
700
667
|
/* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
701
668
|
hoveredLink === "bank" && /* @__PURE__ */ jsx(
|
|
@@ -1311,65 +1278,6 @@ function SubNavBar() {
|
|
|
1311
1278
|
) })
|
|
1312
1279
|
] })
|
|
1313
1280
|
] }),
|
|
1314
|
-
/* @__PURE__ */ jsxs("div", { className: "flex_row", children: [
|
|
1315
|
-
/* @__PURE__ */ jsx(
|
|
1316
|
-
Image,
|
|
1317
|
-
{
|
|
1318
|
-
src: `https://images.axos.com/o9ov1v03uwqk/jpqd1KnknpG6gVaYg04Bl/a55d179434815dc4029ee413d8d7a703/nav-submenu-auto-icon.webp`,
|
|
1319
|
-
alt: "",
|
|
1320
|
-
width: 20,
|
|
1321
|
-
height: 20
|
|
1322
|
-
}
|
|
1323
|
-
),
|
|
1324
|
-
/* @__PURE__ */ jsxs("ul", { className: `${styles.ml_8} list_unstyled`, children: [
|
|
1325
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
1326
|
-
Link,
|
|
1327
|
-
{
|
|
1328
|
-
href: resolveUrl(
|
|
1329
|
-
"{AXOSBANK}/personal/borrow/auto-loans"
|
|
1330
|
-
),
|
|
1331
|
-
role: "heading",
|
|
1332
|
-
children: "Auto Loans"
|
|
1333
|
-
}
|
|
1334
|
-
) }),
|
|
1335
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
1336
|
-
Link,
|
|
1337
|
-
{
|
|
1338
|
-
href: resolveUrl(
|
|
1339
|
-
"{AXOSBANK}/personal/borrow/auto-loans/purchase-a-vehicle"
|
|
1340
|
-
),
|
|
1341
|
-
children: "Auto Purchase Loans"
|
|
1342
|
-
}
|
|
1343
|
-
) }),
|
|
1344
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
1345
|
-
Link,
|
|
1346
|
-
{
|
|
1347
|
-
href: resolveUrl(
|
|
1348
|
-
"{AXOSBANK}/personal/borrow/auto-loans/refinance"
|
|
1349
|
-
),
|
|
1350
|
-
children: "Auto Refinance Loans"
|
|
1351
|
-
}
|
|
1352
|
-
) }),
|
|
1353
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
1354
|
-
Link,
|
|
1355
|
-
{
|
|
1356
|
-
href: resolveUrl(
|
|
1357
|
-
"{AXOSBANK}/tools/calculators/auto-loan-calculator"
|
|
1358
|
-
),
|
|
1359
|
-
children: "Auto Payment Calculator"
|
|
1360
|
-
}
|
|
1361
|
-
) }),
|
|
1362
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
1363
|
-
Link,
|
|
1364
|
-
{
|
|
1365
|
-
href: resolveUrl(
|
|
1366
|
-
"{AXOSBANK}/personal/support/manage-my-loan"
|
|
1367
|
-
),
|
|
1368
|
-
children: "Manage My Loan"
|
|
1369
|
-
}
|
|
1370
|
-
) })
|
|
1371
|
-
] })
|
|
1372
|
-
] }),
|
|
1373
1281
|
/* @__PURE__ */ jsxs("div", { className: "flex_row", children: [
|
|
1374
1282
|
/* @__PURE__ */ jsx(
|
|
1375
1283
|
Image,
|
|
@@ -8,7 +8,7 @@ import "../../Accordion/Accordion.js";
|
|
|
8
8
|
import "../../Accordion/Accordion.css.js";
|
|
9
9
|
import "../../icons/ArrowIcon/ArrowIcon.css.js";
|
|
10
10
|
import "../../icons/CheckIcon/CheckIcon.css.js";
|
|
11
|
-
import '../../assets/VideoWrapper/VideoWrapper.css';import '../../assets/TopicalNavSet/TopicalNavSet.css';import '../../assets/TopicalNavItem/TopicalNavItem.css';import '../../assets/Topic/Topic.css';import '../../assets/TextBlock/TextBlock.css';import '../../assets/SocialMediaBar/SocialMediaBar.css';import '../../assets/SecondaryFooter/SecondaryFooter.css';import '../../assets/Pagination/Pagination.css';import '../../assets/PageNavSet/PageNavigationSet.css';import '../../assets/NavigationMenu/LaVictoire/NavBar2.css';import '../../assets/NavigationMenu/AxosALTS/NavBar2.css';import '../../assets/NavigationMenu/AxosClearing/NavBar2.css';import '../../assets/NavigationMenu/AxosAdvisorServices/SubNavbar.css';import '../../assets/NavigationMenu/AxosAdvisorServices/NavBar2.css';import '../../assets/NavigationMenu/AxosAdvisor/SubNavbar.css';import '../../assets/NavigationMenu/AxosAdvisor/NavBar2.css';import '../../assets/Insight/Featured/Header.css';import '../../assets/Insight/Featured/CategorySelector.css';import '../../assets/Insight/Featured/Featured.css';import '../../assets/ImageLink/ImageLink.css';import '../../assets/VideoTile/VideoTile.css';import '../../assets/HelpArticle/HelpArticle.css';import '../../assets/FooterSiteMap/AxosBank/FooterSiteMap.css';import '../../assets/FooterDisclosure/LVF/LaVictorieFooter.css';import '../../assets/DownloadTile/DownloadTile.css';import '../../assets/CollectInformationAlert/CollectInformationAlert.css';import '../../assets/Chatbot/ChatWindow.css';import '../../assets/Chatbot/Bubble.css';import '../../assets/Chatbot/AnimatedGradientBorder.css';import '../../assets/CallToActionBar/CallToActionBar.css';import '../../assets/Insight/Insight.css';import '../../assets/AwardsItem/AwardsItem.css';import '../../assets/AwardsBanner/AwardsBanner.css';import '../../assets/Auth/SignIn.css';import '../../assets/Auth/ErrorAlert.css';import '../../assets/Calculators/MarginTradingCalculator/MarginTradingCalculator.css';import '../../assets/Forms/QuickPricer/UserInformation.css';import '../../assets/Forms/QuickPricer/QuickPricerResults.css';import '../../assets/Modal/Modal.css';import '../../assets/BulletItem/BulletItem.css';import '../../assets/Typography/Typography.css';import '../../assets/icons/FollowIcon/FollowIcon.css';import '../../assets/icons/DownloadIcon/DownloadIcon.css';import '../../assets/themes/victorie.css';import '../../assets/themes/ufb.css';import '../../assets/themes/premier.css';import '../../assets/themes/axos.css';/* empty css */
|
|
11
|
+
import '../../assets/VideoWrapper/VideoWrapper.css';import '../../assets/TopicalNavSet/TopicalNavSet.css';import '../../assets/TopicalNavItem/TopicalNavItem.css';import '../../assets/Topic/Topic.css';import '../../assets/TextBlock/TextBlock.css';import '../../assets/SocialMediaBar/SocialMediaBar.css';import '../../assets/SecondaryFooter/SecondaryFooter.css';import '../../assets/Pagination/Pagination.css';import '../../assets/PageNavSet/PageNavigationSet.css';import '../../assets/NavigationMenu/LaVictoire/NavBar2.css';import '../../assets/NavigationMenu/AxosALTS/NavBar2.css';import '../../assets/NavigationMenu/AxosClearing/NavBar2.css';import '../../assets/NavigationMenu/AxosAdvisorServices/SubNavbar.css';import '../../assets/NavigationMenu/AxosAdvisorServices/NavBar2.css';import '../../assets/NavigationMenu/AxosAdvisor/SubNavbar.css';import '../../assets/NavigationMenu/AxosAdvisor/NavBar2.css';import '../../assets/Insight/Featured/Header.css';import '../../assets/Insight/Featured/CategorySelector.css';import '../../assets/Insight/Featured/Featured.css';import '../../assets/ImageLink/ImageLink.css';import '../../assets/VideoTile/VideoTile.css';import '../../assets/HelpArticle/HelpArticle.css';import '../../assets/FooterSiteMap/AxosBank/FooterSiteMap.css';import '../../assets/FooterDisclosure/LVF/LaVictorieFooter.css';import '../../assets/DownloadTile/DownloadTile.css';import '../../assets/CollectInformationAlert/CollectInformationAlert.css';import '../../assets/Chatbot/ChatWindow.css';import '../../assets/Chatbot/Bubble.css';import '../../assets/Chatbot/AnimatedGradientBorder.css';import '../../assets/CallToActionBar/CallToActionBar.css';import '../../assets/Insight/Insight.css';import '../../assets/AwardsItem/AwardsItem.css';import '../../assets/AwardsBanner/AwardsBanner.css';import '../../assets/Auth/SignIn.css';import '../../assets/Auth/ErrorAlert.css';import '../../assets/Calculators/MarginTradingCalculator/MarginTradingCalculator.css';import '../../assets/Forms/QuickPricer/UserInformation.css';import '../../assets/Forms/QuickPricer/QuickPricerResults.css';import '../../assets/Modal/Modal.css';import '../../assets/ImageToast/ImageToast.css';import '../../assets/BulletItem/BulletItem.css';import '../../assets/Typography/Typography.css';import '../../assets/icons/FollowIcon/FollowIcon.css';import '../../assets/icons/DownloadIcon/DownloadIcon.css';import '../../assets/themes/victorie.css';import '../../assets/themes/ufb.css';import '../../assets/themes/premier.css';import '../../assets/themes/axos.css';/* empty css */
|
|
12
12
|
/* empty css */
|
|
13
13
|
/* empty css */
|
|
14
14
|
/* empty css */
|
|
@@ -23,10 +23,17 @@ import "../../ArticlesSet/ArticlesSet.css.js";
|
|
|
23
23
|
import "../../IconBillboard/IconBillboard.css.js";
|
|
24
24
|
import "../../Calculators/calculator.css.js";
|
|
25
25
|
import "../../Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.js";
|
|
26
|
-
import "../../Calculators/ApyCalculator/ApyCalculator.css.js";
|
|
27
26
|
import { useGlobalContext } from "../../Modal/contextApi/store.js";
|
|
28
27
|
import "next/image.js";
|
|
28
|
+
import "../../Calculators/ApyCalculator/ApyCalculator.css.js";
|
|
29
29
|
import "../../Calculators/ApyCalculatorUserTest/ApyCalculatorUserTest.css.js";
|
|
30
|
+
import "../../HeroBanner/LargeBanner.css.js";
|
|
31
|
+
import "../../HeroBanner/HeroBanner.css.js";
|
|
32
|
+
import "../../HeroBanner/SelectionBanner.css.js";
|
|
33
|
+
/* empty css */
|
|
34
|
+
/* empty css */
|
|
35
|
+
/* empty css */
|
|
36
|
+
import "../../SetContainer/SetContainer.css.js";
|
|
30
37
|
import "../../Table/Table.css.js";
|
|
31
38
|
import "../../Calculators/AxosOneCalculator/BalanceAPYCalculator.css.js";
|
|
32
39
|
import "../../Calculators/BalanceAPYCalculator/BalanceAPYCalculator.css.js";
|
|
@@ -48,8 +55,6 @@ import "../../Calculators/BuyDownCalculator/BuyDownCalculator.css.js";
|
|
|
48
55
|
import "../../Forms/Forms.css.js";
|
|
49
56
|
import "../../Forms/HoneyPot/index.js";
|
|
50
57
|
import "../../Forms/SalesforceFieldsForm.js";
|
|
51
|
-
/* empty css */
|
|
52
|
-
/* empty css */
|
|
53
58
|
import "../../Input/RadioButton.css.js";
|
|
54
59
|
import "../../Input/Checkbox.css.js";
|
|
55
60
|
import "../../LoadingIndicator/LoadingIndicator.css.js";
|
|
@@ -74,18 +79,14 @@ import "../../Auth/SignInPassword.js";
|
|
|
74
79
|
/* empty css */
|
|
75
80
|
import "../../Carousel/index.js";
|
|
76
81
|
/* empty css */
|
|
77
|
-
import "../../Chatbot/Chatbot.css.ts.vanilla.css.js";
|
|
78
82
|
/* empty css */
|
|
79
83
|
import "../../Chatbot/store/chat.js";
|
|
80
84
|
import "../../Chatbot/Chatbot.js";
|
|
85
|
+
import "../../Chatbot/Chatbot.css.ts.vanilla.css.js";
|
|
81
86
|
/* empty css */
|
|
82
87
|
import "../../Chatbot/store/messages.js";
|
|
83
88
|
/* empty css */
|
|
84
89
|
import "../../Comparison/Comparison.css.js";
|
|
85
|
-
import "../../HeroBanner/LargeBanner.css.js";
|
|
86
|
-
import "../../HeroBanner/HeroBanner.css.js";
|
|
87
|
-
import "../../HeroBanner/SelectionBanner.css.js";
|
|
88
|
-
import "../../SetContainer/SetContainer.css.js";
|
|
89
90
|
import "../../Tab/Tab.css.js";
|
|
90
91
|
import "../../icons/Star/Star.css.js";
|
|
91
92
|
import "../../ContentBanner/ContentBanner.css.js";
|
|
@@ -104,6 +105,9 @@ import "next/script.js";
|
|
|
104
105
|
/* empty css */
|
|
105
106
|
/* empty css */
|
|
106
107
|
import "../../LandingPageHeader/LandingPageHeader.css.js";
|
|
108
|
+
import "next/link.js";
|
|
109
|
+
import styles from "./NavBar.module.js";
|
|
110
|
+
import { logo_variant, main_nav_link, highlight, Sign_in_btn, signin_subheader } from "./NavBar.css.js";
|
|
107
111
|
import { NavItem } from "../NavItem/index.js";
|
|
108
112
|
/* empty css */
|
|
109
113
|
import "next/navigation.js";
|
|
@@ -113,7 +117,6 @@ import "next/navigation.js";
|
|
|
113
117
|
/* empty css */
|
|
114
118
|
/* empty css */
|
|
115
119
|
/* empty css */
|
|
116
|
-
import "next/link.js";
|
|
117
120
|
import "../../PageNavItem/PageNavItem.css.js";
|
|
118
121
|
import "react-slick";
|
|
119
122
|
/* empty css */
|
|
@@ -128,8 +131,6 @@ import "../../StepItemSet/StepItemSet.css.js";
|
|
|
128
131
|
/* empty css */
|
|
129
132
|
/* empty css */
|
|
130
133
|
import MobileDrawerMenu from "./MobileMenu/MobileMenu.js";
|
|
131
|
-
import { logo_variant, main_nav_link, highlight, Sign_in_btn, signin_subheader } from "./NavBar.css.js";
|
|
132
|
-
import styles from "./NavBar.module.js";
|
|
133
134
|
import { getNavItems } from "./NavData.js";
|
|
134
135
|
import SubNavBar from "./SubNavBar.js";
|
|
135
136
|
function NavBar({
|
|
@@ -184,7 +185,7 @@ function NavBar({
|
|
|
184
185
|
if (withSession) {
|
|
185
186
|
console.log("withSession");
|
|
186
187
|
}
|
|
187
|
-
return /* @__PURE__ */ jsxs("header", { id: "header", children: [
|
|
188
|
+
return /* @__PURE__ */ jsxs("header", { id: "header", "aria-label": "main header", children: [
|
|
188
189
|
/* @__PURE__ */ jsx("div", { className: `${styles.header} bg_white`, children: /* @__PURE__ */ jsxs("div", { className: styles.wrapper, children: [
|
|
189
190
|
/* @__PURE__ */ jsx("a", { href: "#main-body", id: "skip_content", className: styles.skip_btn, children: "Skip to main content" }),
|
|
190
191
|
/* @__PURE__ */ jsxs("div", { className: `${styles.header_main_row} flex_row between middle`, children: [
|
|
@@ -202,6 +203,7 @@ function NavBar({
|
|
|
202
203
|
viewBox: "0 0 137 30",
|
|
203
204
|
fill: "none",
|
|
204
205
|
xmlns: "http://www.w3.org/2000/svg",
|
|
206
|
+
"aria-hidden": "true",
|
|
205
207
|
children: [
|
|
206
208
|
/* @__PURE__ */ jsx(
|
|
207
209
|
"path",
|
|
@@ -263,20 +265,27 @@ function NavBar({
|
|
|
263
265
|
)
|
|
264
266
|
}
|
|
265
267
|
) }),
|
|
266
|
-
/* @__PURE__ */ jsx(
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
268
|
+
/* @__PURE__ */ jsx(
|
|
269
|
+
"nav",
|
|
270
|
+
{
|
|
271
|
+
className: styles.primary_links,
|
|
272
|
+
"aria-label": "primary navigation",
|
|
273
|
+
children: /* @__PURE__ */ jsx("ul", { className: "list_unstyled flex_row middle", children: navItems.map(
|
|
274
|
+
(item, i, arr) => arr.length - 1 !== i && /* @__PURE__ */ jsx(
|
|
275
|
+
NavItem,
|
|
276
|
+
{
|
|
277
|
+
className: `${styles.main_nav_link} ${main_nav_link}`,
|
|
278
|
+
onClick: handleClick,
|
|
279
|
+
index: i,
|
|
280
|
+
name: item.name,
|
|
281
|
+
url: item.url,
|
|
282
|
+
isActive: activeIndex == i
|
|
283
|
+
},
|
|
284
|
+
i
|
|
285
|
+
)
|
|
286
|
+
) })
|
|
287
|
+
}
|
|
288
|
+
)
|
|
280
289
|
] }) }),
|
|
281
290
|
/* @__PURE__ */ jsxs("div", { className: `${styles.mobile_only} ${styles.mobile_logo}`, children: [
|
|
282
291
|
/* @__PURE__ */ jsx(
|
|
@@ -292,6 +301,7 @@ function NavBar({
|
|
|
292
301
|
viewBox: "0 0 137 30",
|
|
293
302
|
fill: "none",
|
|
294
303
|
xmlns: "http://www.w3.org/2000/svg",
|
|
304
|
+
"aria-hidden": true,
|
|
295
305
|
children: [
|
|
296
306
|
/* @__PURE__ */ jsx(
|
|
297
307
|
"path",
|
|
@@ -361,7 +371,6 @@ function NavBar({
|
|
|
361
371
|
className: `${styles.desktop_only} flex_row middle relative`,
|
|
362
372
|
ref,
|
|
363
373
|
onKeyDown: handleKeyDownContainer,
|
|
364
|
-
role: "menubar",
|
|
365
374
|
children: [
|
|
366
375
|
lastNavItem && /* @__PURE__ */ jsx(
|
|
367
376
|
NavItem,
|
|
@@ -393,7 +402,6 @@ function NavBar({
|
|
|
393
402
|
action: toggle,
|
|
394
403
|
size: "small",
|
|
395
404
|
"aria-controls": "signin-drop-menu",
|
|
396
|
-
role: "menuitem",
|
|
397
405
|
children: [
|
|
398
406
|
/* @__PURE__ */ jsx("span", { children: "Log in" }),
|
|
399
407
|
/* @__PURE__ */ jsx(
|