nvis-fe-cms-libs 1.1.37 → 1.1.39
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.
|
@@ -2473,7 +2473,7 @@ const ContactFormSection = ({ data, t, isDarkMode, consultationRequestService })
|
|
|
2473
2473
|
value: formData.businessType || "",
|
|
2474
2474
|
onChange: handleInputChange,
|
|
2475
2475
|
className: inputBaseClasses,
|
|
2476
|
-
placeholder: "
|
|
2476
|
+
placeholder: t("form.fields.businessType")
|
|
2477
2477
|
}
|
|
2478
2478
|
)
|
|
2479
2479
|
] })
|
|
@@ -4255,11 +4255,6 @@ const PageHighlightSection = ({ data, t, isDarkMode, imageBaseUrl = "" }) => {
|
|
|
4255
4255
|
}, 5e3);
|
|
4256
4256
|
return () => clearInterval(interval);
|
|
4257
4257
|
}, [highlightData.length]);
|
|
4258
|
-
const handleNavigate = (slug) => {
|
|
4259
|
-
if (slug) {
|
|
4260
|
-
window.location.href = slug;
|
|
4261
|
-
}
|
|
4262
|
-
};
|
|
4263
4258
|
const gradientColors = [
|
|
4264
4259
|
"from-blue-600 to-purple-600",
|
|
4265
4260
|
"from-purple-600 to-pink-600",
|
|
@@ -4318,8 +4313,7 @@ const PageHighlightSection = ({ data, t, isDarkMode, imageBaseUrl = "" }) => {
|
|
|
4318
4313
|
}
|
|
4319
4314
|
),
|
|
4320
4315
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `absolute inset-0 bg-gradient-to-br ${color} opacity-20` }),
|
|
4321
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "absolute inset-0 bg-gradient-to-t from-black/60 via-transparent to-transparent" })
|
|
4322
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "absolute top-8 left-8", children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: `inline-block bg-gradient-to-r ${color} text-white px-6 py-3 rounded-full text-sm font-bold shadow-xl`, children: item.tag }) })
|
|
4316
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "absolute inset-0 bg-gradient-to-t from-black/60 via-transparent to-transparent" })
|
|
4323
4317
|
] }),
|
|
4324
4318
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "p-5 lg:p-8 flex flex-col justify-center", children: [
|
|
4325
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 }),
|
|
@@ -4328,25 +4322,41 @@ const PageHighlightSection = ({ data, t, isDarkMode, imageBaseUrl = "" }) => {
|
|
|
4328
4322
|
/* @__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" }) }) }),
|
|
4329
4323
|
/* @__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 })
|
|
4330
4324
|
] }, idx)) }),
|
|
4331
|
-
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(
|
|
4332
|
-
"span",
|
|
4333
|
-
{
|
|
4334
|
-
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"}`,
|
|
4335
|
-
children: tag.key
|
|
4336
|
-
},
|
|
4337
|
-
idx
|
|
4338
|
-
)) }) }),
|
|
4339
4325
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
4340
|
-
"
|
|
4326
|
+
"a",
|
|
4341
4327
|
{
|
|
4342
|
-
|
|
4343
|
-
|
|
4328
|
+
href: item.slug,
|
|
4329
|
+
rel: "noopener noreferrer",
|
|
4330
|
+
className: `group relative px-6 py-3 rounded-xl font-bold text-sm transition-all duration-300 transform hover:scale-105 hover:shadow-2xl overflow-hidden bg-gradient-to-r ${color} text-white shadow-xl w-full text-center`,
|
|
4331
|
+
onClick: (e) => {
|
|
4332
|
+
if (!e.ctrlKey && !e.metaKey && e.button !== 1) {
|
|
4333
|
+
e.preventDefault();
|
|
4334
|
+
window.location.href = item.slug;
|
|
4335
|
+
}
|
|
4336
|
+
},
|
|
4344
4337
|
children: [
|
|
4345
4338
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: "relative z-10 flex items-center justify-center gap-2", children: [
|
|
4346
4339
|
t("highlight.cta") || "Khám phá",
|
|
4347
4340
|
" ",
|
|
4348
4341
|
item.title,
|
|
4349
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4342
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4343
|
+
"svg",
|
|
4344
|
+
{
|
|
4345
|
+
className: "w-5 h-5 group-hover:translate-x-1 transition-transform",
|
|
4346
|
+
fill: "none",
|
|
4347
|
+
viewBox: "0 0 24 24",
|
|
4348
|
+
stroke: "currentColor",
|
|
4349
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4350
|
+
"path",
|
|
4351
|
+
{
|
|
4352
|
+
strokeLinecap: "round",
|
|
4353
|
+
strokeLinejoin: "round",
|
|
4354
|
+
strokeWidth: 2,
|
|
4355
|
+
d: "M17 8l4 4m0 0l-4 4m4-4H3"
|
|
4356
|
+
}
|
|
4357
|
+
)
|
|
4358
|
+
}
|
|
4359
|
+
)
|
|
4350
4360
|
] }),
|
|
4351
4361
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "absolute inset-0 bg-white/20 transform scale-x-0 group-hover:scale-x-100 transition-transform origin-left" })
|
|
4352
4362
|
]
|