nvis-fe-cms-libs 1.0.9 → 1.1.2
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.
|
@@ -1392,23 +1392,25 @@ const PartnerListCard = ({ partner, idx = 0, t, isDarkMode, getLogoUrl }) => {
|
|
|
1392
1392
|
"div",
|
|
1393
1393
|
{
|
|
1394
1394
|
ref: itemRef,
|
|
1395
|
-
className: `relative flex flex-col items-center justify-center p-4 rounded-xl shadow-sm transition-all duration-700 ease-out cursor-pointer overflow-hidden min-h-[180px]
|
|
1395
|
+
className: `relative flex flex-col items-center justify-center p-4 rounded-xl shadow-sm transition-all duration-700 ease-out cursor-pointer overflow-hidden min-h-[180px] w-full
|
|
1396
1396
|
${isDarkMode ? "bg-gradient-to-br from-slate-900 via-blue-900 to-indigo-900 border border-blue-800" : "bg-white border border-gray-200"}
|
|
1397
|
-
${visible ? "opacity-100
|
|
1398
|
-
${isHovered ? isDarkMode ? "border-blue-500 shadow-lg shadow-blue-500/20
|
|
1397
|
+
${visible ? "opacity-100" : "opacity-0"}
|
|
1398
|
+
${isHovered ? isDarkMode ? "border-blue-500 shadow-lg shadow-blue-500/20" : "border-blue-300 shadow-lg shadow-blue-500/20" : ""}`,
|
|
1399
1399
|
style: {
|
|
1400
1400
|
transitionDelay: `${idx * 150}ms`,
|
|
1401
|
-
transform: `translateY(${isHovered ? "-4px" : "0px"}) scale(${visible ? "1" : "0.75"})
|
|
1401
|
+
transform: `translateY(${isHovered ? "-4px" : "0px"}) scale(${visible ? "1" : "0.75"})`,
|
|
1402
|
+
position: "relative",
|
|
1403
|
+
zIndex: isHovered ? 10 : 1
|
|
1402
1404
|
},
|
|
1403
1405
|
onMouseEnter: () => setIsHovered(true),
|
|
1404
1406
|
onMouseLeave: () => setIsHovered(false),
|
|
1405
1407
|
onClick: handleClick,
|
|
1406
1408
|
children: [
|
|
1407
1409
|
isDarkMode && /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
1408
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "absolute w-12 h-12 bg-white/5 rounded-full", style: { left: "10%", top: "20%" } }),
|
|
1409
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "absolute w-10 h-10 bg-white/5 rounded-full", style: { right: "30%", bottom: "10%" } }),
|
|
1410
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "absolute w-14 h-14 bg-white/5 rounded-md", style: { left: "20%", bottom: "30%" } }),
|
|
1411
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "absolute inset-0 opacity-20", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
1410
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "absolute w-12 h-12 bg-white/5 rounded-full pointer-events-none", style: { left: "10%", top: "20%", zIndex: -1 } }),
|
|
1411
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "absolute w-10 h-10 bg-white/5 rounded-full pointer-events-none", style: { right: "30%", bottom: "10%", zIndex: -1 } }),
|
|
1412
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "absolute w-14 h-14 bg-white/5 rounded-md pointer-events-none", style: { left: "20%", bottom: "30%", zIndex: -1 } }),
|
|
1413
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "absolute inset-0 opacity-20 pointer-events-none", style: { zIndex: -1 }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
1412
1414
|
"div",
|
|
1413
1415
|
{
|
|
1414
1416
|
style: {
|
|
@@ -1422,7 +1424,7 @@ const PartnerListCard = ({ partner, idx = 0, t, isDarkMode, getLogoUrl }) => {
|
|
|
1422
1424
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
1423
1425
|
"div",
|
|
1424
1426
|
{
|
|
1425
|
-
className: `w-20 h-14 flex items-center justify-center mb-4 rounded-lg overflow-hidden border transition-all duration-300
|
|
1427
|
+
className: `relative w-20 h-14 flex items-center justify-center mb-4 rounded-lg overflow-hidden border transition-all duration-300
|
|
1426
1428
|
${isDarkMode ? "border-gray-600" : "border-gray-200"}
|
|
1427
1429
|
${isHovered ? "border-blue-500" : ""}
|
|
1428
1430
|
`,
|
|
@@ -1434,7 +1436,7 @@ const PartnerListCard = ({ partner, idx = 0, t, isDarkMode, getLogoUrl }) => {
|
|
|
1434
1436
|
"img",
|
|
1435
1437
|
{
|
|
1436
1438
|
src: logoSrc,
|
|
1437
|
-
alt: partner.name || t("partners.logoAlt") || "Partner logo",
|
|
1439
|
+
alt: partner.name || (t == null ? void 0 : t("partners.logoAlt")) || "Partner logo",
|
|
1438
1440
|
className: "max-w-full max-h-full object-contain transition-all duration-300",
|
|
1439
1441
|
style: {
|
|
1440
1442
|
filter: isDarkMode ? isHovered ? "grayscale(0) opacity(1)" : "grayscale(0.3) opacity(0.8)" : isHovered ? "grayscale(0) opacity(1)" : "grayscale(0.2) opacity(0.9)",
|
|
@@ -1444,7 +1446,7 @@ const PartnerListCard = ({ partner, idx = 0, t, isDarkMode, getLogoUrl }) => {
|
|
|
1444
1446
|
loading: "lazy"
|
|
1445
1447
|
}
|
|
1446
1448
|
),
|
|
1447
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "
|
|
1449
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "absolute inset-0 bg-gradient-to-br from-blue-500 to-purple-600 flex items-center justify-center", style: { display: "none" }, children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-white font-bold text-center text-sm px-1", children: partner.name }) })
|
|
1448
1450
|
] }) : /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "w-full h-full bg-gradient-to-br from-blue-500 to-purple-600 flex items-center justify-center", children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-white font-bold text-center text-sm px-1", children: partner.name }) })
|
|
1449
1451
|
}
|
|
1450
1452
|
),
|
|
@@ -1453,13 +1455,13 @@ const PartnerListCard = ({ partner, idx = 0, t, isDarkMode, getLogoUrl }) => {
|
|
|
1453
1455
|
partner.websiteUrl && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
1454
1456
|
"div",
|
|
1455
1457
|
{
|
|
1456
|
-
className: "transition-all duration-300",
|
|
1458
|
+
className: "transition-all duration-300 absolute bottom-4",
|
|
1457
1459
|
style: {
|
|
1458
1460
|
opacity: isHovered ? 1 : 0,
|
|
1459
1461
|
transform: `translateY(${isHovered ? "0px" : "4px"})`
|
|
1460
1462
|
},
|
|
1461
1463
|
children: /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: "text-xs text-blue-600 font-medium", children: [
|
|
1462
|
-
t("partners.viewDetails") || "Xem chi tiết",
|
|
1464
|
+
(t == null ? void 0 : t("partners.viewDetails")) || "Xem chi tiết",
|
|
1463
1465
|
" →"
|
|
1464
1466
|
] })
|
|
1465
1467
|
}
|
|
@@ -1634,7 +1636,7 @@ const PartnerListSection = ({ t, isDarkMode, getPartnerList, imageBaseUrl = "" }
|
|
|
1634
1636
|
);
|
|
1635
1637
|
};
|
|
1636
1638
|
/**
|
|
1637
|
-
* @license lucide-react v0.
|
|
1639
|
+
* @license lucide-react v0.536.0 - ISC
|
|
1638
1640
|
*
|
|
1639
1641
|
* This source code is licensed under the ISC license.
|
|
1640
1642
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -1659,7 +1661,7 @@ const hasA11yProp = (props) => {
|
|
|
1659
1661
|
}
|
|
1660
1662
|
};
|
|
1661
1663
|
/**
|
|
1662
|
-
* @license lucide-react v0.
|
|
1664
|
+
* @license lucide-react v0.536.0 - ISC
|
|
1663
1665
|
*
|
|
1664
1666
|
* This source code is licensed under the ISC license.
|
|
1665
1667
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -1676,7 +1678,7 @@ var defaultAttributes = {
|
|
|
1676
1678
|
strokeLinejoin: "round"
|
|
1677
1679
|
};
|
|
1678
1680
|
/**
|
|
1679
|
-
* @license lucide-react v0.
|
|
1681
|
+
* @license lucide-react v0.536.0 - ISC
|
|
1680
1682
|
*
|
|
1681
1683
|
* This source code is licensed under the ISC license.
|
|
1682
1684
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -1719,7 +1721,7 @@ const Icon = forwardRef(
|
|
|
1719
1721
|
}
|
|
1720
1722
|
);
|
|
1721
1723
|
/**
|
|
1722
|
-
* @license lucide-react v0.
|
|
1724
|
+
* @license lucide-react v0.536.0 - ISC
|
|
1723
1725
|
*
|
|
1724
1726
|
* This source code is licensed under the ISC license.
|
|
1725
1727
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -1743,7 +1745,7 @@ const createLucideIcon = (iconName, iconNode) => {
|
|
|
1743
1745
|
return Component;
|
|
1744
1746
|
};
|
|
1745
1747
|
/**
|
|
1746
|
-
* @license lucide-react v0.
|
|
1748
|
+
* @license lucide-react v0.536.0 - ISC
|
|
1747
1749
|
*
|
|
1748
1750
|
* This source code is licensed under the ISC license.
|
|
1749
1751
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -1755,7 +1757,7 @@ const __iconNode$9 = [
|
|
|
1755
1757
|
];
|
|
1756
1758
|
const CircleAlert = createLucideIcon("circle-alert", __iconNode$9);
|
|
1757
1759
|
/**
|
|
1758
|
-
* @license lucide-react v0.
|
|
1760
|
+
* @license lucide-react v0.536.0 - ISC
|
|
1759
1761
|
*
|
|
1760
1762
|
* This source code is licensed under the ISC license.
|
|
1761
1763
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -1766,7 +1768,7 @@ const __iconNode$8 = [
|
|
|
1766
1768
|
];
|
|
1767
1769
|
const CircleCheckBig = createLucideIcon("circle-check-big", __iconNode$8);
|
|
1768
1770
|
/**
|
|
1769
|
-
* @license lucide-react v0.
|
|
1771
|
+
* @license lucide-react v0.536.0 - ISC
|
|
1770
1772
|
*
|
|
1771
1773
|
* This source code is licensed under the ISC license.
|
|
1772
1774
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -1777,7 +1779,7 @@ const __iconNode$7 = [
|
|
|
1777
1779
|
];
|
|
1778
1780
|
const Clock = createLucideIcon("clock", __iconNode$7);
|
|
1779
1781
|
/**
|
|
1780
|
-
* @license lucide-react v0.
|
|
1782
|
+
* @license lucide-react v0.536.0 - ISC
|
|
1781
1783
|
*
|
|
1782
1784
|
* This source code is licensed under the ISC license.
|
|
1783
1785
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -1785,7 +1787,7 @@ const Clock = createLucideIcon("clock", __iconNode$7);
|
|
|
1785
1787
|
const __iconNode$6 = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]];
|
|
1786
1788
|
const LoaderCircle = createLucideIcon("loader-circle", __iconNode$6);
|
|
1787
1789
|
/**
|
|
1788
|
-
* @license lucide-react v0.
|
|
1790
|
+
* @license lucide-react v0.536.0 - ISC
|
|
1789
1791
|
*
|
|
1790
1792
|
* This source code is licensed under the ISC license.
|
|
1791
1793
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -1796,7 +1798,7 @@ const __iconNode$5 = [
|
|
|
1796
1798
|
];
|
|
1797
1799
|
const Mail = createLucideIcon("mail", __iconNode$5);
|
|
1798
1800
|
/**
|
|
1799
|
-
* @license lucide-react v0.
|
|
1801
|
+
* @license lucide-react v0.536.0 - ISC
|
|
1800
1802
|
*
|
|
1801
1803
|
* This source code is licensed under the ISC license.
|
|
1802
1804
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -1812,7 +1814,7 @@ const __iconNode$4 = [
|
|
|
1812
1814
|
];
|
|
1813
1815
|
const MessageCircle = createLucideIcon("message-circle", __iconNode$4);
|
|
1814
1816
|
/**
|
|
1815
|
-
* @license lucide-react v0.
|
|
1817
|
+
* @license lucide-react v0.536.0 - ISC
|
|
1816
1818
|
*
|
|
1817
1819
|
* This source code is licensed under the ISC license.
|
|
1818
1820
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -1828,7 +1830,7 @@ const __iconNode$3 = [
|
|
|
1828
1830
|
];
|
|
1829
1831
|
const MessageSquare = createLucideIcon("message-square", __iconNode$3);
|
|
1830
1832
|
/**
|
|
1831
|
-
* @license lucide-react v0.
|
|
1833
|
+
* @license lucide-react v0.536.0 - ISC
|
|
1832
1834
|
*
|
|
1833
1835
|
* This source code is licensed under the ISC license.
|
|
1834
1836
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -1844,7 +1846,7 @@ const __iconNode$2 = [
|
|
|
1844
1846
|
];
|
|
1845
1847
|
const Phone = createLucideIcon("phone", __iconNode$2);
|
|
1846
1848
|
/**
|
|
1847
|
-
* @license lucide-react v0.
|
|
1849
|
+
* @license lucide-react v0.536.0 - ISC
|
|
1848
1850
|
*
|
|
1849
1851
|
* This source code is licensed under the ISC license.
|
|
1850
1852
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -1861,7 +1863,7 @@ const __iconNode$1 = [
|
|
|
1861
1863
|
];
|
|
1862
1864
|
const Send = createLucideIcon("send", __iconNode$1);
|
|
1863
1865
|
/**
|
|
1864
|
-
* @license lucide-react v0.
|
|
1866
|
+
* @license lucide-react v0.536.0 - ISC
|
|
1865
1867
|
*
|
|
1866
1868
|
* This source code is licensed under the ISC license.
|
|
1867
1869
|
* See the LICENSE file in the root directory of this source tree.
|