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.
|
@@ -3079,6 +3079,30 @@ var __async = (__this, __arguments, generator) => {
|
|
|
3079
3079
|
item.id || index2
|
|
3080
3080
|
)) }) });
|
|
3081
3081
|
};
|
|
3082
|
+
const TextSection = ({ data }) => {
|
|
3083
|
+
const textItems = (data == null ? void 0 : data.sectionDataBindingItems) || [];
|
|
3084
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: {
|
|
3085
|
+
padding: "40px 20px",
|
|
3086
|
+
backgroundColor: "#f8f9fa",
|
|
3087
|
+
textAlign: "center"
|
|
3088
|
+
}, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: { maxWidth: "800px", margin: "0 auto" }, children: textItems.map((item, index2) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
3089
|
+
"div",
|
|
3090
|
+
{
|
|
3091
|
+
style: {
|
|
3092
|
+
backgroundColor: "white",
|
|
3093
|
+
padding: "20px",
|
|
3094
|
+
marginBottom: "20px",
|
|
3095
|
+
borderRadius: "8px",
|
|
3096
|
+
boxShadow: "0 2px 4px rgba(0,0,0,0.1)",
|
|
3097
|
+
fontSize: "16px",
|
|
3098
|
+
lineHeight: "1.6",
|
|
3099
|
+
color: "#333"
|
|
3100
|
+
},
|
|
3101
|
+
children: item.value
|
|
3102
|
+
},
|
|
3103
|
+
item.id || index2
|
|
3104
|
+
)) }) });
|
|
3105
|
+
};
|
|
3082
3106
|
const index = {
|
|
3083
3107
|
AboutCompanySection,
|
|
3084
3108
|
CompanyValues,
|
|
@@ -3096,7 +3120,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
3096
3120
|
ProductListSection,
|
|
3097
3121
|
ImageSection,
|
|
3098
3122
|
ImageSingleSection,
|
|
3099
|
-
TextWithTitleSection
|
|
3123
|
+
TextWithTitleSection,
|
|
3124
|
+
TextSection
|
|
3100
3125
|
};
|
|
3101
3126
|
exports2.AboutCompanySection = AboutCompanySection;
|
|
3102
3127
|
exports2.CompanyValues = CompanyValues;
|
|
@@ -3113,6 +3138,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
3113
3138
|
exports2.PartnersSection = PartnersSection;
|
|
3114
3139
|
exports2.ProductListSection = ProductListSection;
|
|
3115
3140
|
exports2.TestimonialsSection = TestimonialsSection;
|
|
3141
|
+
exports2.TextSection = TextSection;
|
|
3116
3142
|
exports2.TextWithTitleSection = TextWithTitleSection;
|
|
3117
3143
|
exports2.TimelineSection = TimelineSection;
|
|
3118
3144
|
exports2.default = index;
|