nvis-fe-cms-libs 1.0.3 → 1.0.5
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,40 @@ const TextWithTitleSection = ({ section, data, isDarkMode }) => {
|
|
|
3076
3076
|
item.id || index2
|
|
3077
3077
|
)) }) });
|
|
3078
3078
|
};
|
|
3079
|
+
const TextSection = ({ data, isDarkMode }) => {
|
|
3080
|
+
const textItems = (data == null ? void 0 : data.sectionDataBindingItems) || [];
|
|
3081
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
3082
|
+
"div",
|
|
3083
|
+
{
|
|
3084
|
+
style: {
|
|
3085
|
+
padding: "40px 20px",
|
|
3086
|
+
backgroundColor: isDarkMode ? "#1f2937" : "#f8f9fa",
|
|
3087
|
+
// Dark: slate-800, Light: gray-100
|
|
3088
|
+
textAlign: "center"
|
|
3089
|
+
},
|
|
3090
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: { maxWidth: "800px", margin: "0 auto" }, children: textItems.map((item, index2) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
3091
|
+
"div",
|
|
3092
|
+
{
|
|
3093
|
+
style: {
|
|
3094
|
+
backgroundColor: isDarkMode ? "#374151" : "white",
|
|
3095
|
+
// Dark: slate-700, Light: white
|
|
3096
|
+
padding: "20px",
|
|
3097
|
+
marginBottom: "20px",
|
|
3098
|
+
borderRadius: "8px",
|
|
3099
|
+
boxShadow: isDarkMode ? "0 2px 4px rgba(0,0,0,0.3)" : "0 2px 4px rgba(0,0,0,0.1)",
|
|
3100
|
+
fontSize: "16px",
|
|
3101
|
+
lineHeight: "1.6",
|
|
3102
|
+
color: isDarkMode ? "#d1d5db" : "#333",
|
|
3103
|
+
// Dark: gray-300, Light: dark gray
|
|
3104
|
+
textAlign: "left"
|
|
3105
|
+
},
|
|
3106
|
+
children: item.value
|
|
3107
|
+
},
|
|
3108
|
+
item.id || index2
|
|
3109
|
+
)) })
|
|
3110
|
+
}
|
|
3111
|
+
);
|
|
3112
|
+
};
|
|
3079
3113
|
const index = {
|
|
3080
3114
|
AboutCompanySection,
|
|
3081
3115
|
CompanyValues,
|
|
@@ -3093,7 +3127,8 @@ const index = {
|
|
|
3093
3127
|
ProductListSection,
|
|
3094
3128
|
ImageSection,
|
|
3095
3129
|
ImageSingleSection,
|
|
3096
|
-
TextWithTitleSection
|
|
3130
|
+
TextWithTitleSection,
|
|
3131
|
+
TextSection
|
|
3097
3132
|
};
|
|
3098
3133
|
export {
|
|
3099
3134
|
AboutCompanySection,
|
|
@@ -3111,6 +3146,7 @@ export {
|
|
|
3111
3146
|
PartnersSection,
|
|
3112
3147
|
ProductListSection,
|
|
3113
3148
|
TestimonialsSection,
|
|
3149
|
+
TextSection,
|
|
3114
3150
|
TextWithTitleSection,
|
|
3115
3151
|
TimelineSection,
|
|
3116
3152
|
index as default
|