nvis-fe-cms-libs 1.0.3 → 1.0.4
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.
|
@@ -3076,6 +3076,30 @@ const TextWithTitleSection = ({ section, data, isDarkMode }) => {
|
|
|
3076
3076
|
item.id || index2
|
|
3077
3077
|
)) }) });
|
|
3078
3078
|
};
|
|
3079
|
+
const TextSection = ({ data }) => {
|
|
3080
|
+
const textItems = (data == null ? void 0 : data.sectionDataBindingItems) || [];
|
|
3081
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: {
|
|
3082
|
+
padding: "40px 20px",
|
|
3083
|
+
backgroundColor: "#f8f9fa",
|
|
3084
|
+
textAlign: "center"
|
|
3085
|
+
}, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: { maxWidth: "800px", margin: "0 auto" }, children: textItems.map((item, index2) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
3086
|
+
"div",
|
|
3087
|
+
{
|
|
3088
|
+
style: {
|
|
3089
|
+
backgroundColor: "white",
|
|
3090
|
+
padding: "20px",
|
|
3091
|
+
marginBottom: "20px",
|
|
3092
|
+
borderRadius: "8px",
|
|
3093
|
+
boxShadow: "0 2px 4px rgba(0,0,0,0.1)",
|
|
3094
|
+
fontSize: "16px",
|
|
3095
|
+
lineHeight: "1.6",
|
|
3096
|
+
color: "#333"
|
|
3097
|
+
},
|
|
3098
|
+
children: item.value
|
|
3099
|
+
},
|
|
3100
|
+
item.id || index2
|
|
3101
|
+
)) }) });
|
|
3102
|
+
};
|
|
3079
3103
|
const index = {
|
|
3080
3104
|
AboutCompanySection,
|
|
3081
3105
|
CompanyValues,
|
|
@@ -3093,7 +3117,8 @@ const index = {
|
|
|
3093
3117
|
ProductListSection,
|
|
3094
3118
|
ImageSection,
|
|
3095
3119
|
ImageSingleSection,
|
|
3096
|
-
TextWithTitleSection
|
|
3120
|
+
TextWithTitleSection,
|
|
3121
|
+
TextSection
|
|
3097
3122
|
};
|
|
3098
3123
|
export {
|
|
3099
3124
|
AboutCompanySection,
|
|
@@ -3111,6 +3136,7 @@ export {
|
|
|
3111
3136
|
PartnersSection,
|
|
3112
3137
|
ProductListSection,
|
|
3113
3138
|
TestimonialsSection,
|
|
3139
|
+
TextSection,
|
|
3114
3140
|
TextWithTitleSection,
|
|
3115
3141
|
TimelineSection,
|
|
3116
3142
|
index as default
|