@axos-web-dev/shared-components 0.0.189 → 0.0.190
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 +2 -0
- package/dist/Button/Button.js +2 -0
- package/dist/Calculators/Calculator.js +2 -0
- package/dist/Carousel/index.js +2 -0
- package/dist/Chevron/index.js +2 -0
- package/dist/Comparison/Comparison.js +2 -0
- package/dist/FaqAccordion/index.js +2 -0
- package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +2 -0
- package/dist/Forms/ContactUsBusiness.js +2 -0
- package/dist/Forms/ContactUsNMLSId.js +2 -0
- package/dist/Forms/EmailOnly.js +2 -0
- package/dist/Forms/MortgageRate/MortgageRateForm.js +2 -0
- package/dist/Forms/MortgageRate/MortgageRateWatch.js +2 -0
- package/dist/Forms/SuccesForm.js +2 -0
- package/dist/Hyperlink/index.js +2 -0
- package/dist/ImageLink/ImageLink.js +2 -0
- package/dist/ImageLink/ImageLinkSet.js +2 -0
- package/dist/ImageLink/index.js +2 -0
- package/dist/Insight/Featured/CategorySelector.js +2 -0
- package/dist/Insight/Featured/Featured.js +2 -0
- package/dist/Insight/Featured/Header.js +2 -0
- package/dist/Modal/Modal.js +2 -0
- package/dist/NavigationMenu/AxosBank/NavBar.module.js +53 -53
- package/dist/NavigationMenu/AxosBank/NavData.js +2 -0
- package/dist/NavigationMenu/AxosBank/SubNavBar.js +4 -2
- package/dist/NavigationMenu/AxosBank/index.js +4 -2
- package/dist/NavigationMenu/LaVictoire/NavBar.css.d.ts +1 -0
- package/dist/NavigationMenu/LaVictoire/NavBar.css.js +5 -0
- package/dist/NavigationMenu/LaVictoire/NavBar.module.js +116 -0
- package/dist/NavigationMenu/LaVictoire/NavData.d.ts +2 -0
- package/dist/NavigationMenu/LaVictoire/NavData.js +139 -0
- package/dist/NavigationMenu/LaVictoire/SubNavBar.d.ts +1 -0
- package/dist/NavigationMenu/LaVictoire/SubNavBar.js +21 -0
- package/dist/NavigationMenu/LaVictoire/index.d.ts +2 -0
- package/dist/NavigationMenu/LaVictoire/index.js +576 -0
- package/dist/NavigationMenu/index.d.ts +1 -0
- package/dist/NavigationMenu/index.js +3 -1
- package/dist/SetContainer/SetContainer.js +2 -0
- package/dist/SocialMediaBar/iconsRepository.js +2 -0
- package/dist/VideoWrapper/index.js +2 -0
- package/dist/assets/NavigationMenu/AxosBank/NavBar.css.css +658 -658
- package/dist/assets/NavigationMenu/LaVictoire/NavBar.css +3 -0
- package/dist/assets/NavigationMenu/LaVictoire/NavBar.css.css +429 -0
- package/dist/main.js +2 -0
- package/package.json +130 -130
|
@@ -0,0 +1,576 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
3
|
+
import { Button } from "../../Button/Button.js";
|
|
4
|
+
import "../../Button/Button.css.js";
|
|
5
|
+
import { useState, useRef, useEffect } from "react";
|
|
6
|
+
import { useClickAway } from "react-use";
|
|
7
|
+
import "../../Accordion/Accordion.js";
|
|
8
|
+
import "../../Accordion/Accordion.css.js";
|
|
9
|
+
import "../../icons/ArrowIcon/ArrowIcon.css.js";
|
|
10
|
+
import "../../icons/CheckIcon/CheckIcon.css.js";
|
|
11
|
+
/* empty css */
|
|
12
|
+
/* empty css */
|
|
13
|
+
/* empty css */
|
|
14
|
+
/* empty css */
|
|
15
|
+
import "../../Chevron/Chevron.css.js";
|
|
16
|
+
import "../../AlertBanner/AlertBanner.css.js";
|
|
17
|
+
import "../../Article/Article.css.js";
|
|
18
|
+
import "../../ArticlesSet/ArticlesSet.css.js";
|
|
19
|
+
import "../../IconBillboard/IconBillboard.css.js";
|
|
20
|
+
import { findMoreAxosDomains } from "../../utils/allowedAxosDomains.js";
|
|
21
|
+
import { appendQueryParams } from "../../utils/appendQueryParams.js";
|
|
22
|
+
import clsx from "clsx";
|
|
23
|
+
import "../../Calculators/calculator.css.js";
|
|
24
|
+
import "../../Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.js";
|
|
25
|
+
import "../../Calculators/ApyCalculator/ApyCalculator.css.js";
|
|
26
|
+
import "../../Table/Table.css.js";
|
|
27
|
+
import "../../Calculators/AxosOneCalculator/BalanceAPYCalculator.css.js";
|
|
28
|
+
import "../../Calculators/BalanceAPYCalculator/BalanceAPYCalculator.css.js";
|
|
29
|
+
import "@hookform/resolvers/zod";
|
|
30
|
+
import "../../Input/Checkbox.js";
|
|
31
|
+
import "../../Input/CurrencyInput.js";
|
|
32
|
+
import "../../Input/Dropdown.js";
|
|
33
|
+
import "../../Input/Dropdown.css.js";
|
|
34
|
+
import "../../Input/Input.js";
|
|
35
|
+
import "../../Input/Input.css.js";
|
|
36
|
+
import "../../Input/InputAmount.js";
|
|
37
|
+
import "../../Input/InputPhone.js";
|
|
38
|
+
import "../../Input/InputTextArea.js";
|
|
39
|
+
import "../../Input/DownPaymentInput.js";
|
|
40
|
+
import "../../Input/RadioButton.js";
|
|
41
|
+
import "react-hook-form";
|
|
42
|
+
import "../../Forms/Forms.css.js";
|
|
43
|
+
import "../../Forms/SalesforceFieldsForm.js";
|
|
44
|
+
import "../../Input/RadioButton.css.js";
|
|
45
|
+
import "../../Input/Checkbox.css.js";
|
|
46
|
+
import "../../LoadingIndicator/LoadingIndicator.css.js";
|
|
47
|
+
import "../../Interstitial/Interstitial-variants.css.js";
|
|
48
|
+
import "../../Inputs/Input.css.js";
|
|
49
|
+
/* empty css */
|
|
50
|
+
import "../../Hyperlink/Hyperlink.css.js";
|
|
51
|
+
/* empty css */
|
|
52
|
+
import "iframe-resizer";
|
|
53
|
+
/* empty css */
|
|
54
|
+
import "../../Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js";
|
|
55
|
+
/* empty css */
|
|
56
|
+
/* empty css */
|
|
57
|
+
/* empty css */
|
|
58
|
+
/* empty css */
|
|
59
|
+
/* empty css */
|
|
60
|
+
import "../../Carousel/index.js";
|
|
61
|
+
/* empty css */
|
|
62
|
+
import "../../Comparison/Comparison.css.js";
|
|
63
|
+
import "../../HeroBanner/HeroBanner.css.js";
|
|
64
|
+
import "../../HeroBanner/LargeBanner.css.js";
|
|
65
|
+
import "../../HeroBanner/SelectionBanner.css.js";
|
|
66
|
+
import "../../SetContainer/SetContainer.css.js";
|
|
67
|
+
import "../../Tab/Tab.css.js";
|
|
68
|
+
import "../../icons/Star/Star.css.js";
|
|
69
|
+
import "../../ContentBanner/ContentBanner.css.js";
|
|
70
|
+
/* empty css */
|
|
71
|
+
import "../../ExecutiveBio/ExecutiveBio.css.js";
|
|
72
|
+
import "../../FaqAccordion/index.js";
|
|
73
|
+
import "../../FooterDisclosure/FooterDisclosure.css.js";
|
|
74
|
+
/* empty css */
|
|
75
|
+
import "../../ImageBillboard/ImageBillboard.css.js";
|
|
76
|
+
/* empty css */
|
|
77
|
+
/* empty css */
|
|
78
|
+
/* empty css */
|
|
79
|
+
/* empty css */
|
|
80
|
+
/* empty css */
|
|
81
|
+
import "../../LandingPageHeader/LandingPageHeader.css.js";
|
|
82
|
+
/* empty css */
|
|
83
|
+
import "../../Modal/contextApi/store.js";
|
|
84
|
+
import { NavItem } from "../NavItem/index.js";
|
|
85
|
+
/* empty css */
|
|
86
|
+
/* empty css */
|
|
87
|
+
/* empty css */
|
|
88
|
+
/* empty css */
|
|
89
|
+
/* empty css */
|
|
90
|
+
import "../AxosBank/NavData.js";
|
|
91
|
+
import "next/navigation.js";
|
|
92
|
+
import "next/image.js";
|
|
93
|
+
/* empty css */
|
|
94
|
+
import "next/link.js";
|
|
95
|
+
/* empty css */
|
|
96
|
+
import "../../PageNavItem/PageNavItem.css.js";
|
|
97
|
+
import "react-slick";
|
|
98
|
+
/* empty css */
|
|
99
|
+
/* empty css */
|
|
100
|
+
/* empty css */
|
|
101
|
+
/* empty css */
|
|
102
|
+
import "../../StepItem/StepItem.css.js";
|
|
103
|
+
import "../../StepItemSet/StepItemSet.css.js";
|
|
104
|
+
/* empty css */
|
|
105
|
+
/* empty css */
|
|
106
|
+
/* empty css */
|
|
107
|
+
import "next/script.js";
|
|
108
|
+
/* empty css */
|
|
109
|
+
/* empty css */
|
|
110
|
+
import styles from "./NavBar.module.js";
|
|
111
|
+
import { expand } from "./NavBar.css.js";
|
|
112
|
+
import { navItems } from "./NavData.js";
|
|
113
|
+
import SubNavBar from "./SubNavBar.js";
|
|
114
|
+
function NavBar() {
|
|
115
|
+
const [isOpenSignIn, setisOpenSignIn] = useState(false);
|
|
116
|
+
const [isOpenSignInToggle, setisOpenSignInToggle] = useState(false);
|
|
117
|
+
const [isOpenMobile, setisOpenMobile] = useState(false);
|
|
118
|
+
const [activeIndex, setActiveIndex] = useState();
|
|
119
|
+
const [lastNavItem, setLastNavItem] = useState();
|
|
120
|
+
const ref = useRef(null);
|
|
121
|
+
const toggle = () => setisOpenSignIn(!isOpenSignIn);
|
|
122
|
+
const signInToggle = () => setisOpenSignInToggle(!isOpenSignInToggle);
|
|
123
|
+
const mobileToggle = () => setisOpenMobile(!isOpenMobile);
|
|
124
|
+
const handleClick = (index) => setActiveIndex(index);
|
|
125
|
+
const [isOpenProducts1, setisOpenProducts1] = useState(false);
|
|
126
|
+
const toggleProducts1 = () => setisOpenProducts1(!isOpenProducts1);
|
|
127
|
+
const [isClient, setIsClient] = useState(false);
|
|
128
|
+
const getActiveIndex = () => {
|
|
129
|
+
const pathname = "/" + location.pathname.split("/")[1];
|
|
130
|
+
const index = navItems.findIndex(
|
|
131
|
+
(path) => path.url === pathname
|
|
132
|
+
);
|
|
133
|
+
setActiveIndex(index);
|
|
134
|
+
};
|
|
135
|
+
useEffect(() => {
|
|
136
|
+
getActiveIndex();
|
|
137
|
+
}, [activeIndex]);
|
|
138
|
+
useEffect(() => {
|
|
139
|
+
setLastNavItem(navItems[navItems.length - 1]);
|
|
140
|
+
}, []);
|
|
141
|
+
useClickAway(ref, (e) => {
|
|
142
|
+
if (e?.target?.tagName !== "A") {
|
|
143
|
+
setisOpenSignIn(false);
|
|
144
|
+
}
|
|
145
|
+
});
|
|
146
|
+
useEffect(() => {
|
|
147
|
+
appendQueryParams();
|
|
148
|
+
}, [lastNavItem]);
|
|
149
|
+
useEffect(() => {
|
|
150
|
+
setIsClient(true);
|
|
151
|
+
}, []);
|
|
152
|
+
const handleKeyDownContainer = (e) => {
|
|
153
|
+
if (e.key === "Tab") {
|
|
154
|
+
const focusableElements = ref.current?.querySelectorAll(
|
|
155
|
+
'button, [href], a, [tabindex]:not([tabindex="-1"])'
|
|
156
|
+
);
|
|
157
|
+
if (focusableElements && isClient) {
|
|
158
|
+
const lastElement = focusableElements[focusableElements.length - 1];
|
|
159
|
+
const isShiftPressed = e.shiftKey;
|
|
160
|
+
if (!isShiftPressed && document.activeElement === lastElement) {
|
|
161
|
+
e.preventDefault();
|
|
162
|
+
toggle();
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
};
|
|
167
|
+
return /* @__PURE__ */ jsxs("header", { id: "header", className: "relative", children: [
|
|
168
|
+
/* @__PURE__ */ jsx("div", { className: `${styles.header} bg_white`, children: /* @__PURE__ */ jsxs("div", { className: styles.wrapper, children: [
|
|
169
|
+
/* @__PURE__ */ jsx("a", { href: "#main-body", id: "skip_content", className: styles.skip_btn, children: "Skip to main content" }),
|
|
170
|
+
/* @__PURE__ */ jsxs("div", { className: `${styles.header_main_row} flex_row between middle`, children: [
|
|
171
|
+
/* @__PURE__ */ jsx("div", { className: `${styles.desktop_only} flex_row middle`, children: /* @__PURE__ */ jsxs("div", { className: `flex_row middle`, children: [
|
|
172
|
+
/* @__PURE__ */ jsx("div", { className: styles.logo_wrap, children: /* @__PURE__ */ jsx("a", { href: "/", "aria-label": "return to homepage", children: /* @__PURE__ */ jsx(
|
|
173
|
+
"img",
|
|
174
|
+
{
|
|
175
|
+
src: "https://images.axos.com/o9ov1v03uwqk/2sdSMLJ9k9R1aBd669tPLG/617f646451eb239aadf335272aae71c7/lvf-logo-inline.svg",
|
|
176
|
+
alt: ""
|
|
177
|
+
}
|
|
178
|
+
) }) }),
|
|
179
|
+
/* @__PURE__ */ jsx("nav", { className: styles.primary_links, children: /* @__PURE__ */ jsx("ul", { className: "list_unstyled flex_row middle", role: "menu", children: navItems.map(
|
|
180
|
+
(item, i, arr) => arr.length - 1 !== i && /* @__PURE__ */ jsx(
|
|
181
|
+
NavItem,
|
|
182
|
+
{
|
|
183
|
+
className: `${styles.main_nav_link}`,
|
|
184
|
+
onClick: handleClick,
|
|
185
|
+
index: i,
|
|
186
|
+
name: item.name,
|
|
187
|
+
url: item.url,
|
|
188
|
+
isActive: activeIndex == i
|
|
189
|
+
},
|
|
190
|
+
i
|
|
191
|
+
)
|
|
192
|
+
) }) })
|
|
193
|
+
] }) }),
|
|
194
|
+
/* @__PURE__ */ jsx(
|
|
195
|
+
"button",
|
|
196
|
+
{
|
|
197
|
+
className: clsx(styles.mobile_only, styles.hamburger),
|
|
198
|
+
onClick: mobileToggle,
|
|
199
|
+
children: /* @__PURE__ */ jsx(
|
|
200
|
+
"svg",
|
|
201
|
+
{
|
|
202
|
+
width: "24",
|
|
203
|
+
height: "24",
|
|
204
|
+
viewBox: "0 0 24 24",
|
|
205
|
+
fill: "none",
|
|
206
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
207
|
+
children: /* @__PURE__ */ jsx(
|
|
208
|
+
"path",
|
|
209
|
+
{
|
|
210
|
+
fillRule: "evenodd",
|
|
211
|
+
clipRule: "evenodd",
|
|
212
|
+
d: "M22.5 15.75V17.25H1.5V15.75H22.5ZM22.5 11.25V12.75H1.5V11.25H22.5ZM22.5 6.75V8.25H1.5V6.75H22.5Z",
|
|
213
|
+
fill: "#4A5560"
|
|
214
|
+
}
|
|
215
|
+
)
|
|
216
|
+
}
|
|
217
|
+
)
|
|
218
|
+
}
|
|
219
|
+
),
|
|
220
|
+
/* @__PURE__ */ jsx("div", { className: `${styles.mobile_only} ${styles.mobile_logo}`, children: /* @__PURE__ */ jsx("a", { href: "/", "aria-label": "return to axos bank homepage", children: /* @__PURE__ */ jsx(
|
|
221
|
+
"img",
|
|
222
|
+
{
|
|
223
|
+
src: "https://images.axos.com/o9ov1v03uwqk/8HDqdiU6SQrfT9DhtPY8g/4fc7f7f08f786b839dd00f4611b7b998/lvf-logo-mobile.svg",
|
|
224
|
+
alt: ""
|
|
225
|
+
}
|
|
226
|
+
) }) }),
|
|
227
|
+
/* @__PURE__ */ jsx("div", { className: styles.signin_wrap, children: /* @__PURE__ */ jsxs(
|
|
228
|
+
"div",
|
|
229
|
+
{
|
|
230
|
+
className: `${styles.desktop_only} flex_row middle relative`,
|
|
231
|
+
ref,
|
|
232
|
+
onKeyDown: handleKeyDownContainer,
|
|
233
|
+
children: [
|
|
234
|
+
lastNavItem && /* @__PURE__ */ jsx(
|
|
235
|
+
NavItem,
|
|
236
|
+
{
|
|
237
|
+
url: lastNavItem.url,
|
|
238
|
+
name: lastNavItem.name,
|
|
239
|
+
className: `link list_unstyled ${styles.main_nav_link} ${styles.highlight}`,
|
|
240
|
+
isActive: activeIndex == navItems.length,
|
|
241
|
+
onClick: handleClick,
|
|
242
|
+
index: navItems.length
|
|
243
|
+
},
|
|
244
|
+
navItems.length + 1
|
|
245
|
+
),
|
|
246
|
+
/* @__PURE__ */ jsxs(
|
|
247
|
+
Button,
|
|
248
|
+
{
|
|
249
|
+
className: clsx(
|
|
250
|
+
styles.signin_btn,
|
|
251
|
+
"flex_row",
|
|
252
|
+
"center",
|
|
253
|
+
"middle",
|
|
254
|
+
isOpenSignIn ? styles.open : ""
|
|
255
|
+
),
|
|
256
|
+
as: "button",
|
|
257
|
+
type: "button",
|
|
258
|
+
id: "signIn",
|
|
259
|
+
action: toggle,
|
|
260
|
+
size: "small",
|
|
261
|
+
"aria-controls": "signin-drop-menu",
|
|
262
|
+
children: [
|
|
263
|
+
/* @__PURE__ */ jsx("span", { children: "Login" }),
|
|
264
|
+
/* @__PURE__ */ jsx(
|
|
265
|
+
"svg",
|
|
266
|
+
{
|
|
267
|
+
fill: "#28587D",
|
|
268
|
+
width: "20",
|
|
269
|
+
height: "15",
|
|
270
|
+
viewBox: "-4.58 0 46.99 46.99",
|
|
271
|
+
id: "Layer_2",
|
|
272
|
+
"data-name": "Layer 2",
|
|
273
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
274
|
+
children: /* @__PURE__ */ jsx(
|
|
275
|
+
"path",
|
|
276
|
+
{
|
|
277
|
+
d: "M46,31.07a.26.26,0,0,0-.34-.21A11.59,11.59,0,0,0,39.31,36a.26.26,0,0,0,.29.37l1.8-.44a.26.26,0,0,1,.24.44L41,37c-3.78,3.4-4.58,4-8.09,4a3.61,3.61,0,0,1-3.31-2.11,6.93,6.93,0,0,1-.49-2.71c-.05-2.26-.1-4.52-.1-6.77l-.15-10.65H34.1a2.13,2.13,0,1,0,0-2.25H28.85c0-1,0-2,0-3a4.84,4.84,0,1,0-3,0c0,1,0,2,0,3H20.47a2.13,2.13,0,1,0,0,2.25H25.7l-.15,10.65c0,2.26-.05,4.51-.09,6.77a6.94,6.94,0,0,1-.5,2.71A3.59,3.59,0,0,1,21.66,41c-3.52,0-4.32-.6-8.1-4l-.62-.6a.26.26,0,0,1,.24-.44l1.8.44a.26.26,0,0,0,.29-.37,11.55,11.55,0,0,0-6.38-5.12.25.25,0,0,0-.33.21c-.16,1.18-.6,5.56,1,8A.26.26,0,0,0,10,39l.55-1.38a.26.26,0,0,1,.49,0c.56,1.64,2.62,5.74,9.56,8.8h0c.25.09,5.21,1.81,6.42,4.37a.29.29,0,0,0,.52,0c1.22-2.56,6.18-4.28,6.42-4.37h0c6.95-3.06,9-7.16,9.57-8.8a.26.26,0,0,1,.48,0c.18.44.4,1,.55,1.38a.26.26,0,0,0,.46,0C46.62,36.63,46.18,32.25,46,31.07ZM27.29,10.88a2,2,0,1,1,2-2A2,2,0,0,1,27.29,10.88Z",
|
|
278
|
+
transform: "translate(-8.38 -4.01)"
|
|
279
|
+
}
|
|
280
|
+
)
|
|
281
|
+
}
|
|
282
|
+
)
|
|
283
|
+
]
|
|
284
|
+
}
|
|
285
|
+
),
|
|
286
|
+
/* @__PURE__ */ jsx(
|
|
287
|
+
"div",
|
|
288
|
+
{
|
|
289
|
+
className: `${styles.signin_dropdown} ${styles.shadow} rounded bg_white`,
|
|
290
|
+
children: /* @__PURE__ */ jsx("div", { className: styles.opacity, children: /* @__PURE__ */ jsx(
|
|
291
|
+
"ul",
|
|
292
|
+
{
|
|
293
|
+
className: "list_unstyled",
|
|
294
|
+
role: "menu",
|
|
295
|
+
"aria-expanded": isOpenSignIn,
|
|
296
|
+
id: "signin-drop-menu",
|
|
297
|
+
children: /* @__PURE__ */ jsx("li", { role: "heading", children: /* @__PURE__ */ jsxs("ul", { className: "list_unstyled", children: [
|
|
298
|
+
/* @__PURE__ */ jsx("li", { className: `${styles.signin_subheader}`, children: /* @__PURE__ */ jsx(
|
|
299
|
+
"a",
|
|
300
|
+
{
|
|
301
|
+
href: findMoreAxosDomains(
|
|
302
|
+
"{ONLINEBANKING}/auth/Login"
|
|
303
|
+
),
|
|
304
|
+
role: "menuitem",
|
|
305
|
+
children: "Existing Customers"
|
|
306
|
+
}
|
|
307
|
+
) }),
|
|
308
|
+
/* @__PURE__ */ jsx("li", { className: `${styles.signin_subheader}`, children: /* @__PURE__ */ jsx(
|
|
309
|
+
"a",
|
|
310
|
+
{
|
|
311
|
+
href: `https://lv.accesscompass.com/web/control/`,
|
|
312
|
+
role: "menuitem",
|
|
313
|
+
children: "Commercial Login"
|
|
314
|
+
}
|
|
315
|
+
) })
|
|
316
|
+
] }) })
|
|
317
|
+
}
|
|
318
|
+
) })
|
|
319
|
+
}
|
|
320
|
+
)
|
|
321
|
+
]
|
|
322
|
+
}
|
|
323
|
+
) })
|
|
324
|
+
] })
|
|
325
|
+
] }) }),
|
|
326
|
+
/* @__PURE__ */ jsx(SubNavBar, {}),
|
|
327
|
+
/* @__PURE__ */ jsx(
|
|
328
|
+
"div",
|
|
329
|
+
{
|
|
330
|
+
className: clsx(
|
|
331
|
+
styles.mobile_nav,
|
|
332
|
+
styles.mobile_only,
|
|
333
|
+
"relative",
|
|
334
|
+
"bg_white",
|
|
335
|
+
isOpenMobile ? styles.mobile_opened : ""
|
|
336
|
+
),
|
|
337
|
+
"aria-expanded": isOpenMobile,
|
|
338
|
+
role: "menu",
|
|
339
|
+
children: /* @__PURE__ */ jsxs("div", { className: styles.inner_wrapper, children: [
|
|
340
|
+
/* @__PURE__ */ jsxs("div", { className: `${styles.mobile_header} relative text_center`, children: [
|
|
341
|
+
/* @__PURE__ */ jsx(
|
|
342
|
+
"img",
|
|
343
|
+
{
|
|
344
|
+
src: "https://images.axos.com/o9ov1v03uwqk/6YvIVhB40xWaF9qdRRHxJ6/2bc32b8fc31a3e14eca7692084533356/lvf-mobile-header.svg",
|
|
345
|
+
alt: ""
|
|
346
|
+
}
|
|
347
|
+
),
|
|
348
|
+
/* @__PURE__ */ jsx("button", { onClick: mobileToggle, "aria-label": "close navigation menu", children: /* @__PURE__ */ jsx(
|
|
349
|
+
"svg",
|
|
350
|
+
{
|
|
351
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
352
|
+
width: "24",
|
|
353
|
+
height: "24",
|
|
354
|
+
viewBox: "0 0 24 24",
|
|
355
|
+
fill: "none",
|
|
356
|
+
children: /* @__PURE__ */ jsx(
|
|
357
|
+
"path",
|
|
358
|
+
{
|
|
359
|
+
d: "M20.2812 2.65625L21.3419 3.71691L13.0602 11.9982L21.3419 20.2812L20.2812 21.3419L11.9982 13.0602L3.71691 21.3419L2.65625 20.2812L10.9377 11.9982L2.65625 3.71691L3.71691 2.65625L11.9982 10.9377L20.2812 2.65625Z",
|
|
360
|
+
fill: "#fff"
|
|
361
|
+
}
|
|
362
|
+
)
|
|
363
|
+
}
|
|
364
|
+
) })
|
|
365
|
+
] }),
|
|
366
|
+
/* @__PURE__ */ jsx("div", { className: styles.mobile_body, children: /* @__PURE__ */ jsxs("ul", { className: "list_unstyled", "aria-expanded": isOpenMobile, children: [
|
|
367
|
+
/* @__PURE__ */ jsxs(
|
|
368
|
+
"li",
|
|
369
|
+
{
|
|
370
|
+
className: `${styles.mobile_nav_item} ${styles.has_dropdown}`,
|
|
371
|
+
id: "dd_1",
|
|
372
|
+
children: [
|
|
373
|
+
/* @__PURE__ */ jsxs(
|
|
374
|
+
"a",
|
|
375
|
+
{
|
|
376
|
+
href: "#",
|
|
377
|
+
onClick: toggleProducts1,
|
|
378
|
+
role: "button",
|
|
379
|
+
className: clsx("flex_row"),
|
|
380
|
+
children: [
|
|
381
|
+
"About Us",
|
|
382
|
+
/* @__PURE__ */ jsx(
|
|
383
|
+
"span",
|
|
384
|
+
{
|
|
385
|
+
className: clsx(
|
|
386
|
+
"flex_row",
|
|
387
|
+
"center",
|
|
388
|
+
"middle",
|
|
389
|
+
styles.icon_wrap,
|
|
390
|
+
isOpenProducts1 && styles.open
|
|
391
|
+
),
|
|
392
|
+
children: /* @__PURE__ */ jsx(
|
|
393
|
+
"svg",
|
|
394
|
+
{
|
|
395
|
+
fill: "#28587D",
|
|
396
|
+
width: "20",
|
|
397
|
+
height: "15",
|
|
398
|
+
viewBox: "-4.58 0 46.99 46.99",
|
|
399
|
+
id: "Layer_2",
|
|
400
|
+
"data-name": "Layer 2",
|
|
401
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
402
|
+
children: /* @__PURE__ */ jsx(
|
|
403
|
+
"path",
|
|
404
|
+
{
|
|
405
|
+
d: "M46,31.07a.26.26,0,0,0-.34-.21A11.59,11.59,0,0,0,39.31,36a.26.26,0,0,0,.29.37l1.8-.44a.26.26,0,0,1,.24.44L41,37c-3.78,3.4-4.58,4-8.09,4a3.61,3.61,0,0,1-3.31-2.11,6.93,6.93,0,0,1-.49-2.71c-.05-2.26-.1-4.52-.1-6.77l-.15-10.65H34.1a2.13,2.13,0,1,0,0-2.25H28.85c0-1,0-2,0-3a4.84,4.84,0,1,0-3,0c0,1,0,2,0,3H20.47a2.13,2.13,0,1,0,0,2.25H25.7l-.15,10.65c0,2.26-.05,4.51-.09,6.77a6.94,6.94,0,0,1-.5,2.71A3.59,3.59,0,0,1,21.66,41c-3.52,0-4.32-.6-8.1-4l-.62-.6a.26.26,0,0,1,.24-.44l1.8.44a.26.26,0,0,0,.29-.37,11.55,11.55,0,0,0-6.38-5.12.25.25,0,0,0-.33.21c-.16,1.18-.6,5.56,1,8A.26.26,0,0,0,10,39l.55-1.38a.26.26,0,0,1,.49,0c.56,1.64,2.62,5.74,9.56,8.8h0c.25.09,5.21,1.81,6.42,4.37a.29.29,0,0,0,.52,0c1.22-2.56,6.18-4.28,6.42-4.37h0c6.95-3.06,9-7.16,9.57-8.8a.26.26,0,0,1,.48,0c.18.44.4,1,.55,1.38a.26.26,0,0,0,.46,0C46.62,36.63,46.18,32.25,46,31.07ZM27.29,10.88a2,2,0,1,1,2-2A2,2,0,0,1,27.29,10.88Z",
|
|
406
|
+
transform: "translate(-8.38 -4.01)"
|
|
407
|
+
}
|
|
408
|
+
)
|
|
409
|
+
}
|
|
410
|
+
)
|
|
411
|
+
}
|
|
412
|
+
)
|
|
413
|
+
]
|
|
414
|
+
}
|
|
415
|
+
),
|
|
416
|
+
/* @__PURE__ */ jsxs(
|
|
417
|
+
"div",
|
|
418
|
+
{
|
|
419
|
+
className: clsx(styles.sub_menu, isOpenProducts1 && expand),
|
|
420
|
+
children: [
|
|
421
|
+
/* @__PURE__ */ jsx("a", { href: "/about-us", className: styles.main, role: "heading", children: "About Us Home" }),
|
|
422
|
+
/* @__PURE__ */ jsx(
|
|
423
|
+
"a",
|
|
424
|
+
{
|
|
425
|
+
href: findMoreAxosDomains("/about-us/our-process"),
|
|
426
|
+
role: "menuitem",
|
|
427
|
+
children: "Our Process"
|
|
428
|
+
}
|
|
429
|
+
),
|
|
430
|
+
/* @__PURE__ */ jsx(
|
|
431
|
+
"a",
|
|
432
|
+
{
|
|
433
|
+
href: findMoreAxosDomains("/about-us/faqs"),
|
|
434
|
+
role: "menuitem",
|
|
435
|
+
children: "FAQs"
|
|
436
|
+
}
|
|
437
|
+
),
|
|
438
|
+
/* @__PURE__ */ jsx(
|
|
439
|
+
"a",
|
|
440
|
+
{
|
|
441
|
+
href: findMoreAxosDomains("/about-us/news"),
|
|
442
|
+
role: "menuitem",
|
|
443
|
+
children: "News"
|
|
444
|
+
}
|
|
445
|
+
)
|
|
446
|
+
]
|
|
447
|
+
}
|
|
448
|
+
)
|
|
449
|
+
]
|
|
450
|
+
}
|
|
451
|
+
),
|
|
452
|
+
/* @__PURE__ */ jsx("li", { className: `${styles.mobile_nav_item}`, children: /* @__PURE__ */ jsx(
|
|
453
|
+
"a",
|
|
454
|
+
{
|
|
455
|
+
href: findMoreAxosDomains("/loans"),
|
|
456
|
+
role: "button",
|
|
457
|
+
className: `flex_row between ${styles.btn}`,
|
|
458
|
+
children: "Loans"
|
|
459
|
+
}
|
|
460
|
+
) }),
|
|
461
|
+
/* @__PURE__ */ jsx("li", { className: `${styles.mobile_nav_item}`, children: /* @__PURE__ */ jsx(
|
|
462
|
+
"a",
|
|
463
|
+
{
|
|
464
|
+
href: findMoreAxosDomains("/dealers"),
|
|
465
|
+
role: "button",
|
|
466
|
+
className: `flex_row between ${styles.btn}`,
|
|
467
|
+
children: "Dealers"
|
|
468
|
+
}
|
|
469
|
+
) }),
|
|
470
|
+
/* @__PURE__ */ jsx("li", { className: `${styles.mobile_nav_item}`, children: /* @__PURE__ */ jsx(
|
|
471
|
+
"a",
|
|
472
|
+
{
|
|
473
|
+
href: findMoreAxosDomains("/events"),
|
|
474
|
+
role: "button",
|
|
475
|
+
className: `flex_row between ${styles.btn}`,
|
|
476
|
+
children: "Events"
|
|
477
|
+
}
|
|
478
|
+
) }),
|
|
479
|
+
/* @__PURE__ */ jsx("li", { className: `${styles.mobile_nav_item}`, children: /* @__PURE__ */ jsx(
|
|
480
|
+
"a",
|
|
481
|
+
{
|
|
482
|
+
href: findMoreAxosDomains("/contact-us"),
|
|
483
|
+
role: "button",
|
|
484
|
+
className: `flex_row between ${styles.btn}`,
|
|
485
|
+
children: "Contact"
|
|
486
|
+
}
|
|
487
|
+
) }),
|
|
488
|
+
/* @__PURE__ */ jsxs(
|
|
489
|
+
"li",
|
|
490
|
+
{
|
|
491
|
+
className: `${styles.mobile_nav_item} ${styles.has_dropdown}`,
|
|
492
|
+
id: "dd_2",
|
|
493
|
+
children: [
|
|
494
|
+
/* @__PURE__ */ jsxs(
|
|
495
|
+
"a",
|
|
496
|
+
{
|
|
497
|
+
href: "#",
|
|
498
|
+
onClick: signInToggle,
|
|
499
|
+
role: "button",
|
|
500
|
+
className: clsx("flex_row"),
|
|
501
|
+
children: [
|
|
502
|
+
"login",
|
|
503
|
+
/* @__PURE__ */ jsx(
|
|
504
|
+
"span",
|
|
505
|
+
{
|
|
506
|
+
className: clsx(
|
|
507
|
+
"flex_row",
|
|
508
|
+
"center",
|
|
509
|
+
"middle",
|
|
510
|
+
styles.icon_wrap,
|
|
511
|
+
isOpenSignInToggle && styles.open
|
|
512
|
+
),
|
|
513
|
+
children: /* @__PURE__ */ jsx(
|
|
514
|
+
"svg",
|
|
515
|
+
{
|
|
516
|
+
fill: "#28587D",
|
|
517
|
+
width: "20",
|
|
518
|
+
height: "15",
|
|
519
|
+
viewBox: "-4.58 0 46.99 46.99",
|
|
520
|
+
id: "Layer_2",
|
|
521
|
+
"data-name": "Layer 2",
|
|
522
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
523
|
+
children: /* @__PURE__ */ jsx(
|
|
524
|
+
"path",
|
|
525
|
+
{
|
|
526
|
+
d: "M46,31.07a.26.26,0,0,0-.34-.21A11.59,11.59,0,0,0,39.31,36a.26.26,0,0,0,.29.37l1.8-.44a.26.26,0,0,1,.24.44L41,37c-3.78,3.4-4.58,4-8.09,4a3.61,3.61,0,0,1-3.31-2.11,6.93,6.93,0,0,1-.49-2.71c-.05-2.26-.1-4.52-.1-6.77l-.15-10.65H34.1a2.13,2.13,0,1,0,0-2.25H28.85c0-1,0-2,0-3a4.84,4.84,0,1,0-3,0c0,1,0,2,0,3H20.47a2.13,2.13,0,1,0,0,2.25H25.7l-.15,10.65c0,2.26-.05,4.51-.09,6.77a6.94,6.94,0,0,1-.5,2.71A3.59,3.59,0,0,1,21.66,41c-3.52,0-4.32-.6-8.1-4l-.62-.6a.26.26,0,0,1,.24-.44l1.8.44a.26.26,0,0,0,.29-.37,11.55,11.55,0,0,0-6.38-5.12.25.25,0,0,0-.33.21c-.16,1.18-.6,5.56,1,8A.26.26,0,0,0,10,39l.55-1.38a.26.26,0,0,1,.49,0c.56,1.64,2.62,5.74,9.56,8.8h0c.25.09,5.21,1.81,6.42,4.37a.29.29,0,0,0,.52,0c1.22-2.56,6.18-4.28,6.42-4.37h0c6.95-3.06,9-7.16,9.57-8.8a.26.26,0,0,1,.48,0c.18.44.4,1,.55,1.38a.26.26,0,0,0,.46,0C46.62,36.63,46.18,32.25,46,31.07ZM27.29,10.88a2,2,0,1,1,2-2A2,2,0,0,1,27.29,10.88Z",
|
|
527
|
+
transform: "translate(-8.38 -4.01)"
|
|
528
|
+
}
|
|
529
|
+
)
|
|
530
|
+
}
|
|
531
|
+
)
|
|
532
|
+
}
|
|
533
|
+
)
|
|
534
|
+
]
|
|
535
|
+
}
|
|
536
|
+
),
|
|
537
|
+
/* @__PURE__ */ jsxs(
|
|
538
|
+
"div",
|
|
539
|
+
{
|
|
540
|
+
className: clsx(
|
|
541
|
+
styles.sub_menu,
|
|
542
|
+
isOpenSignInToggle && expand
|
|
543
|
+
),
|
|
544
|
+
children: [
|
|
545
|
+
/* @__PURE__ */ jsx(
|
|
546
|
+
"a",
|
|
547
|
+
{
|
|
548
|
+
href: findMoreAxosDomains("{ONLINEBANKING}/auth/Login"),
|
|
549
|
+
role: "menuitem",
|
|
550
|
+
children: "Existing Customers"
|
|
551
|
+
}
|
|
552
|
+
),
|
|
553
|
+
/* @__PURE__ */ jsx(
|
|
554
|
+
"a",
|
|
555
|
+
{
|
|
556
|
+
href: `https://lv.accesscompass.com/web/control/`,
|
|
557
|
+
role: "menuitem",
|
|
558
|
+
children: "Commercial Login"
|
|
559
|
+
}
|
|
560
|
+
)
|
|
561
|
+
]
|
|
562
|
+
}
|
|
563
|
+
)
|
|
564
|
+
]
|
|
565
|
+
}
|
|
566
|
+
)
|
|
567
|
+
] }) }),
|
|
568
|
+
/* @__PURE__ */ jsx("div", { className: styles.mobile_footer, children: /* @__PURE__ */ jsx("div", { className: "flex_row between", children: /* @__PURE__ */ jsx("div", { className: styles.mobile_footer_content, children: /* @__PURE__ */ jsx("div", { className: styles.footer_cta, children: /* @__PURE__ */ jsx(Button, { targetUrl: findMoreAxosDomains("/spply-now"), children: "Apply Now" }) }) }) }) })
|
|
569
|
+
] })
|
|
570
|
+
}
|
|
571
|
+
)
|
|
572
|
+
] });
|
|
573
|
+
}
|
|
574
|
+
export {
|
|
575
|
+
NavBar as default
|
|
576
|
+
};
|
|
@@ -3,3 +3,4 @@ export { default as NavBarAAS } from './AxosAdvisorServices';
|
|
|
3
3
|
export { default as NavBarAXB } from './AxosBank';
|
|
4
4
|
export { default as NavBarAXC } from './AxosClearing';
|
|
5
5
|
export { default as NavBarAFS } from './AxosFiduciary';
|
|
6
|
+
export { default as NavBarLVF } from './LaVictoire';
|
|
@@ -3,10 +3,12 @@ import { default as default3 } from "./AxosAdvisorServices/index.js";
|
|
|
3
3
|
import { default as default4 } from "./AxosBank/index.js";
|
|
4
4
|
import { default as default5 } from "./AxosClearing/index.js";
|
|
5
5
|
import { default as default6 } from "./AxosFiduciary/index.js";
|
|
6
|
+
import { default as default7 } from "./LaVictoire/index.js";
|
|
6
7
|
export {
|
|
7
8
|
default3 as NavBarAAS,
|
|
8
9
|
default6 as NavBarAFS,
|
|
9
10
|
default2 as NavBarAXA,
|
|
10
11
|
default4 as NavBarAXB,
|
|
11
|
-
default5 as NavBarAXC
|
|
12
|
+
default5 as NavBarAXC,
|
|
13
|
+
default7 as NavBarLVF
|
|
12
14
|
};
|