nvis-fe-cms-libs 1.1.27 → 1.1.28

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.
@@ -3409,39 +3409,40 @@ var __async = (__this, __arguments, generator) => {
3409
3409
  )) }) });
3410
3410
  };
3411
3411
  const TextWithTitleSection = ({ section, data, isDarkMode }) => {
3412
+ var _a;
3412
3413
  const textItems = (data == null ? void 0 : data.sectionDataBindingItems) || [];
3414
+ const title = ((_a = textItems[0]) == null ? void 0 : _a.value) || "";
3415
+ const descriptions = textItems.slice(1);
3413
3416
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: {
3414
3417
  padding: "40px 20px",
3415
- backgroundColor: isDarkMode ? "#1f2937" : "#f8f9fa",
3416
- textAlign: "center"
3417
- }, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: { maxWidth: "800px", margin: "0 auto" }, children: textItems.map((item, index2) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
3418
- "div",
3419
- {
3420
- style: {
3421
- backgroundColor: isDarkMode ? "#374151" : "white",
3422
- padding: "30px 20px",
3423
- marginBottom: "20px",
3424
- borderRadius: "8px",
3425
- boxShadow: isDarkMode ? "0 2px 4px rgba(0,0,0,0.3)" : "0 2px 4px rgba(0,0,0,0.1)"
3426
- },
3427
- children: [
3428
- /* @__PURE__ */ jsxRuntimeExports.jsx("h2", { style: {
3429
- fontSize: "24px",
3430
- fontWeight: "bold",
3431
- color: isDarkMode ? "#f9fafb" : "#1f2937",
3432
- marginBottom: "16px",
3433
- lineHeight: "1.3"
3434
- }, children: item.title }),
3435
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: {
3418
+ backgroundColor: isDarkMode ? "#111827" : "#ffffff"
3419
+ }, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { style: { maxWidth: "1200px", margin: "0 auto" }, children: [
3420
+ title && /* @__PURE__ */ jsxRuntimeExports.jsx("h2", { style: {
3421
+ fontSize: "36px",
3422
+ fontWeight: "700",
3423
+ color: isDarkMode ? "#ffffff" : "#000000",
3424
+ marginBottom: "16px",
3425
+ lineHeight: "1.2",
3426
+ textAlign: "left",
3427
+ fontFamily: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif'
3428
+ }, children: title }),
3429
+ descriptions.map((item, index2) => /* @__PURE__ */ jsxRuntimeExports.jsx(
3430
+ "div",
3431
+ {
3432
+ style: {
3436
3433
  fontSize: "16px",
3437
3434
  lineHeight: "1.6",
3438
- color: isDarkMode ? "#d1d5db" : "#4b5563",
3439
- textAlign: "left"
3440
- }, children: item.value })
3441
- ]
3442
- },
3443
- item.id || index2
3444
- )) }) });
3435
+ color: isDarkMode ? "#9ca3af" : "#6b7280",
3436
+ textAlign: "left",
3437
+ fontFamily: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',
3438
+ fontWeight: "400",
3439
+ marginBottom: index2 < descriptions.length - 1 ? "16px" : "0"
3440
+ },
3441
+ children: item.value
3442
+ },
3443
+ item.id || index2
3444
+ ))
3445
+ ] }) });
3445
3446
  };
3446
3447
  const TextSection = ({ data, isDarkMode }) => {
3447
3448
  const textItems = (data == null ? void 0 : data.sectionDataBindingItems) || [];
@@ -3450,25 +3451,20 @@ var __async = (__this, __arguments, generator) => {
3450
3451
  {
3451
3452
  style: {
3452
3453
  padding: "40px 20px",
3453
- backgroundColor: isDarkMode ? "#1f2937" : "#f8f9fa",
3454
- // Dark: slate-800, Light: gray-100
3455
- textAlign: "center"
3454
+ backgroundColor: isDarkMode ? "#111827" : "#ffffff"
3456
3455
  },
3457
3456
  children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: { maxWidth: "800px", margin: "0 auto" }, children: textItems.map((item, index2) => /* @__PURE__ */ jsxRuntimeExports.jsx(
3458
3457
  "div",
3459
3458
  {
3460
3459
  style: {
3461
- backgroundColor: isDarkMode ? "#374151" : "white",
3462
- // Dark: slate-700, Light: white
3463
- padding: "20px",
3460
+ padding: "0",
3464
3461
  marginBottom: "20px",
3465
- borderRadius: "8px",
3466
- boxShadow: isDarkMode ? "0 2px 4px rgba(0,0,0,0.3)" : "0 2px 4px rgba(0,0,0,0.1)",
3467
- fontSize: "16px",
3468
- lineHeight: "1.6",
3469
- color: isDarkMode ? "#d1d5db" : "#333",
3470
- // Dark: gray-300, Light: dark gray
3471
- textAlign: "left"
3462
+ fontSize: "28px",
3463
+ fontWeight: "700",
3464
+ lineHeight: "1.3",
3465
+ color: isDarkMode ? "#f9fafb" : "#111827",
3466
+ textAlign: "left",
3467
+ fontFamily: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif'
3472
3468
  },
3473
3469
  children: item.value
3474
3470
  },