ml-ui-lib 1.0.48 → 1.0.49
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.
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import './Footer.css';
|
|
4
|
-
export const Footer = ({ footerItems, logoSrc = '', logoAlt = 'M Lhuillier Logo', logoWidth = 180, logoHeight = 40, className = '', backgroundColor = '#fff', textColor = '#333', }) => {
|
|
4
|
+
export const Footer = ({ footerItems, logoSrc = '', logoAlt = 'M Lhuillier Logo', logoWidth = 180, logoHeight = 40, className = '', backgroundColor = '#fff', textColor = '#333', basePath }) => {
|
|
5
5
|
const empblemArr = [
|
|
6
|
-
{ url: '
|
|
7
|
-
{ url: '
|
|
8
|
-
{ url: '
|
|
9
|
-
{ url: '
|
|
10
|
-
{ url: '
|
|
11
|
-
{ url: '
|
|
6
|
+
{ url: 'images/ALLFSPI.svg', name: 'ALLFSPI' },
|
|
7
|
+
{ url: 'images/CMPI.svg', name: 'CMPI' },
|
|
8
|
+
{ url: 'images/KLPI.svg', name: 'KLPI' },
|
|
9
|
+
{ url: 'images/LJFPI.svg', name: 'LJFPI' },
|
|
10
|
+
{ url: 'images/MLFSPI.svg', name: 'MLFSPI' },
|
|
11
|
+
{ url: 'images/TPI.svg', name: 'TPI' },
|
|
12
12
|
];
|
|
13
13
|
const appLinksArr = [
|
|
14
|
-
{ url: '
|
|
15
|
-
{ url: '
|
|
16
|
-
{ url: '
|
|
14
|
+
{ url: 'images/app-store.svg', link: 'https://apps.apple.com/ph/app/mcash-wallet/id962204987' },
|
|
15
|
+
{ url: 'images/google-play.svg', link: 'https://play.google.com/store/apps/details?id=com.mlhuillier.mlwallet&pli=1' },
|
|
16
|
+
{ url: 'images/app-gallery.svg', link: 'https://appgallery.huawei.com/app/C102221791?source=qrCodeShare&referrer=PCWebAG&callType=SHARE&shareTo=qrcode&shareFrom=appmarket&reportEventLabel=appdetailpage' },
|
|
17
17
|
];
|
|
18
18
|
return (_jsx("footer", { className: `footer ${className}`, style: { backgroundColor, color: textColor }, children: _jsxs("div", { style: { margin: '0 auto' }, children: [_jsx("div", { className: "footer-container", children: _jsxs("div", { className: "footer-columns", children: [_jsxs("div", { className: "footer-logo", children: [_jsxs("div", { style: {
|
|
19
19
|
display: 'flex',
|
|
@@ -31,6 +31,6 @@ export const Footer = ({ footerItems, logoSrc = '', logoAlt = 'M Lhuillier Logo'
|
|
|
31
31
|
{ name: 'ig', link: 'https://www.instagram.com/mlhuillier_official/' },
|
|
32
32
|
{ name: 'x', link: 'https://x.com/KaMLhuillier' },
|
|
33
33
|
{ name: 'yt', link: 'https://www.youtube.com/user/MLhuillierInc' },
|
|
34
|
-
].map((icon) => (_jsx("a", { href: icon.link, target: "_blank", rel: "noopener noreferrer", children: _jsx("img", { src: `/icons/${icon.name}.svg`, alt: icon.name }) }, icon.name))) })] }), _jsxs("div", { className: "apps", children: [_jsx("h4", { children: "Get the MCash App" }), _jsx("div", { className: "app-items", children: appLinksArr.map((item, index) => (_jsx("a", { href: item.link, children: _jsx("img", { src: item.url, alt: "App download", loading: "lazy" }) }, index))) })] })] }), _jsx("div", { className: 'emblems', children: empblemArr.map((item, index) => (_jsxs("div", { className: "emblem-item", children: [_jsx("img", { src: item.url, alt: item.name, loading: "lazy" }), _jsx("span", { children: item.name })] }, index))) })] }) }), _jsx("div", { className: 'others' }), _jsxs("div", { className: "footer-bottom", children: [_jsxs("p", { children: ["Copyright \u00A9 ", new Date().getFullYear(), " M Lhuillier Financial Services, Inc."] }), " ", _jsx("p", { children: "All rights reserved." })] })] }) }));
|
|
34
|
+
].map((icon) => (_jsx("a", { href: icon.link, target: "_blank", rel: "noopener noreferrer", children: _jsx("img", { src: basePath ? `${basePath}/icons/${icon.name}.svg` : `/icons/${icon.name}.svg`, alt: icon.name }) }, icon.name))) })] }), _jsxs("div", { className: "apps", children: [_jsx("h4", { children: "Get the MCash App" }), _jsx("div", { className: "app-items", children: appLinksArr.map((item, index) => (_jsx("a", { href: item.link, children: _jsx("img", { src: basePath ? basePath + '/' + item.url : '/' + item.url, alt: "App download", loading: "lazy" }) }, index))) })] })] }), _jsx("div", { className: 'emblems', children: empblemArr.map((item, index) => (_jsxs("div", { className: "emblem-item", children: [_jsx("img", { src: basePath ? basePath + '/' + item.url : '/' + item.url, alt: item.name, loading: "lazy" }), _jsx("span", { children: item.name })] }, index))) })] }) }), _jsx("div", { className: 'others' }), _jsxs("div", { className: "footer-bottom", children: [_jsxs("p", { children: ["Copyright \u00A9 ", new Date().getFullYear(), " M Lhuillier Financial Services, Inc."] }), " ", _jsx("p", { children: "All rights reserved." })] })] }) }));
|
|
35
35
|
};
|
|
36
36
|
export default Footer;
|