nvis-fe-cms-libs 2.1.14 → 2.1.16
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,6 +1,6 @@
|
|
|
1
1
|
(function(global, factory) {
|
|
2
|
-
typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("react")) : typeof define === "function" && define.amd ? define(["exports", "react"], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global.AsaCmsSections = {}, global.React));
|
|
3
|
-
})(this, (function(exports2, require$$0) {
|
|
2
|
+
typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("react"), require("react-dom")) : typeof define === "function" && define.amd ? define(["exports", "react", "react-dom"], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global.AsaCmsSections = {}, global.React, global.ReactDOM));
|
|
3
|
+
})(this, (function(exports2, require$$0, reactDom) {
|
|
4
4
|
"use strict";var __defProp = Object.defineProperty;
|
|
5
5
|
var __defProps = Object.defineProperties;
|
|
6
6
|
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
@@ -648,6 +648,76 @@ var __async = (__this, __arguments, generator) => {
|
|
|
648
648
|
] }) }) })
|
|
649
649
|
] });
|
|
650
650
|
};
|
|
651
|
+
const AboutCompanySection_2 = ({ data, t, isDarkMode, imageBaseUrl = "" }) => {
|
|
652
|
+
var _a, _b;
|
|
653
|
+
const safeT = typeof t === "function" ? t : (key, options) => {
|
|
654
|
+
console.warn(`Translation function not provided for key: ${key}`);
|
|
655
|
+
return key;
|
|
656
|
+
};
|
|
657
|
+
const companyData = (_b = (_a = data == null ? void 0 : data.sectionDataBindingItems) == null ? void 0 : _a[0]) == null ? void 0 : _b.data;
|
|
658
|
+
if (!companyData) {
|
|
659
|
+
return null;
|
|
660
|
+
}
|
|
661
|
+
const name = companyData.name || safeT("aboutCompany.defaults.companyName");
|
|
662
|
+
const shortName = companyData.shortName || safeT("aboutCompany.defaults.shortName");
|
|
663
|
+
const shortDescription = companyData.shortDescription || safeT("aboutCompany.defaults.shortDescription");
|
|
664
|
+
const establishedYear = companyData.establishedYear || "----";
|
|
665
|
+
const experienceYears = companyData.experienceYears || "0";
|
|
666
|
+
companyData.description || "";
|
|
667
|
+
const logo = companyData.logo || null;
|
|
668
|
+
const getLogoUrl = (logoUrl2) => {
|
|
669
|
+
if (!logoUrl2) return null;
|
|
670
|
+
if (logoUrl2.startsWith("http")) return logoUrl2;
|
|
671
|
+
return `${imageBaseUrl}${logoUrl2}`;
|
|
672
|
+
};
|
|
673
|
+
const logoUrl = getLogoUrl(logo);
|
|
674
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
675
|
+
"section",
|
|
676
|
+
{
|
|
677
|
+
className: "relative min-h-[80vh] flex items-center justify-center overflow-hidden pt-8 bg-cover bg-center bg-no-repeat",
|
|
678
|
+
style: {
|
|
679
|
+
backgroundImage: 'url("/image_intro_company.png")'
|
|
680
|
+
},
|
|
681
|
+
children: [
|
|
682
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "absolute inset-0 bg-slate-950/70" }),
|
|
683
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "relative z-10 max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 text-center", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-6", children: [
|
|
684
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-2", children: [
|
|
685
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "w-40 h-40 mx-auto", children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "w-full h-full flex items-center justify-center", children: logoUrl ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
686
|
+
"img",
|
|
687
|
+
{
|
|
688
|
+
src: logoUrl,
|
|
689
|
+
alt: name || shortName,
|
|
690
|
+
className: "w-full h-full object-contain",
|
|
691
|
+
onError: (e) => {
|
|
692
|
+
e.target.style.display = "none";
|
|
693
|
+
const fallbackDiv = document.createElement("div");
|
|
694
|
+
fallbackDiv.className = "text-2xl font-bold text-gradient-accent";
|
|
695
|
+
fallbackDiv.textContent = shortName;
|
|
696
|
+
e.target.parentElement.appendChild(fallbackDiv);
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
) : /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-2xl font-bold text-gradient-accent", children: shortName }) }) }),
|
|
700
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("h1", { className: "text-5xl lg:text-6xl font-extrabold tracking-tight mb-4 text-white drop-shadow-[0_2px_6px_rgba(0,0,0,0.5)]", children: name })
|
|
701
|
+
] }),
|
|
702
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "max-w-4xl mx-auto", children: [
|
|
703
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
704
|
+
"div",
|
|
705
|
+
{
|
|
706
|
+
dangerouslySetInnerHTML: { __html: shortDescription },
|
|
707
|
+
className: "prose max-w-none mb-8 leading-relaxed text-lg sm:text-xl md:text-2xl font-light tracking-wide text-slate-200"
|
|
708
|
+
}
|
|
709
|
+
),
|
|
710
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "inline-flex items-center px-4 py-2 rounded-full border bg-white/10 border-white/20 text-white text-small font-medium", children: [
|
|
711
|
+
safeT("aboutCompany.hero.establishedYear", { year: establishedYear }),
|
|
712
|
+
" - ",
|
|
713
|
+
safeT("aboutCompany.hero.experience", { years: experienceYears })
|
|
714
|
+
] })
|
|
715
|
+
] })
|
|
716
|
+
] }) })
|
|
717
|
+
]
|
|
718
|
+
}
|
|
719
|
+
) });
|
|
720
|
+
};
|
|
651
721
|
const TimelineSection = ({ data, t, section }) => {
|
|
652
722
|
var _a, _b, _c;
|
|
653
723
|
const timelineData = ((_c = (_b = (_a = data == null ? void 0 : data.sectionDataBindingItems) == null ? void 0 : _a.filter((item) => item == null ? void 0 : item.data)) == null ? void 0 : _b.sort((a, b) => (a.sortOrder || 0) - (b.sortOrder || 0))) == null ? void 0 : _c.map((item) => item.data)) || [];
|
|
@@ -1773,6 +1843,221 @@ var __async = (__this, __arguments, generator) => {
|
|
|
1773
1843
|
) })
|
|
1774
1844
|
] }) });
|
|
1775
1845
|
};
|
|
1846
|
+
const PartnerAutoSection_1 = ({ getPartnerList, t, isDarkMode, imageBaseUrl = "", section }) => {
|
|
1847
|
+
const [partners, setPartners] = require$$0.useState([]);
|
|
1848
|
+
const [loading, setLoading] = require$$0.useState(true);
|
|
1849
|
+
const [currentPage, setCurrentPage] = require$$0.useState(0);
|
|
1850
|
+
require$$0.useEffect(() => {
|
|
1851
|
+
const loadData = () => __async(null, null, function* () {
|
|
1852
|
+
if (!getPartnerList) return;
|
|
1853
|
+
setLoading(true);
|
|
1854
|
+
try {
|
|
1855
|
+
const result = yield getPartnerList();
|
|
1856
|
+
if (result && result.success && Array.isArray(result.data)) {
|
|
1857
|
+
const sorted = [...result.data].sort((a, b) => (a.order || 0) - (b.order || 0));
|
|
1858
|
+
setPartners(sorted);
|
|
1859
|
+
}
|
|
1860
|
+
} catch (error) {
|
|
1861
|
+
console.error("Error loading auto partners:", error);
|
|
1862
|
+
} finally {
|
|
1863
|
+
setLoading(false);
|
|
1864
|
+
}
|
|
1865
|
+
});
|
|
1866
|
+
loadData();
|
|
1867
|
+
}, [getPartnerList]);
|
|
1868
|
+
const getImageUrl = (imagePath) => {
|
|
1869
|
+
if (!imagePath) return "";
|
|
1870
|
+
if (imagePath.startsWith("http://") || imagePath.startsWith("https://")) {
|
|
1871
|
+
return imagePath;
|
|
1872
|
+
}
|
|
1873
|
+
return `${imageBaseUrl}${imagePath}`;
|
|
1874
|
+
};
|
|
1875
|
+
const itemsPerPage = 30;
|
|
1876
|
+
const totalPages = Math.ceil(partners.length / itemsPerPage);
|
|
1877
|
+
const currentPartners = partners.slice(
|
|
1878
|
+
currentPage * itemsPerPage,
|
|
1879
|
+
(currentPage + 1) * itemsPerPage
|
|
1880
|
+
);
|
|
1881
|
+
if (loading) {
|
|
1882
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(SectionWrapper, { isDarkMode, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "relative max-w-7xl mx-auto px-6 sm:px-8 lg:px-12 animate-pulse", children: [
|
|
1883
|
+
(section == null ? void 0 : section.title) && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "h-8 w-64 bg-gray-200 dark:bg-slate-700 mx-auto rounded-lg mb-12" }),
|
|
1884
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-6 gap-6 md:gap-8", children: Array.from({ length: 12 }).map((_, i) => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "bg-gray-200 dark:bg-slate-700 rounded-xl h-28 border border-gray-150 dark:border-gray-850" }, i)) })
|
|
1885
|
+
] }) });
|
|
1886
|
+
}
|
|
1887
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(SectionWrapper, { isDarkMode, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "relative max-w-7xl mx-auto px-6 sm:px-8 lg:px-12", children: [
|
|
1888
|
+
(section == null ? void 0 : section.title) && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "text-center mb-12", children: [
|
|
1889
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
1890
|
+
"div",
|
|
1891
|
+
{
|
|
1892
|
+
className: "text-3xl font-bold mb-4",
|
|
1893
|
+
style: { color: isDarkMode ? "#F8FAFC" : "#1E3888" },
|
|
1894
|
+
dangerouslySetInnerHTML: { __html: section.title }
|
|
1895
|
+
}
|
|
1896
|
+
),
|
|
1897
|
+
section.description && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
1898
|
+
"div",
|
|
1899
|
+
{
|
|
1900
|
+
className: "text-lg",
|
|
1901
|
+
style: { color: isDarkMode ? "#CBD5E1" : "#475569" },
|
|
1902
|
+
dangerouslySetInnerHTML: { __html: section.description }
|
|
1903
|
+
}
|
|
1904
|
+
)
|
|
1905
|
+
] }),
|
|
1906
|
+
currentPartners.length > 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-6 gap-6 md:gap-8", children: currentPartners.map((partner) => {
|
|
1907
|
+
const hasUrl = !!partner.websiteUrl;
|
|
1908
|
+
const CardElement = hasUrl ? "a" : "div";
|
|
1909
|
+
const cardProps = hasUrl ? {
|
|
1910
|
+
href: partner.websiteUrl,
|
|
1911
|
+
target: "_blank",
|
|
1912
|
+
rel: "noopener noreferrer"
|
|
1913
|
+
} : {};
|
|
1914
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
1915
|
+
CardElement,
|
|
1916
|
+
__spreadProps(__spreadValues({}, cardProps), {
|
|
1917
|
+
className: "relative group flex items-center justify-center p-5 bg-white dark:bg-slate-800 rounded-xl hover:shadow-lg transition-all duration-300 hover:-translate-y-1 h-28 border border-gray-100 dark:border-gray-700 shadow-sm",
|
|
1918
|
+
children: [
|
|
1919
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
1920
|
+
"img",
|
|
1921
|
+
{
|
|
1922
|
+
src: getImageUrl(partner.logoUrl),
|
|
1923
|
+
alt: partner.name || "Partner logo",
|
|
1924
|
+
className: "max-w-full max-h-16 object-contain transition-all duration-300",
|
|
1925
|
+
onError: (e) => {
|
|
1926
|
+
e.target.src = "https://via.placeholder.com/150x80?text=Logo";
|
|
1927
|
+
}
|
|
1928
|
+
}
|
|
1929
|
+
),
|
|
1930
|
+
partner.name && /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: "absolute bottom-full left-1/2 -translate-x-1/2 mb-2 px-3 py-1.5 text-xs text-white bg-slate-900/90 dark:bg-slate-700/90 backdrop-blur-sm rounded-lg shadow-lg opacity-0 group-hover:opacity-100 transition-all duration-300 pointer-events-none whitespace-normal text-center max-w-[200px] z-50 transform translate-y-1 group-hover:translate-y-0", children: [
|
|
1931
|
+
partner.name,
|
|
1932
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "absolute top-full left-1/2 -translate-x-1/2 border-4 border-transparent border-t-slate-900/90 dark:border-t-slate-700/90" })
|
|
1933
|
+
] })
|
|
1934
|
+
]
|
|
1935
|
+
}),
|
|
1936
|
+
partner.id
|
|
1937
|
+
);
|
|
1938
|
+
}) }) : /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-center py-10", children: /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-gray-500 dark:text-gray-400", children: (t == null ? void 0 : t("partners.noData")) || "Chưa có dữ liệu đối tác." }) }),
|
|
1939
|
+
totalPages > 1 && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex justify-center items-center gap-4 mt-12", children: [
|
|
1940
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
1941
|
+
"button",
|
|
1942
|
+
{
|
|
1943
|
+
onClick: () => setCurrentPage((prev) => Math.max(0, prev - 1)),
|
|
1944
|
+
disabled: currentPage === 0,
|
|
1945
|
+
className: "w-12 h-12 rounded-full border border-blue-600 dark:border-blue-400 flex items-center justify-center text-blue-600 dark:text-blue-400 hover:bg-blue-50 dark:hover:bg-slate-800 transition-colors disabled:opacity-30 disabled:cursor-not-allowed",
|
|
1946
|
+
"aria-label": "Trang trước",
|
|
1947
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { className: "w-5 h-5 stroke-current fill-none", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M15 19l-7-7 7-7" }) })
|
|
1948
|
+
}
|
|
1949
|
+
),
|
|
1950
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
1951
|
+
"button",
|
|
1952
|
+
{
|
|
1953
|
+
onClick: () => setCurrentPage((prev) => Math.min(totalPages - 1, prev + 1)),
|
|
1954
|
+
disabled: currentPage === totalPages - 1,
|
|
1955
|
+
className: "w-12 h-12 rounded-full border border-blue-600 dark:border-blue-400 flex items-center justify-center text-blue-600 dark:text-blue-400 hover:bg-blue-50 dark:hover:bg-slate-800 transition-colors disabled:opacity-30 disabled:cursor-not-allowed",
|
|
1956
|
+
"aria-label": "Trang sau",
|
|
1957
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { className: "w-5 h-5 stroke-current fill-none", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M9 5l7 7-7 7" }) })
|
|
1958
|
+
}
|
|
1959
|
+
)
|
|
1960
|
+
] })
|
|
1961
|
+
] }) });
|
|
1962
|
+
};
|
|
1963
|
+
const PartnersGridSection_3 = ({ data, t, isDarkMode, imageBaseUrl = "", section }) => {
|
|
1964
|
+
const [currentPage, setCurrentPage] = require$$0.useState(0);
|
|
1965
|
+
const extractPartners = (data2) => {
|
|
1966
|
+
if (!(data2 == null ? void 0 : data2.sectionDataBindingItems) || data2.sectionDataBindingItems.length === 0) {
|
|
1967
|
+
return [];
|
|
1968
|
+
}
|
|
1969
|
+
return data2.sectionDataBindingItems.filter((item) => item && item.data).map((item) => item.data).sort((a, b) => (a.order || 0) - (b.order || 0));
|
|
1970
|
+
};
|
|
1971
|
+
const getImageUrl = (imagePath) => {
|
|
1972
|
+
if (!imagePath) return "";
|
|
1973
|
+
if (imagePath.startsWith("http://") || imagePath.startsWith("https://")) {
|
|
1974
|
+
return imagePath;
|
|
1975
|
+
}
|
|
1976
|
+
return `${imageBaseUrl}${imagePath}`;
|
|
1977
|
+
};
|
|
1978
|
+
const partners = extractPartners(data);
|
|
1979
|
+
const itemsPerPage = 30;
|
|
1980
|
+
const totalPages = Math.ceil(partners.length / itemsPerPage);
|
|
1981
|
+
const currentPartners = partners.slice(
|
|
1982
|
+
currentPage * itemsPerPage,
|
|
1983
|
+
(currentPage + 1) * itemsPerPage
|
|
1984
|
+
);
|
|
1985
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(SectionWrapper, { isDarkMode, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "relative max-w-7xl mx-auto px-6 sm:px-8 lg:px-12", children: [
|
|
1986
|
+
(section == null ? void 0 : section.title) && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "text-center mb-12", children: [
|
|
1987
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
1988
|
+
"div",
|
|
1989
|
+
{
|
|
1990
|
+
className: "text-3xl font-bold mb-4",
|
|
1991
|
+
style: { color: isDarkMode ? "#F8FAFC" : "#1E3888" },
|
|
1992
|
+
dangerouslySetInnerHTML: { __html: section.title }
|
|
1993
|
+
}
|
|
1994
|
+
),
|
|
1995
|
+
section.description && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
1996
|
+
"div",
|
|
1997
|
+
{
|
|
1998
|
+
className: "text-lg",
|
|
1999
|
+
style: { color: isDarkMode ? "#CBD5E1" : "#475569" },
|
|
2000
|
+
dangerouslySetInnerHTML: { __html: section.description }
|
|
2001
|
+
}
|
|
2002
|
+
)
|
|
2003
|
+
] }),
|
|
2004
|
+
currentPartners.length > 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-6 gap-6 md:gap-8", children: currentPartners.map((partner) => {
|
|
2005
|
+
const hasUrl = !!partner.websiteUrl;
|
|
2006
|
+
const CardElement = hasUrl ? "a" : "div";
|
|
2007
|
+
const cardProps = hasUrl ? {
|
|
2008
|
+
href: partner.websiteUrl,
|
|
2009
|
+
target: "_blank",
|
|
2010
|
+
rel: "noopener noreferrer"
|
|
2011
|
+
} : {};
|
|
2012
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
2013
|
+
CardElement,
|
|
2014
|
+
__spreadProps(__spreadValues({}, cardProps), {
|
|
2015
|
+
className: "relative group flex items-center justify-center p-5 bg-white dark:bg-slate-800 rounded-xl hover:shadow-lg transition-all duration-300 hover:-translate-y-1 h-28 border border-gray-100 dark:border-gray-700 shadow-sm",
|
|
2016
|
+
children: [
|
|
2017
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
2018
|
+
"img",
|
|
2019
|
+
{
|
|
2020
|
+
src: getImageUrl(partner.logoUrl),
|
|
2021
|
+
alt: partner.name || "Partner logo",
|
|
2022
|
+
className: "max-w-full max-h-16 object-contain transition-all duration-300",
|
|
2023
|
+
onError: (e) => {
|
|
2024
|
+
e.target.src = "https://via.placeholder.com/150x80?text=Logo";
|
|
2025
|
+
}
|
|
2026
|
+
}
|
|
2027
|
+
),
|
|
2028
|
+
partner.name && /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: "absolute bottom-full left-1/2 -translate-x-1/2 mb-2 px-3 py-1.5 text-xs text-white bg-slate-900/90 dark:bg-slate-700/90 backdrop-blur-sm rounded-lg shadow-lg opacity-0 group-hover:opacity-100 transition-all duration-300 pointer-events-none whitespace-normal text-center max-w-[200px] z-50 transform translate-y-1 group-hover:translate-y-0", children: [
|
|
2029
|
+
partner.name,
|
|
2030
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "absolute top-full left-1/2 -translate-x-1/2 border-4 border-transparent border-t-slate-900/90 dark:border-t-slate-700/90" })
|
|
2031
|
+
] })
|
|
2032
|
+
]
|
|
2033
|
+
}),
|
|
2034
|
+
partner.id
|
|
2035
|
+
);
|
|
2036
|
+
}) }) : /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-center py-10", children: /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-gray-500 dark:text-gray-400", children: (t == null ? void 0 : t("partners.noData")) || "Chưa có dữ liệu đối tác." }) }),
|
|
2037
|
+
totalPages > 1 && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex justify-center items-center gap-4 mt-12", children: [
|
|
2038
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
2039
|
+
"button",
|
|
2040
|
+
{
|
|
2041
|
+
onClick: () => setCurrentPage((prev) => Math.max(0, prev - 1)),
|
|
2042
|
+
disabled: currentPage === 0,
|
|
2043
|
+
className: "w-12 h-12 rounded-full border border-blue-600 dark:border-blue-400 flex items-center justify-center text-blue-600 dark:text-blue-400 hover:bg-blue-50 dark:hover:bg-slate-800 transition-colors disabled:opacity-30 disabled:cursor-not-allowed",
|
|
2044
|
+
"aria-label": "Trang trước",
|
|
2045
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { className: "w-5 h-5 stroke-current fill-none", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M15 19l-7-7 7-7" }) })
|
|
2046
|
+
}
|
|
2047
|
+
),
|
|
2048
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
2049
|
+
"button",
|
|
2050
|
+
{
|
|
2051
|
+
onClick: () => setCurrentPage((prev) => Math.min(totalPages - 1, prev + 1)),
|
|
2052
|
+
disabled: currentPage === totalPages - 1,
|
|
2053
|
+
className: "w-12 h-12 rounded-full border border-blue-600 dark:border-blue-400 flex items-center justify-center text-blue-600 dark:text-blue-400 hover:bg-blue-50 dark:hover:bg-slate-800 transition-colors disabled:opacity-30 disabled:cursor-not-allowed",
|
|
2054
|
+
"aria-label": "Trang sau",
|
|
2055
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { className: "w-5 h-5 stroke-current fill-none", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M9 5l7 7-7 7" }) })
|
|
2056
|
+
}
|
|
2057
|
+
)
|
|
2058
|
+
] })
|
|
2059
|
+
] }) });
|
|
2060
|
+
};
|
|
1776
2061
|
const ContactFormSection = ({ data, t, isDarkMode, consultationRequestService }) => {
|
|
1777
2062
|
const [formData, setFormData] = require$$0.useState({
|
|
1778
2063
|
fullName: "",
|
|
@@ -5346,8 +5631,357 @@ var __async = (__this, __arguments, generator) => {
|
|
|
5346
5631
|
] }) })
|
|
5347
5632
|
] });
|
|
5348
5633
|
};
|
|
5634
|
+
const HeroBannerSection_2 = ({ data, t, isDarkMode, imageBaseUrl = "" }) => {
|
|
5635
|
+
var _a, _b;
|
|
5636
|
+
const [activeSlide, setActiveSlide] = require$$0.useState(0);
|
|
5637
|
+
const [isLightboxOpen, setIsLightboxOpen] = require$$0.useState(false);
|
|
5638
|
+
const extractBannerData = (data2) => {
|
|
5639
|
+
if (!(data2 == null ? void 0 : data2.sectionDataBindingItems) || data2.sectionDataBindingItems.length === 0) {
|
|
5640
|
+
return null;
|
|
5641
|
+
}
|
|
5642
|
+
const item = data2.sectionDataBindingItems[0];
|
|
5643
|
+
if (!item || !item.data) {
|
|
5644
|
+
return null;
|
|
5645
|
+
}
|
|
5646
|
+
const bannerData2 = item.data;
|
|
5647
|
+
if (!bannerData2.id && !bannerData2.name) {
|
|
5648
|
+
return null;
|
|
5649
|
+
}
|
|
5650
|
+
const extractedData = {
|
|
5651
|
+
id: bannerData2.id,
|
|
5652
|
+
name: bannerData2.name || "",
|
|
5653
|
+
description: bannerData2.description || "",
|
|
5654
|
+
images: Array.isArray(bannerData2.images) ? bannerData2.images : []
|
|
5655
|
+
};
|
|
5656
|
+
return extractedData;
|
|
5657
|
+
};
|
|
5658
|
+
const bannerData = extractBannerData(data);
|
|
5659
|
+
const getImageUrl = (imagePath) => {
|
|
5660
|
+
if (!imagePath) {
|
|
5661
|
+
return null;
|
|
5662
|
+
}
|
|
5663
|
+
if (imagePath.startsWith("http://") || imagePath.startsWith("https://")) {
|
|
5664
|
+
return imagePath;
|
|
5665
|
+
}
|
|
5666
|
+
return `${imageBaseUrl}${imagePath}`;
|
|
5667
|
+
};
|
|
5668
|
+
const slideImages = ((_a = bannerData == null ? void 0 : bannerData.images) == null ? void 0 : _a.map((img) => ({
|
|
5669
|
+
id: img.id || `img-${Math.random()}`,
|
|
5670
|
+
url: getImageUrl(img.url)
|
|
5671
|
+
}))) || [];
|
|
5672
|
+
const defaultImage = "https://images.unsplash.com/photo-1566073771259-6a8506099945?w=1920&h=1080&fit=crop&q=80";
|
|
5673
|
+
const displayImages = [...slideImages].slice(0, 3);
|
|
5674
|
+
if (!bannerData) {
|
|
5675
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("section", { className: "py-20 bg-body", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "max-w-7xl mx-auto px-4 text-center", children: [
|
|
5676
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("h3", { className: "text-lg font-semibold mb-2 text-main", children: (t == null ? void 0 : t("banner.noData.title")) || "Chưa có dữ liệu" }),
|
|
5677
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-muted", children: (t == null ? void 0 : t("banner.noData.description")) || "Hiện tại chưa có banner nào được thiết lập." })
|
|
5678
|
+
] }) });
|
|
5679
|
+
}
|
|
5680
|
+
const renderImages = () => {
|
|
5681
|
+
if (displayImages.length === 0) {
|
|
5682
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex items-center justify-center border-2 border-dashed border-gray-300 dark:border-gray-700 rounded-lg aspect-[16/10] w-full max-w-md mx-auto", children: /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-gray-400 text-sm", children: "Chưa có hình ảnh" }) });
|
|
5683
|
+
}
|
|
5684
|
+
const configs = [
|
|
5685
|
+
{ className: "banner2-img-0 dsm-float-slow", originalIndex: 0 },
|
|
5686
|
+
{ className: "banner2-img-1 dsm-float-medium", originalIndex: 1 },
|
|
5687
|
+
{ className: "banner2-img-2 dsm-float-fast", originalIndex: 2 }
|
|
5688
|
+
];
|
|
5689
|
+
let mappedImages = [];
|
|
5690
|
+
if (displayImages.length === 1) {
|
|
5691
|
+
mappedImages = [{ img: displayImages[0], config: configs[1], originalIndex: 0 }];
|
|
5692
|
+
} else if (displayImages.length === 2) {
|
|
5693
|
+
mappedImages = [
|
|
5694
|
+
{ img: displayImages[0], config: configs[0], originalIndex: 0 },
|
|
5695
|
+
{ img: displayImages[1], config: configs[1], originalIndex: 1 }
|
|
5696
|
+
];
|
|
5697
|
+
} else {
|
|
5698
|
+
mappedImages = [
|
|
5699
|
+
{ img: displayImages[0], config: configs[0], originalIndex: 0 },
|
|
5700
|
+
{ img: displayImages[1], config: configs[1], originalIndex: 1 },
|
|
5701
|
+
{ img: displayImages[2], config: configs[2], originalIndex: 2 }
|
|
5702
|
+
];
|
|
5703
|
+
}
|
|
5704
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "relative w-full banner2-image-container", children: mappedImages.map((item, idx) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
5705
|
+
"div",
|
|
5706
|
+
{
|
|
5707
|
+
className: `absolute transition-all duration-300 hover:scale-[1.03] hover:!z-40 cursor-pointer ${item.config.className}`,
|
|
5708
|
+
onClick: () => {
|
|
5709
|
+
setActiveSlide(item.originalIndex);
|
|
5710
|
+
setIsLightboxOpen(true);
|
|
5711
|
+
},
|
|
5712
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
5713
|
+
"img",
|
|
5714
|
+
{
|
|
5715
|
+
src: item.img.url,
|
|
5716
|
+
alt: `${bannerData.name} - ${idx + 1}`,
|
|
5717
|
+
className: "w-full aspect-[16/10] object-cover rounded-lg shadow-[0_15px_30px_rgba(0,0,0,0.3)] border border-gray-200 dark:border-gray-800",
|
|
5718
|
+
onError: (e) => {
|
|
5719
|
+
e.target.src = defaultImage;
|
|
5720
|
+
}
|
|
5721
|
+
}
|
|
5722
|
+
)
|
|
5723
|
+
},
|
|
5724
|
+
item.img.id
|
|
5725
|
+
)) });
|
|
5726
|
+
};
|
|
5727
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(SectionWrapper, { isDarkMode, children: [
|
|
5728
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("style", { children: `
|
|
5729
|
+
@keyframes dsmFloatSlow {
|
|
5730
|
+
0%, 100% { transform: translateY(0px) rotate(0.2deg); }
|
|
5731
|
+
50% { transform: translateY(-12px) rotate(-0.2deg); }
|
|
5732
|
+
}
|
|
5733
|
+
@keyframes dsmFloatMedium {
|
|
5734
|
+
0%, 100% { transform: translateY(0px) rotate(-0.1deg); }
|
|
5735
|
+
50% { transform: translateY(-8px) rotate(0.1deg); }
|
|
5736
|
+
}
|
|
5737
|
+
@keyframes dsmFloatFast {
|
|
5738
|
+
0%, 100% { transform: translateY(0px) rotate(0deg); }
|
|
5739
|
+
50% { transform: translateY(-15px) rotate(0.3deg); }
|
|
5740
|
+
}
|
|
5741
|
+
.dsm-float-slow {
|
|
5742
|
+
animation: dsmFloatSlow 6s ease-in-out infinite;
|
|
5743
|
+
}
|
|
5744
|
+
.dsm-float-medium {
|
|
5745
|
+
animation: dsmFloatMedium 7s ease-in-out infinite;
|
|
5746
|
+
}
|
|
5747
|
+
.dsm-float-fast {
|
|
5748
|
+
animation: dsmFloatFast 5s ease-in-out infinite;
|
|
5749
|
+
}
|
|
5750
|
+
|
|
5751
|
+
/* Mobile layout (default) */
|
|
5752
|
+
.banner2-image-container {
|
|
5753
|
+
position: relative;
|
|
5754
|
+
width: 100%;
|
|
5755
|
+
min-height: 280px;
|
|
5756
|
+
margin-top: 1.5rem;
|
|
5757
|
+
}
|
|
5758
|
+
.banner2-img-0 {
|
|
5759
|
+
left: 0%;
|
|
5760
|
+
top: 25%;
|
|
5761
|
+
width: 50%;
|
|
5762
|
+
z-index: 10;
|
|
5763
|
+
}
|
|
5764
|
+
.banner2-img-1 {
|
|
5765
|
+
left: 15%;
|
|
5766
|
+
top: 5%;
|
|
5767
|
+
width: 60%;
|
|
5768
|
+
z-index: 20;
|
|
5769
|
+
}
|
|
5770
|
+
.banner2-img-2 {
|
|
5771
|
+
left: 40%;
|
|
5772
|
+
top: 40%;
|
|
5773
|
+
width: 50%;
|
|
5774
|
+
z-index: 30;
|
|
5775
|
+
}
|
|
5776
|
+
|
|
5777
|
+
/* Desktop layout (min-width: 1024px) */
|
|
5778
|
+
@media (min-width: 1024px) {
|
|
5779
|
+
.banner2-image-container {
|
|
5780
|
+
min-height: 480px;
|
|
5781
|
+
margin-top: 0;
|
|
5782
|
+
}
|
|
5783
|
+
.banner2-img-0 {
|
|
5784
|
+
left: 0%;
|
|
5785
|
+
top: 30%;
|
|
5786
|
+
width: 50%;
|
|
5787
|
+
}
|
|
5788
|
+
.banner2-img-1 {
|
|
5789
|
+
left: 15%;
|
|
5790
|
+
top: 10%;
|
|
5791
|
+
width: 65%;
|
|
5792
|
+
}
|
|
5793
|
+
.banner2-img-2 {
|
|
5794
|
+
left: 40%;
|
|
5795
|
+
top: 45%;
|
|
5796
|
+
width: 55%;
|
|
5797
|
+
}
|
|
5798
|
+
}
|
|
5799
|
+
` }),
|
|
5800
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "absolute inset-0 overflow-hidden pointer-events-none", children: [
|
|
5801
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
5802
|
+
"div",
|
|
5803
|
+
{
|
|
5804
|
+
className: "absolute top-0 right-0 w-96 h-96 rounded-full opacity-20 blur-3xl",
|
|
5805
|
+
style: {
|
|
5806
|
+
background: isDarkMode ? "#1086CD" : "#1E3888"
|
|
5807
|
+
}
|
|
5808
|
+
}
|
|
5809
|
+
),
|
|
5810
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
5811
|
+
"div",
|
|
5812
|
+
{
|
|
5813
|
+
className: "absolute bottom-0 left-0 w-96 h-96 rounded-full opacity-10 blur-3xl",
|
|
5814
|
+
style: {
|
|
5815
|
+
background: isDarkMode ? "#1E3888" : "#1086CD"
|
|
5816
|
+
}
|
|
5817
|
+
}
|
|
5818
|
+
)
|
|
5819
|
+
] }),
|
|
5820
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "relative max-w-7xl mx-auto px-6 sm:px-8 lg:px-12", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex flex-col lg:flex-row items-center justify-between gap-8 lg:gap-12", children: [
|
|
5821
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "w-full lg:w-1/2 lg:pr-8 lg:self-start lg:pt-8", children: [
|
|
5822
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
5823
|
+
"div",
|
|
5824
|
+
{
|
|
5825
|
+
className: "leading-tight mb-6",
|
|
5826
|
+
style: {
|
|
5827
|
+
color: isDarkMode ? "#F8FAFC" : "#1E3888"
|
|
5828
|
+
},
|
|
5829
|
+
dangerouslySetInnerHTML: { __html: bannerData.name }
|
|
5830
|
+
}
|
|
5831
|
+
),
|
|
5832
|
+
bannerData.description && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
5833
|
+
"div",
|
|
5834
|
+
{
|
|
5835
|
+
className: "text-lg sm:text-xl leading-relaxed mb-8",
|
|
5836
|
+
style: {
|
|
5837
|
+
color: isDarkMode ? "#CBD5E1" : "#475569"
|
|
5838
|
+
},
|
|
5839
|
+
dangerouslySetInnerHTML: { __html: bannerData.description }
|
|
5840
|
+
}
|
|
5841
|
+
)
|
|
5842
|
+
] }),
|
|
5843
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "w-full lg:w-1/2 py-4 md:py-4 lg:py-5", children: renderImages() })
|
|
5844
|
+
] }) }),
|
|
5845
|
+
isLightboxOpen && reactDom.createPortal(
|
|
5846
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
5847
|
+
"div",
|
|
5848
|
+
{
|
|
5849
|
+
className: "fixed inset-0 flex items-center justify-center p-4",
|
|
5850
|
+
style: {
|
|
5851
|
+
background: "rgba(0, 0, 0, 0.95)",
|
|
5852
|
+
backdropFilter: "blur(10px)",
|
|
5853
|
+
zIndex: 99999
|
|
5854
|
+
},
|
|
5855
|
+
onClick: () => setIsLightboxOpen(false),
|
|
5856
|
+
children: [
|
|
5857
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
5858
|
+
"button",
|
|
5859
|
+
{
|
|
5860
|
+
onClick: () => setIsLightboxOpen(false),
|
|
5861
|
+
className: "absolute top-4 right-4 p-3 transition-all duration-300 hover:scale-110",
|
|
5862
|
+
style: {
|
|
5863
|
+
background: "transparent",
|
|
5864
|
+
border: "none",
|
|
5865
|
+
cursor: "pointer",
|
|
5866
|
+
zIndex: 1e5
|
|
5867
|
+
},
|
|
5868
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
5869
|
+
"svg",
|
|
5870
|
+
{
|
|
5871
|
+
className: "w-6 h-6",
|
|
5872
|
+
fill: "none",
|
|
5873
|
+
stroke: "white",
|
|
5874
|
+
viewBox: "0 0 24 24",
|
|
5875
|
+
style: { filter: "drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5))" },
|
|
5876
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M6 18L18 6M6 6l12 12" })
|
|
5877
|
+
}
|
|
5878
|
+
)
|
|
5879
|
+
}
|
|
5880
|
+
),
|
|
5881
|
+
displayImages.length > 1 && /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
5882
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
5883
|
+
"button",
|
|
5884
|
+
{
|
|
5885
|
+
onClick: (e) => {
|
|
5886
|
+
e.stopPropagation();
|
|
5887
|
+
setActiveSlide((prev) => (prev - 1 + displayImages.length) % displayImages.length);
|
|
5888
|
+
},
|
|
5889
|
+
className: "absolute left-4 p-3 transition-all duration-300 hover:scale-110",
|
|
5890
|
+
style: {
|
|
5891
|
+
background: "transparent",
|
|
5892
|
+
border: "none",
|
|
5893
|
+
cursor: "pointer",
|
|
5894
|
+
zIndex: 1e5
|
|
5895
|
+
},
|
|
5896
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
5897
|
+
"svg",
|
|
5898
|
+
{
|
|
5899
|
+
className: "w-6 h-6",
|
|
5900
|
+
fill: "none",
|
|
5901
|
+
stroke: "white",
|
|
5902
|
+
viewBox: "0 0 24 24",
|
|
5903
|
+
style: { filter: "drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5))" },
|
|
5904
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M15 19l-7-7 7-7" })
|
|
5905
|
+
}
|
|
5906
|
+
)
|
|
5907
|
+
}
|
|
5908
|
+
),
|
|
5909
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
5910
|
+
"button",
|
|
5911
|
+
{
|
|
5912
|
+
onClick: (e) => {
|
|
5913
|
+
e.stopPropagation();
|
|
5914
|
+
setActiveSlide((prev) => (prev + 1) % displayImages.length);
|
|
5915
|
+
},
|
|
5916
|
+
className: "absolute right-4 p-3 transition-all duration-300 hover:scale-110",
|
|
5917
|
+
style: {
|
|
5918
|
+
background: "transparent",
|
|
5919
|
+
border: "none",
|
|
5920
|
+
cursor: "pointer",
|
|
5921
|
+
zIndex: 1e5
|
|
5922
|
+
},
|
|
5923
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
5924
|
+
"svg",
|
|
5925
|
+
{
|
|
5926
|
+
className: "w-6 h-6",
|
|
5927
|
+
fill: "none",
|
|
5928
|
+
stroke: "white",
|
|
5929
|
+
viewBox: "0 0 24 24",
|
|
5930
|
+
style: { filter: "drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5))" },
|
|
5931
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M9 5l7 7-7 7" })
|
|
5932
|
+
}
|
|
5933
|
+
)
|
|
5934
|
+
}
|
|
5935
|
+
)
|
|
5936
|
+
] }),
|
|
5937
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
5938
|
+
"div",
|
|
5939
|
+
{
|
|
5940
|
+
className: "relative max-w-7xl max-h-full",
|
|
5941
|
+
onClick: (e) => e.stopPropagation(),
|
|
5942
|
+
children: [
|
|
5943
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
5944
|
+
"img",
|
|
5945
|
+
{
|
|
5946
|
+
src: ((_b = displayImages[activeSlide]) == null ? void 0 : _b.url) || defaultImage,
|
|
5947
|
+
alt: bannerData.name,
|
|
5948
|
+
className: "max-w-full max-h-[90vh] object-contain rounded",
|
|
5949
|
+
onError: (e) => {
|
|
5950
|
+
e.target.src = defaultImage;
|
|
5951
|
+
}
|
|
5952
|
+
}
|
|
5953
|
+
),
|
|
5954
|
+
displayImages.length > 1 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "absolute bottom-4 left-1/2 transform -translate-x-1/2 flex gap-2", children: displayImages.map((_, index2) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
5955
|
+
"button",
|
|
5956
|
+
{
|
|
5957
|
+
onClick: (e) => {
|
|
5958
|
+
e.stopPropagation();
|
|
5959
|
+
setActiveSlide(index2);
|
|
5960
|
+
},
|
|
5961
|
+
className: "w-2 h-2 rounded-full transition-all duration-300",
|
|
5962
|
+
style: {
|
|
5963
|
+
background: activeSlide === index2 ? "white" : "rgba(255, 255, 255, 0.5)",
|
|
5964
|
+
width: activeSlide === index2 ? "24px" : "8px"
|
|
5965
|
+
}
|
|
5966
|
+
},
|
|
5967
|
+
index2
|
|
5968
|
+
)) })
|
|
5969
|
+
]
|
|
5970
|
+
}
|
|
5971
|
+
)
|
|
5972
|
+
]
|
|
5973
|
+
}
|
|
5974
|
+
),
|
|
5975
|
+
document.body
|
|
5976
|
+
)
|
|
5977
|
+
] });
|
|
5978
|
+
};
|
|
5349
5979
|
const index = {
|
|
5350
5980
|
AboutCompanySection,
|
|
5981
|
+
AboutCompanySection_2,
|
|
5982
|
+
HeroBannerSection_2,
|
|
5983
|
+
PartnerAutoSection_1,
|
|
5984
|
+
PartnersGridSection_3,
|
|
5351
5985
|
CompanyValues,
|
|
5352
5986
|
TimelineSection,
|
|
5353
5987
|
PartnerCard,
|
|
@@ -5375,6 +6009,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
5375
6009
|
HeroBannerSection
|
|
5376
6010
|
};
|
|
5377
6011
|
exports2.AboutCompanySection = AboutCompanySection;
|
|
6012
|
+
exports2.AboutCompanySection_2 = AboutCompanySection_2;
|
|
5378
6013
|
exports2.CompanyValues = CompanyValues;
|
|
5379
6014
|
exports2.ContactFormSection = ContactFormSection;
|
|
5380
6015
|
exports2.ContactInfoSection = ContactInfoSection;
|
|
@@ -5384,15 +6019,18 @@ var __async = (__this, __arguments, generator) => {
|
|
|
5384
6019
|
exports2.DiagramSection2 = DiagramSection2;
|
|
5385
6020
|
exports2.FaqSection = FaqSection;
|
|
5386
6021
|
exports2.HeroBannerSection = HeroBannerSection;
|
|
6022
|
+
exports2.HeroBannerSection_2 = HeroBannerSection_2;
|
|
5387
6023
|
exports2.MilestoneSection = MilestoneSection;
|
|
5388
6024
|
exports2.PageChildrenSelectSection = PageChildrenSelectSection;
|
|
5389
6025
|
exports2.PageChildrenSelectSection1 = PageChildrenSelectSection1;
|
|
5390
6026
|
exports2.PageChildrenSelectSection2 = PageChildrenSelectSection2;
|
|
5391
6027
|
exports2.PageHighlightSection = PageHighlightSection;
|
|
6028
|
+
exports2.PartnerAutoSection_1 = PartnerAutoSection_1;
|
|
5392
6029
|
exports2.PartnerCard = PartnerCard;
|
|
5393
6030
|
exports2.PartnerListCard = PartnerListCard$1;
|
|
5394
6031
|
exports2.PartnerListSection = PartnerListSection;
|
|
5395
6032
|
exports2.PartnerListSection_2 = PartnerListSection_2;
|
|
6033
|
+
exports2.PartnersGridSection_3 = PartnersGridSection_3;
|
|
5396
6034
|
exports2.PartnersSection = PartnersSection$1;
|
|
5397
6035
|
exports2.PartnersSection_2 = PartnersSection;
|
|
5398
6036
|
exports2.ProductListSection = ProductListSection;
|