@axos-web-dev/shared-components 0.0.190 → 0.0.191
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.
|
@@ -10,9 +10,7 @@ function SubNavBar() {
|
|
|
10
10
|
const [showNavbar, setShowNavbar] = useState(false);
|
|
11
11
|
const about = subNavItems.about;
|
|
12
12
|
useEffect(() => {
|
|
13
|
-
setShowNavbar(
|
|
14
|
-
() => ["/about-us"].some((el) => pathname?.includes(el))
|
|
15
|
-
);
|
|
13
|
+
setShowNavbar(() => ["/about-us"].some((el) => pathname?.includes(el)));
|
|
16
14
|
}, [pathname]);
|
|
17
15
|
return showNavbar ? /* @__PURE__ */ jsx("div", { className: `${styles.sub_nav} ${styles.desktop_only}`, children: /* @__PURE__ */ jsx("div", { className: styles.wrapper, children: /* @__PURE__ */ jsx("div", { className: styles.header_sub_row, children: /* @__PURE__ */ jsx("nav", { children: /* @__PURE__ */ jsx("ul", { className: "list_unstyled flex_row middle", children: pathname?.includes("/about-us") && about.map((item) => /* @__PURE__ */ jsx("li", { className: styles.sub_nav_link, children: /* @__PURE__ */ jsx(Link, { href: item.url, role: "menuitem", children: item.name }) }, `snb-${item.id}`)) }) }) }) }) }) : null;
|
|
18
16
|
}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
export declare const BusinessWire: () => import("react/jsx-runtime").JSX.Element;
|
|
2
2
|
export declare const Facebook: () => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const FacebookLVF: () => import("react/jsx-runtime").JSX.Element;
|
|
3
4
|
export declare const Glassdoor: () => import("react/jsx-runtime").JSX.Element;
|
|
4
5
|
export declare const Indeed: () => import("react/jsx-runtime").JSX.Element;
|
|
5
6
|
export declare const Instagram: () => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare const InstagramLVF: () => import("react/jsx-runtime").JSX.Element;
|
|
6
8
|
export declare const LinkedIn: () => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const LinkedInLVF: () => import("react/jsx-runtime").JSX.Element;
|
|
7
10
|
export declare const Libsyn: () => import("react/jsx-runtime").JSX.Element;
|
|
8
11
|
export declare const Pinterest: () => import("react/jsx-runtime").JSX.Element;
|
|
9
12
|
export declare const Spotify: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -178,6 +178,43 @@ const Facebook = () => /* @__PURE__ */ jsx(
|
|
|
178
178
|
)
|
|
179
179
|
}
|
|
180
180
|
);
|
|
181
|
+
const FacebookLVF = () => /* @__PURE__ */ jsx(
|
|
182
|
+
Hyperlink,
|
|
183
|
+
{
|
|
184
|
+
"aria-label": "visit us on facebook",
|
|
185
|
+
targetUrl: findMoreAxosDomains(
|
|
186
|
+
"https://www.facebook.com/LaVictoire.Finance"
|
|
187
|
+
),
|
|
188
|
+
children: /* @__PURE__ */ jsxs(
|
|
189
|
+
"svg",
|
|
190
|
+
{
|
|
191
|
+
width: "56",
|
|
192
|
+
height: "56",
|
|
193
|
+
viewBox: "0 0 56 56",
|
|
194
|
+
fill: "none",
|
|
195
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
196
|
+
children: [
|
|
197
|
+
/* @__PURE__ */ jsx(
|
|
198
|
+
"path",
|
|
199
|
+
{
|
|
200
|
+
d: "M33.9082 29.6311L34.6796 24.6019H29.8544V21.3384C29.8544 19.9625 30.5284 18.6214 32.6896 18.6214H34.8835V14.3398C34.8835 14.3398 32.8925 14 30.989 14C27.0149 14 24.4175 16.4085 24.4175 20.7689V24.6019H20V29.6311H24.4175V41.7886C25.3033 41.9276 26.2111 42 27.136 42C28.0608 42 28.9686 41.9276 29.8544 41.7886V29.6311H33.9082Z",
|
|
201
|
+
fill: "#4A5560"
|
|
202
|
+
}
|
|
203
|
+
),
|
|
204
|
+
/* @__PURE__ */ jsx(
|
|
205
|
+
"path",
|
|
206
|
+
{
|
|
207
|
+
fillRule: "evenodd",
|
|
208
|
+
clipRule: "evenodd",
|
|
209
|
+
d: "M28 54C42.3594 54 54 42.3594 54 28C54 13.6406 42.3594 2 28 2C13.6406 2 2 13.6406 2 28C2 42.3594 13.6406 54 28 54ZM28 56C43.464 56 56 43.464 56 28C56 12.536 43.464 0 28 0C12.536 0 0 12.536 0 28C0 43.464 12.536 56 28 56Z",
|
|
210
|
+
fill: "#4A5560"
|
|
211
|
+
}
|
|
212
|
+
)
|
|
213
|
+
]
|
|
214
|
+
}
|
|
215
|
+
)
|
|
216
|
+
}
|
|
217
|
+
);
|
|
181
218
|
const Glassdoor = () => /* @__PURE__ */ jsx(
|
|
182
219
|
Hyperlink,
|
|
183
220
|
{
|
|
@@ -310,6 +347,60 @@ const Instagram = () => /* @__PURE__ */ jsx(
|
|
|
310
347
|
)
|
|
311
348
|
}
|
|
312
349
|
);
|
|
350
|
+
const InstagramLVF = () => /* @__PURE__ */ jsx(
|
|
351
|
+
Hyperlink,
|
|
352
|
+
{
|
|
353
|
+
"aria-label": "visit us on instagram",
|
|
354
|
+
targetUrl: findMoreAxosDomains(
|
|
355
|
+
"https://www.instagram.com/lavictoire_finance/"
|
|
356
|
+
),
|
|
357
|
+
children: /* @__PURE__ */ jsxs(
|
|
358
|
+
"svg",
|
|
359
|
+
{
|
|
360
|
+
width: "56",
|
|
361
|
+
height: "56",
|
|
362
|
+
viewBox: "0 0 56 56",
|
|
363
|
+
fill: "none",
|
|
364
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
365
|
+
children: [
|
|
366
|
+
/* @__PURE__ */ jsxs("g", { clipPath: "url(#clip0_10407_634)", children: [
|
|
367
|
+
/* @__PURE__ */ jsx(
|
|
368
|
+
"path",
|
|
369
|
+
{
|
|
370
|
+
d: "M28 14C24.1978 14 23.7211 14.0161 22.2278 14.0842C20.7377 14.1523 19.72 14.3889 18.8294 14.735C17.9088 15.0928 17.128 15.5715 16.3497 16.3498C15.5714 17.1281 15.0927 17.9088 14.735 18.8295C14.3888 19.72 14.1522 20.7377 14.0842 22.2278C14.0161 23.7211 14 24.1978 14 28C14 31.8022 14.0161 32.2789 14.0842 33.7722C14.1522 35.2623 14.3888 36.28 14.735 37.1705C15.0927 38.0912 15.5714 38.8719 16.3497 39.6503C17.128 40.4286 17.9088 40.9073 18.8294 41.265C19.72 41.6111 20.7377 41.8478 22.2278 41.9157C23.7211 41.9839 24.1978 42 28 42C31.8022 42 32.2789 41.9839 33.7722 41.9157C35.2623 41.8478 36.28 41.6111 37.1705 41.265C38.0912 40.9073 38.8719 40.4286 39.6503 39.6503C40.4286 38.8719 40.9073 38.0912 41.265 37.1705C41.6111 36.28 41.8478 35.2623 41.9157 33.7722C41.9839 32.2789 42 31.8022 42 28C42 24.1978 41.9839 23.7211 41.9157 22.2278C41.8478 20.7377 41.6111 19.72 41.265 18.8295C40.9073 17.9088 40.4286 17.1281 39.6503 16.3498C38.8719 15.5715 38.0912 15.0928 37.1705 14.735C36.28 14.3889 35.2623 14.1523 33.7722 14.0842C32.2789 14.0161 31.8022 14 28 14ZM28 16.5226C31.7382 16.5226 32.181 16.5368 33.6572 16.6042C35.0222 16.6665 35.7635 16.8945 36.2568 17.0862C36.9103 17.3402 37.3767 17.6436 37.8665 18.1335C38.3565 18.6233 38.6598 19.0898 38.9138 19.7432C39.1055 20.2365 39.3336 20.9778 39.3958 22.3428C39.4632 23.819 39.4775 24.2618 39.4775 28C39.4775 31.7382 39.4632 32.181 39.3958 33.6572C39.3336 35.0222 39.1055 35.7635 38.9138 36.2568C38.6598 36.9103 38.3565 37.3767 37.8665 37.8665C37.3767 38.3565 36.9103 38.6598 36.2568 38.9138C35.7635 39.1055 35.0222 39.3336 33.6572 39.3958C32.1812 39.4632 31.7384 39.4775 28 39.4775C24.2616 39.4775 23.8189 39.4632 22.3428 39.3958C20.9778 39.3336 20.2365 39.1055 19.7432 38.9138C19.0897 38.6598 18.6233 38.3565 18.1334 37.8665C17.6435 37.3767 17.3401 36.9103 17.0862 36.2568C16.8945 35.7635 16.6664 35.0222 16.6041 33.6572C16.5367 32.181 16.5225 31.7382 16.5225 28C16.5225 24.2618 16.5367 23.819 16.6041 22.3428C16.6664 20.9778 16.8945 20.2365 17.0862 19.7432C17.3401 19.0898 17.6435 18.6233 18.1334 18.1335C18.6233 17.6436 19.0897 17.3402 19.7432 17.0862C20.2365 16.8945 20.9778 16.6665 22.3428 16.6042C23.819 16.5368 24.2618 16.5226 28 16.5226Z",
|
|
371
|
+
fill: "#4A5560"
|
|
372
|
+
}
|
|
373
|
+
),
|
|
374
|
+
/* @__PURE__ */ jsx(
|
|
375
|
+
"path",
|
|
376
|
+
{
|
|
377
|
+
d: "M27.9985 32.6671C25.4211 32.6671 23.3318 30.5778 23.3318 28.0005C23.3318 25.4231 25.4211 23.3338 27.9985 23.3338C30.5758 23.3338 32.6651 25.4231 32.6651 28.0005C32.6651 30.5778 30.5758 32.6671 27.9985 32.6671ZM27.9985 20.8113C24.0279 20.8113 20.8093 24.0299 20.8093 28.0005C20.8093 31.9709 24.0279 35.1896 27.9985 35.1896C31.9689 35.1896 35.1876 31.9709 35.1876 28.0005C35.1876 24.0299 31.9689 20.8113 27.9985 20.8113Z",
|
|
378
|
+
fill: "#4A5560"
|
|
379
|
+
}
|
|
380
|
+
),
|
|
381
|
+
/* @__PURE__ */ jsx(
|
|
382
|
+
"path",
|
|
383
|
+
{
|
|
384
|
+
d: "M37.1549 20.5266C37.1549 21.4544 36.4027 22.2065 35.4749 22.2065C34.5471 22.2065 33.7949 21.4544 33.7949 20.5266C33.7949 19.5987 34.5471 18.8466 35.4749 18.8466C36.4027 18.8466 37.1549 19.5987 37.1549 20.5266Z",
|
|
385
|
+
fill: "#4A5560"
|
|
386
|
+
}
|
|
387
|
+
),
|
|
388
|
+
/* @__PURE__ */ jsx(
|
|
389
|
+
"path",
|
|
390
|
+
{
|
|
391
|
+
fillRule: "evenodd",
|
|
392
|
+
clipRule: "evenodd",
|
|
393
|
+
d: "M28 54C42.3594 54 54 42.3594 54 28C54 13.6406 42.3594 2 28 2C13.6406 2 2 13.6406 2 28C2 42.3594 13.6406 54 28 54ZM28 56C43.464 56 56 43.464 56 28C56 12.536 43.464 0 28 0C12.536 0 0 12.536 0 28C0 43.464 12.536 56 28 56Z",
|
|
394
|
+
fill: "#4A5560"
|
|
395
|
+
}
|
|
396
|
+
)
|
|
397
|
+
] }),
|
|
398
|
+
/* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "clip0_10407_634", children: /* @__PURE__ */ jsx("rect", { width: "56", height: "56", fill: "white" }) }) })
|
|
399
|
+
]
|
|
400
|
+
}
|
|
401
|
+
)
|
|
402
|
+
}
|
|
403
|
+
);
|
|
313
404
|
const LinkedIn = () => /* @__PURE__ */ jsx(
|
|
314
405
|
Hyperlink,
|
|
315
406
|
{
|
|
@@ -356,6 +447,52 @@ const LinkedIn = () => /* @__PURE__ */ jsx(
|
|
|
356
447
|
)
|
|
357
448
|
}
|
|
358
449
|
);
|
|
450
|
+
const LinkedInLVF = () => /* @__PURE__ */ jsx(
|
|
451
|
+
Hyperlink,
|
|
452
|
+
{
|
|
453
|
+
"aria-label": "visit us on linked In",
|
|
454
|
+
targetUrl: findMoreAxosDomains("https://www.linkedin.com/company/87204944"),
|
|
455
|
+
children: /* @__PURE__ */ jsxs(
|
|
456
|
+
"svg",
|
|
457
|
+
{
|
|
458
|
+
width: "56",
|
|
459
|
+
height: "56",
|
|
460
|
+
viewBox: "0 0 56 56",
|
|
461
|
+
fill: "none",
|
|
462
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
463
|
+
children: [
|
|
464
|
+
/* @__PURE__ */ jsxs("g", { clipPath: "url(#clip0_10407_637)", children: [
|
|
465
|
+
/* @__PURE__ */ jsx(
|
|
466
|
+
"path",
|
|
467
|
+
{
|
|
468
|
+
fillRule: "evenodd",
|
|
469
|
+
clipRule: "evenodd",
|
|
470
|
+
d: "M28 54C42.3594 54 54 42.3594 54 28C54 13.6406 42.3594 2 28 2C13.6406 2 2 13.6406 2 28C2 42.3594 13.6406 54 28 54ZM28 56C43.464 56 56 43.464 56 28C56 12.536 43.464 0 28 0C12.536 0 0 12.536 0 28C0 43.464 12.536 56 28 56Z",
|
|
471
|
+
fill: "#4A5560"
|
|
472
|
+
}
|
|
473
|
+
),
|
|
474
|
+
/* @__PURE__ */ jsx(
|
|
475
|
+
"path",
|
|
476
|
+
{
|
|
477
|
+
d: "M41 30.2241V39H36.0272V31.2184C36.0272 29.3627 35.9953 26.9755 33.443 26.9755C30.8552 26.9755 30.4604 28.998 30.4604 31.0856V39H25.493V22.9982H30.2603V25.1858H30.3284C30.9916 23.9279 32.6143 22.6011 35.0339 22.6011C40.0695 22.6011 41 25.9145 41 30.2241Z",
|
|
478
|
+
fill: "#4A5560"
|
|
479
|
+
}
|
|
480
|
+
),
|
|
481
|
+
/* @__PURE__ */ jsx("path", { d: "M17.3948 22.9982H22.3731V39H17.3948V22.9982Z", fill: "#4A5560" }),
|
|
482
|
+
/* @__PURE__ */ jsx(
|
|
483
|
+
"path",
|
|
484
|
+
{
|
|
485
|
+
d: "M17 17.9277C17 16.3358 18.288 15.0437 19.8852 15.0437C21.4762 15.0437 22.7678 16.3358 22.7678 17.9277C22.7678 19.5199 21.4762 20.812 19.8852 20.812C18.288 20.812 17 19.5199 17 17.9277Z",
|
|
486
|
+
fill: "#4A5560"
|
|
487
|
+
}
|
|
488
|
+
)
|
|
489
|
+
] }),
|
|
490
|
+
/* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "clip0_10407_637", children: /* @__PURE__ */ jsx("rect", { width: "56", height: "56", fill: "white" }) }) })
|
|
491
|
+
]
|
|
492
|
+
}
|
|
493
|
+
)
|
|
494
|
+
}
|
|
495
|
+
);
|
|
359
496
|
const Libsyn = () => /* @__PURE__ */ jsx(
|
|
360
497
|
Hyperlink,
|
|
361
498
|
{
|
|
@@ -553,11 +690,14 @@ const Xtwitter = () => /* @__PURE__ */ jsx(
|
|
|
553
690
|
export {
|
|
554
691
|
BusinessWire,
|
|
555
692
|
Facebook,
|
|
693
|
+
FacebookLVF,
|
|
556
694
|
Glassdoor,
|
|
557
695
|
Indeed,
|
|
558
696
|
Instagram,
|
|
697
|
+
InstagramLVF,
|
|
559
698
|
Libsyn,
|
|
560
699
|
LinkedIn,
|
|
700
|
+
LinkedInLVF,
|
|
561
701
|
Pinterest,
|
|
562
702
|
Spotify,
|
|
563
703
|
Xtwitter,
|
|
@@ -1,25 +1,31 @@
|
|
|
1
|
+
"use client";
|
|
1
2
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
+
import { useState, useEffect } from "react";
|
|
4
|
+
import { Facebook, Instagram, Xtwitter, Youtube, LinkedIn, Pinterest, FacebookLVF, InstagramLVF, LinkedInLVF } from "./iconsRepository.js";
|
|
3
5
|
import { smb_section, smb_wrapper } from "./SocialMediaBar.css.js";
|
|
4
6
|
import { padding_in_footer } from "./SocialMediaBar.css.js";
|
|
5
7
|
const SocialMediaBar = ({
|
|
6
8
|
className,
|
|
7
9
|
style
|
|
8
10
|
}) => {
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
11
|
+
const [isLVF, setLVF] = useState(false);
|
|
12
|
+
useEffect(() => {
|
|
13
|
+
const lvf = document.getElementById("lvf-page");
|
|
14
|
+
lvf ? setLVF(true) : null;
|
|
15
|
+
}, []);
|
|
16
|
+
const iconsToRender = [];
|
|
17
|
+
if (!isLVF) {
|
|
18
|
+
iconsToRender.push(
|
|
19
|
+
Facebook,
|
|
20
|
+
Instagram,
|
|
21
|
+
Xtwitter,
|
|
22
|
+
Youtube,
|
|
23
|
+
LinkedIn,
|
|
24
|
+
Pinterest
|
|
25
|
+
);
|
|
26
|
+
} else {
|
|
27
|
+
iconsToRender.push(FacebookLVF, InstagramLVF, LinkedInLVF);
|
|
28
|
+
}
|
|
23
29
|
return /* @__PURE__ */ jsx("section", { role: "contentinfo", className: smb_section, children: /* @__PURE__ */ jsx(
|
|
24
30
|
"div",
|
|
25
31
|
{
|
|
@@ -35,7 +35,8 @@ const moreDomains = {
|
|
|
35
35
|
"{AXMHA}": process.env.AXOS_MY_HOME_ADVANTAGE ?? "https://axos.myhomeadvantage.com",
|
|
36
36
|
"{AXTPL}": process.env.AXOS_THIRD_PARTY_LENDING ?? "https://thirdpartylending.axosbank.com",
|
|
37
37
|
"{AXBHUBSVIDYARD}": process.env.AXBHUBSVIDYARD_URL || "https://www.axosbank.hubs.vidyard.com",
|
|
38
|
-
"{AUTOAX}": process.env.AUTO_AXOSBANK_URL || "https://auto.axosbank.com
|
|
38
|
+
"{AUTOAX}": process.env.AUTO_AXOSBANK_URL || "https://auto.axosbank.com",
|
|
39
|
+
"{AFAST}": process.env.SECURE_FAST_URL || "https://secure.approvedfast.com"
|
|
39
40
|
};
|
|
40
41
|
const isAllowedUrl = (url) => {
|
|
41
42
|
const uri = new URL(url, location.href);
|