nvis-fe-cms-libs 1.1.39 → 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
|
|
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 =
|
|
4297
|
+
const color = gradientClasses[index2 % gradientClasses.length];
|
|
4298
4298
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4299
4299
|
"div",
|
|
4300
4300
|
{
|
|
@@ -4316,8 +4316,14 @@ 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(
|
|
4320
|
-
|
|
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 })
|
|
@@ -4369,7 +4375,7 @@ const PageHighlightSection = ({ data, t, isDarkMode, imageBaseUrl = "" }) => {
|
|
|
4369
4375
|
);
|
|
4370
4376
|
}) }),
|
|
4371
4377
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex flex-wrap justify-center gap-4 mt-12", children: highlightData.map((item, index2) => {
|
|
4372
|
-
const color =
|
|
4378
|
+
const color = gradientClasses[index2 % gradientClasses.length];
|
|
4373
4379
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
4374
4380
|
"button",
|
|
4375
4381
|
{
|