nvis-fe-cms-libs 1.1.38 → 1.1.40

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.
@@ -4255,7 +4255,7 @@ const PageHighlightSection = ({ data, t, isDarkMode, imageBaseUrl = "" }) => {
4255
4255
  }, 5e3);
4256
4256
  return () => clearInterval(interval);
4257
4257
  }, [highlightData.length]);
4258
- const gradientColors = [
4258
+ const gradientClasses = [
4259
4259
  "from-blue-600 to-purple-600",
4260
4260
  "from-purple-600 to-pink-600",
4261
4261
  "from-blue-500 to-purple-500",
@@ -4294,7 +4294,7 @@ const PageHighlightSection = ({ data, t, isDarkMode, imageBaseUrl = "" }) => {
4294
4294
  ] }),
4295
4295
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "relative w-full px-4 sm:px-6 lg:px-8 py-16 sm:py-24", children: [
4296
4296
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "relative w-full", children: highlightData.map((item, index2) => {
4297
- const color = gradientColors[index2 % gradientColors.length];
4297
+ const color = gradientClasses[index2 % gradientClasses.length];
4298
4298
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
4299
4299
  "div",
4300
4300
  {
@@ -4316,20 +4316,18 @@ const PageHighlightSection = ({ data, t, isDarkMode, imageBaseUrl = "" }) => {
4316
4316
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "absolute inset-0 bg-gradient-to-t from-black/60 via-transparent to-transparent" })
4317
4317
  ] }),
4318
4318
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "p-5 lg:p-8 flex flex-col justify-center", children: [
4319
- /* @__PURE__ */ jsxRuntimeExports.jsx("h1", { className: `text-3xl lg:text-4xl font-black mb-3 bg-gradient-to-r ${color} bg-clip-text text-transparent`, children: item.title }),
4320
- /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: `${isDarkMode ? "text-gray-300" : "text-gray-600"} text-base leading-relaxed mb-5`, children: item.description }),
4319
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
4320
+ "h1",
4321
+ {
4322
+ className: `text-3xl lg:text-4xl font-black mb-3 bg-gradient-to-r ${color} bg-clip-text text-transparent`,
4323
+ children: item.title
4324
+ }
4325
+ ),
4326
+ /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-description mb-6", children: item.description }),
4321
4327
  item.features && item.features.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "grid grid-cols-1 sm:grid-cols-2 gap-2 mb-6", children: item.features.map((feature, idx) => /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-start gap-2 group", children: [
4322
4328
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `mt-0.5 w-4 h-4 rounded-full bg-gradient-to-r ${color} flex items-center justify-center flex-shrink-0`, children: /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { className: "w-2.5 h-2.5 text-white", fill: "none", viewBox: "0 0 24 24", stroke: "currentColor", children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 3, d: "M5 13l4 4L19 7" }) }) }),
4323
4329
  /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: `${isDarkMode ? "text-gray-300 group-hover:text-white" : "text-gray-700 group-hover:text-gray-900"} font-medium text-xs transition-colors`, children: feature })
4324
4330
  ] }, idx)) }),
4325
- item.tagKeys.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "mb-6", children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex flex-wrap gap-2", children: item.tagKeys.map((tag, idx) => /* @__PURE__ */ jsxRuntimeExports.jsx(
4326
- "span",
4327
- {
4328
- className: `px-3 py-1 rounded-lg text-xs font-semibold transition-all duration-300 ${isDarkMode ? "bg-gray-700/50 text-gray-300 hover:bg-gray-700" : "bg-gray-100 text-gray-700 hover:bg-gray-200"}`,
4329
- children: tag.key
4330
- },
4331
- idx
4332
- )) }) }),
4333
4331
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
4334
4332
  "a",
4335
4333
  {
@@ -4377,7 +4375,7 @@ const PageHighlightSection = ({ data, t, isDarkMode, imageBaseUrl = "" }) => {
4377
4375
  );
4378
4376
  }) }),
4379
4377
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex flex-wrap justify-center gap-4 mt-12", children: highlightData.map((item, index2) => {
4380
- const color = gradientColors[index2 % gradientColors.length];
4378
+ const color = gradientClasses[index2 % gradientClasses.length];
4381
4379
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
4382
4380
  "button",
4383
4381
  {