nvis-fe-cms-libs 1.1.37 → 1.1.38
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 }),
|
|
@@ -4337,16 +4331,40 @@ const PageHighlightSection = ({ data, t, isDarkMode, imageBaseUrl = "" }) => {
|
|
|
4337
4331
|
idx
|
|
4338
4332
|
)) }) }),
|
|
4339
4333
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
4340
|
-
"
|
|
4334
|
+
"a",
|
|
4341
4335
|
{
|
|
4342
|
-
|
|
4343
|
-
|
|
4336
|
+
href: item.slug,
|
|
4337
|
+
rel: "noopener noreferrer",
|
|
4338
|
+
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`,
|
|
4339
|
+
onClick: (e) => {
|
|
4340
|
+
if (!e.ctrlKey && !e.metaKey && e.button !== 1) {
|
|
4341
|
+
e.preventDefault();
|
|
4342
|
+
window.location.href = item.slug;
|
|
4343
|
+
}
|
|
4344
|
+
},
|
|
4344
4345
|
children: [
|
|
4345
4346
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: "relative z-10 flex items-center justify-center gap-2", children: [
|
|
4346
4347
|
t("highlight.cta") || "Khám phá",
|
|
4347
4348
|
" ",
|
|
4348
4349
|
item.title,
|
|
4349
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4350
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4351
|
+
"svg",
|
|
4352
|
+
{
|
|
4353
|
+
className: "w-5 h-5 group-hover:translate-x-1 transition-transform",
|
|
4354
|
+
fill: "none",
|
|
4355
|
+
viewBox: "0 0 24 24",
|
|
4356
|
+
stroke: "currentColor",
|
|
4357
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4358
|
+
"path",
|
|
4359
|
+
{
|
|
4360
|
+
strokeLinecap: "round",
|
|
4361
|
+
strokeLinejoin: "round",
|
|
4362
|
+
strokeWidth: 2,
|
|
4363
|
+
d: "M17 8l4 4m0 0l-4 4m4-4H3"
|
|
4364
|
+
}
|
|
4365
|
+
)
|
|
4366
|
+
}
|
|
4367
|
+
)
|
|
4350
4368
|
] }),
|
|
4351
4369
|
/* @__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
4370
|
]
|