s-platform-landing-section 0.1.31 → 0.1.33
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.
- package/dist/index.js +296 -38
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +302 -44
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -21,8 +21,8 @@ require('slick-carousel/slick/slick.css');
|
|
|
21
21
|
require('slick-carousel/slick/slick-theme.css');
|
|
22
22
|
var ai = require('react-icons/ai');
|
|
23
23
|
var go = require('react-icons/go');
|
|
24
|
-
var hi = require('react-icons/hi');
|
|
25
24
|
var ri = require('react-icons/ri');
|
|
25
|
+
var hi = require('react-icons/hi');
|
|
26
26
|
var gi = require('react-icons/gi');
|
|
27
27
|
|
|
28
28
|
var Button = function Button(props) {
|
|
@@ -166,6 +166,103 @@ var urlMappings = {
|
|
|
166
166
|
function convertURL(path) {
|
|
167
167
|
return urlMappings[path] || path;
|
|
168
168
|
}
|
|
169
|
+
var ROUTE = {
|
|
170
|
+
HOME: {
|
|
171
|
+
name: "home",
|
|
172
|
+
label: "Trang chủ",
|
|
173
|
+
route: "/",
|
|
174
|
+
isShow: true
|
|
175
|
+
},
|
|
176
|
+
PRODUCTS: {
|
|
177
|
+
name: "products",
|
|
178
|
+
label: "Sản phẩm",
|
|
179
|
+
route: "/products",
|
|
180
|
+
isShow: true
|
|
181
|
+
},
|
|
182
|
+
PRODUCTS_BY_CATEGORY: {
|
|
183
|
+
name: "products_by_category",
|
|
184
|
+
label: "Sản phẩm theo danh mục",
|
|
185
|
+
route: "/products/:slug"
|
|
186
|
+
},
|
|
187
|
+
PRODUCT: {
|
|
188
|
+
name: "product",
|
|
189
|
+
label: "Chi tiết sản phẩm",
|
|
190
|
+
route: "/product/:slug"
|
|
191
|
+
},
|
|
192
|
+
SERVICES: {
|
|
193
|
+
name: "services",
|
|
194
|
+
label: "Dịch vụ",
|
|
195
|
+
route: "/services",
|
|
196
|
+
isShow: true
|
|
197
|
+
},
|
|
198
|
+
SERVICE: {
|
|
199
|
+
name: "service",
|
|
200
|
+
label: "Chi tiết dịch vụ",
|
|
201
|
+
route: "/service/:slug"
|
|
202
|
+
},
|
|
203
|
+
BOOKING: {
|
|
204
|
+
name: "booking",
|
|
205
|
+
label: "Đặt lịch",
|
|
206
|
+
route: "/dat-lich",
|
|
207
|
+
isShow: true
|
|
208
|
+
},
|
|
209
|
+
ABOUT: {
|
|
210
|
+
name: "about",
|
|
211
|
+
label: "Giới thiệu",
|
|
212
|
+
route: "/about",
|
|
213
|
+
isShow: true
|
|
214
|
+
},
|
|
215
|
+
SALES: {
|
|
216
|
+
name: "sales",
|
|
217
|
+
label: "Sản phẩm",
|
|
218
|
+
route: "/sales"
|
|
219
|
+
},
|
|
220
|
+
NEWS: {
|
|
221
|
+
name: "news",
|
|
222
|
+
label: "Tin tức",
|
|
223
|
+
route: "/news"
|
|
224
|
+
},
|
|
225
|
+
NEWS_BY_CATEGORY: {
|
|
226
|
+
name: "news_by_category",
|
|
227
|
+
label: "Tin tức theo danh mục",
|
|
228
|
+
route: "/news/:slug"
|
|
229
|
+
},
|
|
230
|
+
NEWS_DETAIL: {
|
|
231
|
+
name: "news_detail",
|
|
232
|
+
label: "Tin tức",
|
|
233
|
+
route: "/news/:slug/:languageCode"
|
|
234
|
+
},
|
|
235
|
+
CARTS: {
|
|
236
|
+
name: "carts",
|
|
237
|
+
label: "Giỏ hàng",
|
|
238
|
+
route: "/carts"
|
|
239
|
+
},
|
|
240
|
+
ORDERS: {
|
|
241
|
+
name: "orders",
|
|
242
|
+
label: "Đơn hàng",
|
|
243
|
+
route: "/orders"
|
|
244
|
+
},
|
|
245
|
+
ORDER: {
|
|
246
|
+
name: "order",
|
|
247
|
+
label: "Chi tiết đơn hàng",
|
|
248
|
+
route: "/order"
|
|
249
|
+
},
|
|
250
|
+
ACCOUNT: {
|
|
251
|
+
name: "account",
|
|
252
|
+
label: "Tài khoản",
|
|
253
|
+
route: "/account"
|
|
254
|
+
},
|
|
255
|
+
PROFILE: {
|
|
256
|
+
name: "profile",
|
|
257
|
+
label: "Tài khoản",
|
|
258
|
+
route: "/profile"
|
|
259
|
+
},
|
|
260
|
+
SEARCH: {
|
|
261
|
+
name: "search",
|
|
262
|
+
label: "Tìm kiếm",
|
|
263
|
+
route: "/search"
|
|
264
|
+
}
|
|
265
|
+
};
|
|
169
266
|
|
|
170
267
|
var Options = function Options(props) {
|
|
171
268
|
var _props$className = props.className,
|
|
@@ -1110,7 +1207,7 @@ var Hero2 = function Hero2(props) {
|
|
|
1110
1207
|
}), /*#__PURE__*/React__default.createElement("div", {
|
|
1111
1208
|
className: "font-medium line-clamp-1 ",
|
|
1112
1209
|
style: {
|
|
1113
|
-
fontSize: "clamp(1.25rem,
|
|
1210
|
+
fontSize: "clamp(1.25rem, 4vw, 3.5rem)",
|
|
1114
1211
|
lineHeight: "1.5"
|
|
1115
1212
|
}
|
|
1116
1213
|
}, data === null || data === void 0 ? void 0 : (_data$data3 = data.data) === null || _data$data3 === void 0 ? void 0 : (_data$data3$ = _data$data3[0]) === null || _data$data3$ === void 0 ? void 0 : _data$data3$.title), /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -9435,7 +9532,7 @@ var TreatmentsList7 = function TreatmentsList7(props) {
|
|
|
9435
9532
|
}), /*#__PURE__*/React__default.createElement("div", {
|
|
9436
9533
|
className: "mt-12 w-full"
|
|
9437
9534
|
}, (products === null || products === void 0 ? void 0 : products.length) > 0 ? /*#__PURE__*/React__default.createElement(Slider, {
|
|
9438
|
-
infinite: true,
|
|
9535
|
+
infinite: (products === null || products === void 0 ? void 0 : products.length) > 1 ? true : false,
|
|
9439
9536
|
slidesToShow: 1,
|
|
9440
9537
|
slidesToScroll: 1,
|
|
9441
9538
|
speed: 500,
|
|
@@ -10029,6 +10126,7 @@ var TreatmentItem1 = function TreatmentItem1(props) {
|
|
|
10029
10126
|
};
|
|
10030
10127
|
|
|
10031
10128
|
var ProductList7 = function ProductList7(props) {
|
|
10129
|
+
var _products$slice;
|
|
10032
10130
|
var _props$shopConfigStyl = props.shopConfigStyle,
|
|
10033
10131
|
shopConfigStyle = _props$shopConfigStyl === void 0 ? {} : _props$shopConfigStyl,
|
|
10034
10132
|
_props$data = props.data,
|
|
@@ -10042,7 +10140,7 @@ var ProductList7 = function ProductList7(props) {
|
|
|
10042
10140
|
_shopConfigStyle$colo3 = _shopConfigStyle$colo.secondary,
|
|
10043
10141
|
secondary = _shopConfigStyle$colo3 === void 0 ? "#000" : _shopConfigStyle$colo3;
|
|
10044
10142
|
var _useState = React.useState({
|
|
10045
|
-
size:
|
|
10143
|
+
size: 8
|
|
10046
10144
|
}),
|
|
10047
10145
|
params = _useState[0];
|
|
10048
10146
|
var _ProductController = ProductController(_extends({}, props, {
|
|
@@ -10056,16 +10154,16 @@ var ProductList7 = function ProductList7(props) {
|
|
|
10056
10154
|
}, /*#__PURE__*/React__default.createElement(SectionTitle, {
|
|
10057
10155
|
data: data,
|
|
10058
10156
|
shopConfigStyle: shopConfigStyle
|
|
10059
|
-
}), /*#__PURE__*/React__default.createElement("div", {
|
|
10157
|
+
}), (products === null || products === void 0 ? void 0 : products.length) > 0 ? /*#__PURE__*/React__default.createElement("div", {
|
|
10060
10158
|
className: "grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-10 mt-12"
|
|
10061
|
-
}, products === null || products === void 0 ? void 0 : products.map(function (product, index) {
|
|
10159
|
+
}, products === null || products === void 0 ? void 0 : (_products$slice = products.slice(0, 4)) === null || _products$slice === void 0 ? void 0 : _products$slice.map(function (product, index) {
|
|
10062
10160
|
return /*#__PURE__*/React__default.createElement(ProductItem, {
|
|
10063
10161
|
Link: Link,
|
|
10064
10162
|
shopConfigStyle: shopConfigStyle,
|
|
10065
10163
|
key: index,
|
|
10066
10164
|
product: product === null || product === void 0 ? void 0 : product.productInfo
|
|
10067
10165
|
});
|
|
10068
|
-
})), (products === null || products === void 0 ? void 0 : products.length) >
|
|
10166
|
+
})) : /*#__PURE__*/React__default.createElement(NotFoundProduct, null), (products === null || products === void 0 ? void 0 : products.length) > 4 ? /*#__PURE__*/React__default.createElement(LinkToPage, {
|
|
10069
10167
|
href: "/san-pham",
|
|
10070
10168
|
Link: Link
|
|
10071
10169
|
}, /*#__PURE__*/React__default.createElement(Button, {
|
|
@@ -10335,7 +10433,7 @@ var Products3 = function Products3(props) {
|
|
|
10335
10433
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
10336
10434
|
className: "text-xl"
|
|
10337
10435
|
}, "Danh m\u1EE5c s\u1EA3n ph\u1EA9m"), /*#__PURE__*/React__default.createElement("div", {
|
|
10338
|
-
className: "overflow-y-auto max-h-96"
|
|
10436
|
+
className: "overflow-y-auto max-h-96 scroll-container pr-3"
|
|
10339
10437
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
10340
10438
|
className: "flex gap-2 py-4 border-b border-stroke cursor-pointer hover:text-primary " + (!(categorySelected !== null && categorySelected !== void 0 && categorySelected.categoryId) ? "text-primary" : "text-textSecondary"),
|
|
10341
10439
|
onClick: function onClick() {
|
|
@@ -12056,6 +12154,101 @@ function SvgVnpay(props) {
|
|
|
12056
12154
|
}))));
|
|
12057
12155
|
}
|
|
12058
12156
|
|
|
12157
|
+
var dataFake = [{
|
|
12158
|
+
title: "Đa dạng thanh toán",
|
|
12159
|
+
data: [{
|
|
12160
|
+
svgImage: "",
|
|
12161
|
+
srcImage: /*#__PURE__*/React__default.createElement(fa6.FaArrowsRotate, null),
|
|
12162
|
+
label: "Chuyển khoản",
|
|
12163
|
+
link: ""
|
|
12164
|
+
}, {
|
|
12165
|
+
svgImage: "",
|
|
12166
|
+
srcImage: /*#__PURE__*/React__default.createElement(bs.BsCurrencyDollar, null),
|
|
12167
|
+
label: "Tiền mặt",
|
|
12168
|
+
link: ""
|
|
12169
|
+
}, {
|
|
12170
|
+
srcImage: /*#__PURE__*/React__default.createElement(SvgVnpay, null),
|
|
12171
|
+
svgImage: "",
|
|
12172
|
+
label: "VNPay",
|
|
12173
|
+
link: ""
|
|
12174
|
+
}, {
|
|
12175
|
+
srcImage: /*#__PURE__*/React__default.createElement(SvgVietQr, null),
|
|
12176
|
+
svgImage: "",
|
|
12177
|
+
label: "VietQR",
|
|
12178
|
+
link: ""
|
|
12179
|
+
}, {
|
|
12180
|
+
srcImage: /*#__PURE__*/React__default.createElement(go.GoCreditCard, null),
|
|
12181
|
+
svgImage: "",
|
|
12182
|
+
label: "Thẻ ATM",
|
|
12183
|
+
link: ""
|
|
12184
|
+
}, {
|
|
12185
|
+
srcImage: /*#__PURE__*/React__default.createElement(fa.FaCcVisa, null),
|
|
12186
|
+
svgImage: "",
|
|
12187
|
+
label: "Thẻ Quốc tế",
|
|
12188
|
+
link: ""
|
|
12189
|
+
}]
|
|
12190
|
+
}, {
|
|
12191
|
+
title: "Thông tin hữu ích",
|
|
12192
|
+
data: [{
|
|
12193
|
+
srcImage: /*#__PURE__*/React__default.createElement(io.IoMdCheckmarkCircleOutline, null),
|
|
12194
|
+
svgImage: "",
|
|
12195
|
+
label: "Chính sách bảo hành",
|
|
12196
|
+
link: ""
|
|
12197
|
+
}, {
|
|
12198
|
+
srcImage: /*#__PURE__*/React__default.createElement(fa6.FaArrowsRotate, null),
|
|
12199
|
+
svgImage: "",
|
|
12200
|
+
label: "Chính sách đổi trả",
|
|
12201
|
+
link: ""
|
|
12202
|
+
}, {
|
|
12203
|
+
srcImage: /*#__PURE__*/React__default.createElement(lu.LuShoppingBag, null),
|
|
12204
|
+
svgImage: "",
|
|
12205
|
+
label: "Hướng dẫn mua hàng online",
|
|
12206
|
+
link: ""
|
|
12207
|
+
}, {
|
|
12208
|
+
srcImage: /*#__PURE__*/React__default.createElement(ai.AiOutlineInfoCircle, null),
|
|
12209
|
+
svgImage: "",
|
|
12210
|
+
label: "Giới thiệu về chúng tôi",
|
|
12211
|
+
link: ""
|
|
12212
|
+
}]
|
|
12213
|
+
}, {
|
|
12214
|
+
title: "Mạng xã hội",
|
|
12215
|
+
data: [{
|
|
12216
|
+
srcImage: /*#__PURE__*/React__default.createElement(fa.FaFacebookF, {
|
|
12217
|
+
className: "p-1 rounded bg-primary text-white"
|
|
12218
|
+
}),
|
|
12219
|
+
svgImage: "",
|
|
12220
|
+
label: "Facebook",
|
|
12221
|
+
link: ""
|
|
12222
|
+
}, {
|
|
12223
|
+
srcImage: /*#__PURE__*/React__default.createElement(fa.FaYoutube, {
|
|
12224
|
+
className: "p-1 rounded bg-primary text-white"
|
|
12225
|
+
}),
|
|
12226
|
+
svgImage: "",
|
|
12227
|
+
label: "Youtube",
|
|
12228
|
+
link: ""
|
|
12229
|
+
}, {
|
|
12230
|
+
srcImage: /*#__PURE__*/React__default.createElement(fa.FaTiktok, {
|
|
12231
|
+
className: "p-1 rounded bg-primary text-white"
|
|
12232
|
+
}),
|
|
12233
|
+
svgImage: "",
|
|
12234
|
+
label: "Tiktok",
|
|
12235
|
+
link: ""
|
|
12236
|
+
}, {
|
|
12237
|
+
srcImage: /*#__PURE__*/React__default.createElement(ri.RiMessengerFill, {
|
|
12238
|
+
className: "p-1 rounded bg-primary text-white"
|
|
12239
|
+
}),
|
|
12240
|
+
svgImage: "",
|
|
12241
|
+
label: "Messenger",
|
|
12242
|
+
link: ""
|
|
12243
|
+
}, {
|
|
12244
|
+
srcImage: /*#__PURE__*/React__default.createElement(si.SiZalo, {
|
|
12245
|
+
className: "p-1 rounded bg-primary text-white"
|
|
12246
|
+
}),
|
|
12247
|
+
svgImage: "",
|
|
12248
|
+
label: "Zalo",
|
|
12249
|
+
link: ""
|
|
12250
|
+
}]
|
|
12251
|
+
}];
|
|
12059
12252
|
var Links1 = function Links1(props) {
|
|
12060
12253
|
var data = props.data,
|
|
12061
12254
|
_props$SectionTitle = props.SectionTitle,
|
|
@@ -12069,26 +12262,23 @@ var Links1 = function Links1(props) {
|
|
|
12069
12262
|
shopConfigStyle: shopConfigStyle
|
|
12070
12263
|
}), /*#__PURE__*/React__default.createElement("div", {
|
|
12071
12264
|
className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4 md:gap-6 lg:gap-8 w-full bg-background"
|
|
12072
|
-
},
|
|
12265
|
+
}, dataFake === null || dataFake === void 0 ? void 0 : dataFake.map(function (item, index) {
|
|
12266
|
+
var _item$data;
|
|
12073
12267
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
12074
|
-
key: "qwikf-" + index + " "
|
|
12268
|
+
key: "qwikf-" + index + " ",
|
|
12269
|
+
className: "h-full overflow-hidden rounded-b-xl"
|
|
12075
12270
|
}, /*#__PURE__*/React__default.createElement("h3", {
|
|
12076
12271
|
className: "text-lg md:text-2xl font-semibold mb-4"
|
|
12077
|
-
},
|
|
12078
|
-
className: "leading-10 flex flex-col bg-background2 p-4 rounded-xl bg-bgSecondary "
|
|
12079
|
-
},
|
|
12080
|
-
|
|
12081
|
-
|
|
12082
|
-
|
|
12083
|
-
|
|
12084
|
-
|
|
12085
|
-
|
|
12086
|
-
|
|
12087
|
-
}, /*#__PURE__*/React__default.createElement(SvgVnpay, null), "VNPay"), /*#__PURE__*/React__default.createElement("label", null, /*#__PURE__*/React__default.createElement(go.GoCreditCard, {
|
|
12088
|
-
className: "inline-block\t text-primary text-2xl mb-1 me-3"
|
|
12089
|
-
}), " Th\u1EBB ATM"), /*#__PURE__*/React__default.createElement("label", null, /*#__PURE__*/React__default.createElement(si.SiVisa, {
|
|
12090
|
-
className: "inline-block\t text-primary text-2xl mb-1 me-3"
|
|
12091
|
-
}), " Th\u1EBB Qu\u1ED1c t\u1EBF")));
|
|
12272
|
+
}, item === null || item === void 0 ? void 0 : item.title), /*#__PURE__*/React__default.createElement("div", {
|
|
12273
|
+
className: "leading-10 flex flex-col bg-background2 p-4 rounded-xl bg-bgSecondary h-full"
|
|
12274
|
+
}, item === null || item === void 0 ? void 0 : (_item$data = item.data) === null || _item$data === void 0 ? void 0 : _item$data.map(function (it, idx) {
|
|
12275
|
+
return /*#__PURE__*/React__default.createElement("label", {
|
|
12276
|
+
className: "flex gap-4 items-center",
|
|
12277
|
+
key: "ikgf-" + idx
|
|
12278
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
12279
|
+
className: "text-primary text-2xl"
|
|
12280
|
+
}, it === null || it === void 0 ? void 0 : it.srcImage), it === null || it === void 0 ? void 0 : it.label);
|
|
12281
|
+
})));
|
|
12092
12282
|
})));
|
|
12093
12283
|
};
|
|
12094
12284
|
|
|
@@ -12620,31 +12810,99 @@ var Employees1 = function Employees1(props) {
|
|
|
12620
12810
|
};
|
|
12621
12811
|
|
|
12622
12812
|
var Gallery1 = function Gallery1(props) {
|
|
12623
|
-
var _data$data;
|
|
12813
|
+
var _data$data, _data$data2, _ROUTE$BOOKING;
|
|
12624
12814
|
var _props$shopConfigStyl = props.shopConfigStyle,
|
|
12625
12815
|
shopConfigStyle = _props$shopConfigStyl === void 0 ? {} : _props$shopConfigStyl,
|
|
12626
12816
|
_props$data = props.data,
|
|
12627
12817
|
data = _props$data === void 0 ? {} : _props$data,
|
|
12628
12818
|
_props$SectionTitle = props.SectionTitle,
|
|
12629
|
-
SectionTitle = _props$SectionTitle === void 0 ? null : _props$SectionTitle
|
|
12819
|
+
SectionTitle = _props$SectionTitle === void 0 ? null : _props$SectionTitle,
|
|
12820
|
+
_props$Link = props.Link,
|
|
12821
|
+
Link = _props$Link === void 0 ? null : _props$Link;
|
|
12630
12822
|
var _shopConfigStyle$colo = shopConfigStyle === null || shopConfigStyle === void 0 ? void 0 : shopConfigStyle.color,
|
|
12631
12823
|
_shopConfigStyle$colo3 = _shopConfigStyle$colo.secondary,
|
|
12632
12824
|
secondary = _shopConfigStyle$colo3 === void 0 ? "#000" : _shopConfigStyle$colo3;
|
|
12633
|
-
|
|
12825
|
+
var sliderRef = React.useRef(null);
|
|
12826
|
+
var settings = {
|
|
12827
|
+
infinite: true,
|
|
12828
|
+
slidesToShow: 3,
|
|
12829
|
+
slidesToScroll: 1,
|
|
12830
|
+
speed: 500,
|
|
12831
|
+
autoplay: false,
|
|
12832
|
+
autoplaySpeed: 4000,
|
|
12833
|
+
pauseOnHover: true,
|
|
12834
|
+
dots: false,
|
|
12835
|
+
swipe: true,
|
|
12836
|
+
touchMove: true,
|
|
12837
|
+
arrows: false,
|
|
12838
|
+
responsive: [{
|
|
12839
|
+
breakpoint: 1024,
|
|
12840
|
+
settings: {
|
|
12841
|
+
slidesToShow: 3,
|
|
12842
|
+
slidesToScroll: 1
|
|
12843
|
+
}
|
|
12844
|
+
}, {
|
|
12845
|
+
breakpoint: 1023,
|
|
12846
|
+
settings: {
|
|
12847
|
+
slidesToShow: 2,
|
|
12848
|
+
slidesToScroll: 1
|
|
12849
|
+
}
|
|
12850
|
+
}, {
|
|
12851
|
+
breakpoint: 635,
|
|
12852
|
+
settings: {
|
|
12853
|
+
slidesToShow: 1,
|
|
12854
|
+
slidesToScroll: 1
|
|
12855
|
+
}
|
|
12856
|
+
}]
|
|
12857
|
+
};
|
|
12858
|
+
var goToNext = function goToNext() {
|
|
12859
|
+
if (sliderRef.current) {
|
|
12860
|
+
sliderRef.current.slickNext();
|
|
12861
|
+
}
|
|
12862
|
+
};
|
|
12863
|
+
var goToPrev = function goToPrev() {
|
|
12864
|
+
if (sliderRef.current) {
|
|
12865
|
+
sliderRef.current.slickPrev();
|
|
12866
|
+
}
|
|
12867
|
+
};
|
|
12634
12868
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
|
|
12635
12869
|
className: "" + SECTION_DEFAULT_CLASS
|
|
12636
12870
|
}, /*#__PURE__*/React__default.createElement(SectionTitle, {
|
|
12637
12871
|
data: data,
|
|
12638
12872
|
shopConfigStyle: shopConfigStyle
|
|
12639
|
-
}), /*#__PURE__*/React__default.createElement("div", {
|
|
12640
|
-
className: "mt-
|
|
12641
|
-
},
|
|
12873
|
+
}), (data === null || data === void 0 ? void 0 : (_data$data = data.data) === null || _data$data === void 0 ? void 0 : _data$data.length) > 0 ? /*#__PURE__*/React__default.createElement("div", {
|
|
12874
|
+
className: "mt-10"
|
|
12875
|
+
}, /*#__PURE__*/React__default.createElement(Slider, _extends({}, settings, {
|
|
12876
|
+
ref: sliderRef
|
|
12877
|
+
}), data === null || data === void 0 ? void 0 : (_data$data2 = data.data) === null || _data$data2 === void 0 ? void 0 : _data$data2.map(function (it, index) {
|
|
12642
12878
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
12643
|
-
key: index
|
|
12879
|
+
key: index,
|
|
12880
|
+
className: "px-0 sm:px-4 md:px-4 pointer-events-none lg:px-6"
|
|
12644
12881
|
}, /*#__PURE__*/React__default.createElement("img", {
|
|
12645
|
-
src: it === null || it === void 0 ? void 0 : it.srcImage
|
|
12882
|
+
src: it === null || it === void 0 ? void 0 : it.srcImage,
|
|
12883
|
+
className: "rounded-2xl object-cover"
|
|
12646
12884
|
}));
|
|
12647
|
-
}))
|
|
12885
|
+
})), /*#__PURE__*/React__default.createElement("div", {
|
|
12886
|
+
className: "flex flex-col gap-6 items-center"
|
|
12887
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
12888
|
+
className: "flex gap-6 mt-2 items-center"
|
|
12889
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
12890
|
+
className: "text-primary cursor-pointer hover:scale-110 duration-200 hover:opacity-80",
|
|
12891
|
+
onClick: goToPrev
|
|
12892
|
+
}, /*#__PURE__*/React__default.createElement(hi.HiOutlineArrowNarrowLeft, {
|
|
12893
|
+
size: 34
|
|
12894
|
+
})), /*#__PURE__*/React__default.createElement("div", {
|
|
12895
|
+
className: "text-primary cursor-pointer hover:scale-110 duration-200 hover:opacity-80",
|
|
12896
|
+
onClick: goToNext
|
|
12897
|
+
}, /*#__PURE__*/React__default.createElement(hi.HiOutlineArrowNarrowRight, {
|
|
12898
|
+
size: 34
|
|
12899
|
+
}))), /*#__PURE__*/React__default.createElement(LinkToPage, {
|
|
12900
|
+
href: ROUTE === null || ROUTE === void 0 ? void 0 : (_ROUTE$BOOKING = ROUTE.BOOKING) === null || _ROUTE$BOOKING === void 0 ? void 0 : _ROUTE$BOOKING.route,
|
|
12901
|
+
Link: Link
|
|
12902
|
+
}, /*#__PURE__*/React__default.createElement(Button, {
|
|
12903
|
+
label: "\u0110\u1EB6T L\u1ECACH NGAY",
|
|
12904
|
+
shopConfigStyle: shopConfigStyle
|
|
12905
|
+
})))) : null), /*#__PURE__*/React__default.createElement(Dash, {
|
|
12648
12906
|
color: secondary
|
|
12649
12907
|
}));
|
|
12650
12908
|
};
|
|
@@ -13937,7 +14195,7 @@ var SearchBar6 = function SearchBar6(props) {
|
|
|
13937
14195
|
}
|
|
13938
14196
|
};
|
|
13939
14197
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
13940
|
-
className: "w-full flex flex-col justify-center px-3 md:px-6 gap-2 lg:gap-
|
|
14198
|
+
className: "w-full flex flex-col justify-center px-3 md:px-6 gap-2 md:gap-4 lg:gap-6 items-center h-40 lg:h-52 ",
|
|
13941
14199
|
style: {
|
|
13942
14200
|
background: "url(" + (data === null || data === void 0 ? void 0 : (_data$data = data.data) === null || _data$data === void 0 ? void 0 : _data$data.srcImage) + ")",
|
|
13943
14201
|
backgroundPosition: "center",
|
|
@@ -13948,7 +14206,7 @@ var SearchBar6 = function SearchBar6(props) {
|
|
|
13948
14206
|
}, data === null || data === void 0 ? void 0 : (_data$data3 = data.data) === null || _data$data3 === void 0 ? void 0 : _data$data3.title) : null, data !== null && data !== void 0 && (_data$data4 = data.data) !== null && _data$data4 !== void 0 && _data$data4.description ? /*#__PURE__*/React__default.createElement("div", {
|
|
13949
14207
|
className: "text-center text-textBody"
|
|
13950
14208
|
}, data === null || data === void 0 ? void 0 : (_data$data5 = data.data) === null || _data$data5 === void 0 ? void 0 : _data$data5.description) : null, /*#__PURE__*/React__default.createElement("div", {
|
|
13951
|
-
className: "flex gap-2 md:gap-4 lg:gap-6 mb-2 md:mb-0 w-
|
|
14209
|
+
className: "flex gap-2 md:gap-4 lg:gap-6 mb-2 md:mb-0 w-[90%] sm:w-[70%] h-10 lg:h-12 lg:w-1/2"
|
|
13952
14210
|
}, /*#__PURE__*/React__default.createElement(Input, {
|
|
13953
14211
|
icons: /*#__PURE__*/React__default.createElement(io5.IoSearchOutline, {
|
|
13954
14212
|
className: "text-gray3"
|
|
@@ -13979,7 +14237,7 @@ var ShopHighlights2 = function ShopHighlights2(props) {
|
|
|
13979
14237
|
Link = _props$Link === void 0 ? null : _props$Link;
|
|
13980
14238
|
var sectionData = data === null || data === void 0 ? void 0 : data.data;
|
|
13981
14239
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
13982
|
-
className: SECTION_CLASS + "
|
|
14240
|
+
className: SECTION_CLASS + " !mt-0 !md:mt-0 !bg-bgSecondary py-6 grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4 md:gap-6"
|
|
13983
14241
|
}, sectionData === null || sectionData === void 0 ? void 0 : sectionData.map(function (item, index) {
|
|
13984
14242
|
var _item$title;
|
|
13985
14243
|
return /*#__PURE__*/React__default.createElement(LinkToPage, {
|
|
@@ -14143,7 +14401,7 @@ var VideoFull1 = function VideoFull1(props) {
|
|
|
14143
14401
|
data: data,
|
|
14144
14402
|
shopConfigStyle: shopConfigStyle
|
|
14145
14403
|
}), youtubeVideoId ? /*#__PURE__*/React__default.createElement("div", {
|
|
14146
|
-
className: "w-full aspect-video"
|
|
14404
|
+
className: "w-full aspect-video mt-6"
|
|
14147
14405
|
}, /*#__PURE__*/React__default.createElement("iframe", {
|
|
14148
14406
|
className: "w-full h-full",
|
|
14149
14407
|
src: "https://www.youtube.com/embed/" + youtubeVideoId,
|