nvis-fe-cms-libs 1.1.34 → 1.1.35
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.
|
@@ -4564,9 +4564,6 @@ const PageChildrenSelectSection = ({ data, isDarkMode, t, section, imageBaseUrl
|
|
|
4564
4564
|
if (!pages || pages.length === 0) {
|
|
4565
4565
|
return null;
|
|
4566
4566
|
}
|
|
4567
|
-
const handleNavigate = (slug) => {
|
|
4568
|
-
window.location.href = slug;
|
|
4569
|
-
};
|
|
4570
4567
|
const handleLoadMore = () => {
|
|
4571
4568
|
setVisibleCount((prev) => prev + 8);
|
|
4572
4569
|
};
|
|
@@ -4605,9 +4602,9 @@ const PageChildrenSelectSection = ({ data, isDarkMode, t, section, imageBaseUrl
|
|
|
4605
4602
|
}, children: visiblePages.map((page) => {
|
|
4606
4603
|
const iconUrl = getImageUrl(page.icon);
|
|
4607
4604
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
4608
|
-
"
|
|
4605
|
+
"a",
|
|
4609
4606
|
{
|
|
4610
|
-
|
|
4607
|
+
href: page.slug,
|
|
4611
4608
|
style: {
|
|
4612
4609
|
backgroundColor: isDarkMode ? "#1f2937" : "#ffffff",
|
|
4613
4610
|
borderRadius: "12px",
|
|
@@ -4620,7 +4617,8 @@ const PageChildrenSelectSection = ({ data, isDarkMode, t, section, imageBaseUrl
|
|
|
4620
4617
|
flexDirection: "column",
|
|
4621
4618
|
alignItems: "center",
|
|
4622
4619
|
textAlign: "center",
|
|
4623
|
-
gap: "16px"
|
|
4620
|
+
gap: "16px",
|
|
4621
|
+
textDecoration: "none"
|
|
4624
4622
|
},
|
|
4625
4623
|
onMouseEnter: (e) => {
|
|
4626
4624
|
e.currentTarget.style.transform = "translateY(-8px)";
|
|
@@ -4709,9 +4707,6 @@ const PageChildrenSelectSection1 = ({ data, isDarkMode, t, section, imageBaseUrl
|
|
|
4709
4707
|
if (!pages || pages.length === 0) {
|
|
4710
4708
|
return null;
|
|
4711
4709
|
}
|
|
4712
|
-
const handleNavigate = (slug) => {
|
|
4713
|
-
window.location.href = slug;
|
|
4714
|
-
};
|
|
4715
4710
|
const handleLoadMore = () => {
|
|
4716
4711
|
setVisibleCount((prev) => prev + 5);
|
|
4717
4712
|
};
|
|
@@ -4741,9 +4736,9 @@ const PageChildrenSelectSection1 = ({ data, isDarkMode, t, section, imageBaseUrl
|
|
|
4741
4736
|
const mainImage = ((_b = (_a2 = page.pageImages) == null ? void 0 : _a2.find((img) => img.isMain)) == null ? void 0 : _b.url) || page.icon;
|
|
4742
4737
|
const imageUrl = getImageUrl(mainImage);
|
|
4743
4738
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
4744
|
-
"
|
|
4739
|
+
"a",
|
|
4745
4740
|
{
|
|
4746
|
-
|
|
4741
|
+
href: page.slug,
|
|
4747
4742
|
style: {
|
|
4748
4743
|
display: "flex",
|
|
4749
4744
|
gap: "20px",
|
|
@@ -4753,7 +4748,8 @@ const PageChildrenSelectSection1 = ({ data, isDarkMode, t, section, imageBaseUrl
|
|
|
4753
4748
|
cursor: "pointer",
|
|
4754
4749
|
transition: "all 0.2s",
|
|
4755
4750
|
border: `1px solid ${isDarkMode ? "#374151" : "#e5e7eb"}`,
|
|
4756
|
-
padding: "16px"
|
|
4751
|
+
padding: "16px",
|
|
4752
|
+
textDecoration: "none"
|
|
4757
4753
|
},
|
|
4758
4754
|
onMouseEnter: (e) => {
|
|
4759
4755
|
e.currentTarget.style.backgroundColor = isDarkMode ? "#374151" : "#f9fafb";
|
|
@@ -4870,9 +4866,6 @@ const PageChildrenSelectSection2 = ({ data, isDarkMode, t, section, imageBaseUrl
|
|
|
4870
4866
|
if (!pages || pages.length === 0) {
|
|
4871
4867
|
return null;
|
|
4872
4868
|
}
|
|
4873
|
-
const handleNavigate = (slug) => {
|
|
4874
|
-
window.location.href = slug;
|
|
4875
|
-
};
|
|
4876
4869
|
const getImageUrl = (url) => {
|
|
4877
4870
|
if (!url) return "";
|
|
4878
4871
|
if (url.startsWith("http://") || url.startsWith("https://")) return url;
|
|
@@ -4903,9 +4896,9 @@ const PageChildrenSelectSection2 = ({ data, isDarkMode, t, section, imageBaseUrl
|
|
|
4903
4896
|
const mainImage = ((_b = (_a2 = page.pageImages) == null ? void 0 : _a2.find((img) => img.isMain)) == null ? void 0 : _b.url) || page.icon;
|
|
4904
4897
|
const imageUrl = getImageUrl(mainImage);
|
|
4905
4898
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
4906
|
-
"
|
|
4899
|
+
"a",
|
|
4907
4900
|
{
|
|
4908
|
-
|
|
4901
|
+
href: page.slug,
|
|
4909
4902
|
style: {
|
|
4910
4903
|
backgroundColor: isDarkMode ? "#1e293b" : "#ffffff",
|
|
4911
4904
|
borderRadius: "16px",
|
|
@@ -4913,7 +4906,9 @@ const PageChildrenSelectSection2 = ({ data, isDarkMode, t, section, imageBaseUrl
|
|
|
4913
4906
|
cursor: "pointer",
|
|
4914
4907
|
transition: "all 0.3s",
|
|
4915
4908
|
boxShadow: isDarkMode ? "0 4px 6px -1px rgba(0, 0, 0, 0.5)" : "0 4px 6px -1px rgba(0, 0, 0, 0.1)",
|
|
4916
|
-
border: `1px solid ${isDarkMode ? "#334155" : "#e2e8f0"}
|
|
4909
|
+
border: `1px solid ${isDarkMode ? "#334155" : "#e2e8f0"}`,
|
|
4910
|
+
textDecoration: "none",
|
|
4911
|
+
display: "block"
|
|
4917
4912
|
},
|
|
4918
4913
|
onMouseEnter: (e) => {
|
|
4919
4914
|
e.currentTarget.style.transform = "translateY(-8px)";
|