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.
@@ -1,25 +1,25 @@
1
1
  import React__default, { useState, useRef, useEffect, forwardRef, useImperativeHandle, createElement, memo } from 'react';
2
2
  import { IoCartOutline, IoChevronDownOutline, IoPersonCircleOutline, IoLogOutOutline, IoInformationCircleOutline, IoBagOutline, IoSearchOutline, IoChevronBackOutline, IoChevronForwardOutline } from 'react-icons/io5';
3
- import { FaUserCircle, FaRegNewspaper, FaFacebookF, FaFacebookMessenger, FaBoxOpen, FaAngleUp, FaAngleDown, FaCheckCircle, FaArrowRight, FaArrowLeft, FaPhoneAlt } from 'react-icons/fa';
3
+ import { FaUserCircle, FaRegNewspaper, FaFacebookF, FaFacebookMessenger, FaBoxOpen, FaAngleUp, FaAngleDown, FaCheckCircle, FaArrowRight, FaArrowLeft, FaCcVisa, FaYoutube, FaTiktok, FaPhoneAlt } from 'react-icons/fa';
4
4
  import { FiMenu, FiLogIn, FiHome, FiBox, FiPhoneCall, FiShoppingCart, FiSearch } from 'react-icons/fi';
5
5
  import { RxCross2 } from 'react-icons/rx';
6
6
  import { PiHandHeartBold } from 'react-icons/pi';
7
7
  import { TbCategory } from 'react-icons/tb';
8
- import { SiZalo, SiVisa } from 'react-icons/si';
9
- import { IoIosStar, IoIosArrowBack, IoIosArrowForward, IoMdCheckmark, IoIosHeartEmpty } from 'react-icons/io';
8
+ import { SiZalo } from 'react-icons/si';
9
+ import { IoIosStar, IoIosArrowBack, IoIosArrowForward, IoMdCheckmark, IoIosHeartEmpty, IoMdCheckmarkCircleOutline } from 'react-icons/io';
10
10
  import { FaMinus, FaRegEyeSlash, FaPlus, FaArrowsRotate, FaStar, FaRegStarHalfStroke, FaRegStar } from 'react-icons/fa6';
11
11
  import 'react-icons/ci';
12
12
  import { BsCurrencyDollar } from 'react-icons/bs';
13
- import { LuSearch, LuShoppingCart } from 'react-icons/lu';
13
+ import { LuSearch, LuShoppingCart, LuShoppingBag } from 'react-icons/lu';
14
14
  import DatePicker from 'react-datepicker';
15
15
  import 'react-datepicker/dist/react-datepicker.css';
16
16
  import Slider from 'react-slick';
17
17
  import 'slick-carousel/slick/slick.css';
18
18
  import 'slick-carousel/slick/slick-theme.css';
19
- import { AiOutlineShoppingCart, AiOutlinePhone } from 'react-icons/ai';
19
+ import { AiOutlineShoppingCart, AiOutlineInfoCircle, AiOutlinePhone } from 'react-icons/ai';
20
20
  import { GoCreditCard, GoClock } from 'react-icons/go';
21
- import { HiOutlineLocationMarker } from 'react-icons/hi';
22
- import { RiDeleteBin7Line } from 'react-icons/ri';
21
+ import { RiMessengerFill, RiDeleteBin7Line } from 'react-icons/ri';
22
+ import { HiOutlineLocationMarker, HiOutlineArrowNarrowLeft, HiOutlineArrowNarrowRight } from 'react-icons/hi';
23
23
  import { GiNewspaper } from 'react-icons/gi';
24
24
 
25
25
  var Button = function Button(props) {
@@ -163,6 +163,103 @@ var urlMappings = {
163
163
  function convertURL(path) {
164
164
  return urlMappings[path] || path;
165
165
  }
166
+ var ROUTE = {
167
+ HOME: {
168
+ name: "home",
169
+ label: "Trang chủ",
170
+ route: "/",
171
+ isShow: true
172
+ },
173
+ PRODUCTS: {
174
+ name: "products",
175
+ label: "Sản phẩm",
176
+ route: "/products",
177
+ isShow: true
178
+ },
179
+ PRODUCTS_BY_CATEGORY: {
180
+ name: "products_by_category",
181
+ label: "Sản phẩm theo danh mục",
182
+ route: "/products/:slug"
183
+ },
184
+ PRODUCT: {
185
+ name: "product",
186
+ label: "Chi tiết sản phẩm",
187
+ route: "/product/:slug"
188
+ },
189
+ SERVICES: {
190
+ name: "services",
191
+ label: "Dịch vụ",
192
+ route: "/services",
193
+ isShow: true
194
+ },
195
+ SERVICE: {
196
+ name: "service",
197
+ label: "Chi tiết dịch vụ",
198
+ route: "/service/:slug"
199
+ },
200
+ BOOKING: {
201
+ name: "booking",
202
+ label: "Đặt lịch",
203
+ route: "/dat-lich",
204
+ isShow: true
205
+ },
206
+ ABOUT: {
207
+ name: "about",
208
+ label: "Giới thiệu",
209
+ route: "/about",
210
+ isShow: true
211
+ },
212
+ SALES: {
213
+ name: "sales",
214
+ label: "Sản phẩm",
215
+ route: "/sales"
216
+ },
217
+ NEWS: {
218
+ name: "news",
219
+ label: "Tin tức",
220
+ route: "/news"
221
+ },
222
+ NEWS_BY_CATEGORY: {
223
+ name: "news_by_category",
224
+ label: "Tin tức theo danh mục",
225
+ route: "/news/:slug"
226
+ },
227
+ NEWS_DETAIL: {
228
+ name: "news_detail",
229
+ label: "Tin tức",
230
+ route: "/news/:slug/:languageCode"
231
+ },
232
+ CARTS: {
233
+ name: "carts",
234
+ label: "Giỏ hàng",
235
+ route: "/carts"
236
+ },
237
+ ORDERS: {
238
+ name: "orders",
239
+ label: "Đơn hàng",
240
+ route: "/orders"
241
+ },
242
+ ORDER: {
243
+ name: "order",
244
+ label: "Chi tiết đơn hàng",
245
+ route: "/order"
246
+ },
247
+ ACCOUNT: {
248
+ name: "account",
249
+ label: "Tài khoản",
250
+ route: "/account"
251
+ },
252
+ PROFILE: {
253
+ name: "profile",
254
+ label: "Tài khoản",
255
+ route: "/profile"
256
+ },
257
+ SEARCH: {
258
+ name: "search",
259
+ label: "Tìm kiếm",
260
+ route: "/search"
261
+ }
262
+ };
166
263
 
167
264
  var Options = function Options(props) {
168
265
  var _props$className = props.className,
@@ -1107,7 +1204,7 @@ var Hero2 = function Hero2(props) {
1107
1204
  }), /*#__PURE__*/React__default.createElement("div", {
1108
1205
  className: "font-medium line-clamp-1 ",
1109
1206
  style: {
1110
- fontSize: "clamp(1.25rem, 3vw, 3.5rem)",
1207
+ fontSize: "clamp(1.25rem, 4vw, 3.5rem)",
1111
1208
  lineHeight: "1.5"
1112
1209
  }
1113
1210
  }, 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", {
@@ -9432,7 +9529,7 @@ var TreatmentsList7 = function TreatmentsList7(props) {
9432
9529
  }), /*#__PURE__*/React__default.createElement("div", {
9433
9530
  className: "mt-12 w-full"
9434
9531
  }, (products === null || products === void 0 ? void 0 : products.length) > 0 ? /*#__PURE__*/React__default.createElement(Slider, {
9435
- infinite: true,
9532
+ infinite: (products === null || products === void 0 ? void 0 : products.length) > 1 ? true : false,
9436
9533
  slidesToShow: 1,
9437
9534
  slidesToScroll: 1,
9438
9535
  speed: 500,
@@ -10026,6 +10123,7 @@ var TreatmentItem1 = function TreatmentItem1(props) {
10026
10123
  };
10027
10124
 
10028
10125
  var ProductList7 = function ProductList7(props) {
10126
+ var _products$slice;
10029
10127
  var _props$shopConfigStyl = props.shopConfigStyle,
10030
10128
  shopConfigStyle = _props$shopConfigStyl === void 0 ? {} : _props$shopConfigStyl,
10031
10129
  _props$data = props.data,
@@ -10039,7 +10137,7 @@ var ProductList7 = function ProductList7(props) {
10039
10137
  _shopConfigStyle$colo3 = _shopConfigStyle$colo.secondary,
10040
10138
  secondary = _shopConfigStyle$colo3 === void 0 ? "#000" : _shopConfigStyle$colo3;
10041
10139
  var _useState = useState({
10042
- size: 4
10140
+ size: 8
10043
10141
  }),
10044
10142
  params = _useState[0];
10045
10143
  var _ProductController = ProductController(_extends({}, props, {
@@ -10053,16 +10151,16 @@ var ProductList7 = function ProductList7(props) {
10053
10151
  }, /*#__PURE__*/React__default.createElement(SectionTitle, {
10054
10152
  data: data,
10055
10153
  shopConfigStyle: shopConfigStyle
10056
- }), /*#__PURE__*/React__default.createElement("div", {
10154
+ }), (products === null || products === void 0 ? void 0 : products.length) > 0 ? /*#__PURE__*/React__default.createElement("div", {
10057
10155
  className: "grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-10 mt-12"
10058
- }, products === null || products === void 0 ? void 0 : products.map(function (product, index) {
10156
+ }, 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) {
10059
10157
  return /*#__PURE__*/React__default.createElement(ProductItem, {
10060
10158
  Link: Link,
10061
10159
  shopConfigStyle: shopConfigStyle,
10062
10160
  key: index,
10063
10161
  product: product === null || product === void 0 ? void 0 : product.productInfo
10064
10162
  });
10065
- })), (products === null || products === void 0 ? void 0 : products.length) > 0 ? /*#__PURE__*/React__default.createElement(LinkToPage, {
10163
+ })) : /*#__PURE__*/React__default.createElement(NotFoundProduct, null), (products === null || products === void 0 ? void 0 : products.length) > 4 ? /*#__PURE__*/React__default.createElement(LinkToPage, {
10066
10164
  href: "/san-pham",
10067
10165
  Link: Link
10068
10166
  }, /*#__PURE__*/React__default.createElement(Button, {
@@ -10332,7 +10430,7 @@ var Products3 = function Products3(props) {
10332
10430
  }, /*#__PURE__*/React__default.createElement("div", {
10333
10431
  className: "text-xl"
10334
10432
  }, "Danh m\u1EE5c s\u1EA3n ph\u1EA9m"), /*#__PURE__*/React__default.createElement("div", {
10335
- className: "overflow-y-auto max-h-96"
10433
+ className: "overflow-y-auto max-h-96 scroll-container pr-3"
10336
10434
  }, /*#__PURE__*/React__default.createElement("div", {
10337
10435
  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"),
10338
10436
  onClick: function onClick() {
@@ -12053,6 +12151,101 @@ function SvgVnpay(props) {
12053
12151
  }))));
12054
12152
  }
12055
12153
 
12154
+ var dataFake = [{
12155
+ title: "Đa dạng thanh toán",
12156
+ data: [{
12157
+ svgImage: "",
12158
+ srcImage: /*#__PURE__*/React__default.createElement(FaArrowsRotate, null),
12159
+ label: "Chuyển khoản",
12160
+ link: ""
12161
+ }, {
12162
+ svgImage: "",
12163
+ srcImage: /*#__PURE__*/React__default.createElement(BsCurrencyDollar, null),
12164
+ label: "Tiền mặt",
12165
+ link: ""
12166
+ }, {
12167
+ srcImage: /*#__PURE__*/React__default.createElement(SvgVnpay, null),
12168
+ svgImage: "",
12169
+ label: "VNPay",
12170
+ link: ""
12171
+ }, {
12172
+ srcImage: /*#__PURE__*/React__default.createElement(SvgVietQr, null),
12173
+ svgImage: "",
12174
+ label: "VietQR",
12175
+ link: ""
12176
+ }, {
12177
+ srcImage: /*#__PURE__*/React__default.createElement(GoCreditCard, null),
12178
+ svgImage: "",
12179
+ label: "Thẻ ATM",
12180
+ link: ""
12181
+ }, {
12182
+ srcImage: /*#__PURE__*/React__default.createElement(FaCcVisa, null),
12183
+ svgImage: "",
12184
+ label: "Thẻ Quốc tế",
12185
+ link: ""
12186
+ }]
12187
+ }, {
12188
+ title: "Thông tin hữu ích",
12189
+ data: [{
12190
+ srcImage: /*#__PURE__*/React__default.createElement(IoMdCheckmarkCircleOutline, null),
12191
+ svgImage: "",
12192
+ label: "Chính sách bảo hành",
12193
+ link: ""
12194
+ }, {
12195
+ srcImage: /*#__PURE__*/React__default.createElement(FaArrowsRotate, null),
12196
+ svgImage: "",
12197
+ label: "Chính sách đổi trả",
12198
+ link: ""
12199
+ }, {
12200
+ srcImage: /*#__PURE__*/React__default.createElement(LuShoppingBag, null),
12201
+ svgImage: "",
12202
+ label: "Hướng dẫn mua hàng online",
12203
+ link: ""
12204
+ }, {
12205
+ srcImage: /*#__PURE__*/React__default.createElement(AiOutlineInfoCircle, null),
12206
+ svgImage: "",
12207
+ label: "Giới thiệu về chúng tôi",
12208
+ link: ""
12209
+ }]
12210
+ }, {
12211
+ title: "Mạng xã hội",
12212
+ data: [{
12213
+ srcImage: /*#__PURE__*/React__default.createElement(FaFacebookF, {
12214
+ className: "p-1 rounded bg-primary text-white"
12215
+ }),
12216
+ svgImage: "",
12217
+ label: "Facebook",
12218
+ link: ""
12219
+ }, {
12220
+ srcImage: /*#__PURE__*/React__default.createElement(FaYoutube, {
12221
+ className: "p-1 rounded bg-primary text-white"
12222
+ }),
12223
+ svgImage: "",
12224
+ label: "Youtube",
12225
+ link: ""
12226
+ }, {
12227
+ srcImage: /*#__PURE__*/React__default.createElement(FaTiktok, {
12228
+ className: "p-1 rounded bg-primary text-white"
12229
+ }),
12230
+ svgImage: "",
12231
+ label: "Tiktok",
12232
+ link: ""
12233
+ }, {
12234
+ srcImage: /*#__PURE__*/React__default.createElement(RiMessengerFill, {
12235
+ className: "p-1 rounded bg-primary text-white"
12236
+ }),
12237
+ svgImage: "",
12238
+ label: "Messenger",
12239
+ link: ""
12240
+ }, {
12241
+ srcImage: /*#__PURE__*/React__default.createElement(SiZalo, {
12242
+ className: "p-1 rounded bg-primary text-white"
12243
+ }),
12244
+ svgImage: "",
12245
+ label: "Zalo",
12246
+ link: ""
12247
+ }]
12248
+ }];
12056
12249
  var Links1 = function Links1(props) {
12057
12250
  var data = props.data,
12058
12251
  _props$SectionTitle = props.SectionTitle,
@@ -12066,26 +12259,23 @@ var Links1 = function Links1(props) {
12066
12259
  shopConfigStyle: shopConfigStyle
12067
12260
  }), /*#__PURE__*/React__default.createElement("div", {
12068
12261
  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"
12069
- }, [1, 2, 3].map(function (item, index) {
12262
+ }, dataFake === null || dataFake === void 0 ? void 0 : dataFake.map(function (item, index) {
12263
+ var _item$data;
12070
12264
  return /*#__PURE__*/React__default.createElement("div", {
12071
- key: "qwikf-" + index + " "
12265
+ key: "qwikf-" + index + " ",
12266
+ className: "h-full overflow-hidden rounded-b-xl"
12072
12267
  }, /*#__PURE__*/React__default.createElement("h3", {
12073
12268
  className: "text-lg md:text-2xl font-semibold mb-4"
12074
- }, "\u0110a d\u1EA1ng thanh to\xE1n"), /*#__PURE__*/React__default.createElement("div", {
12075
- className: "leading-10 flex flex-col bg-background2 p-4 rounded-xl bg-bgSecondary "
12076
- }, /*#__PURE__*/React__default.createElement("label", null, /*#__PURE__*/React__default.createElement(FaArrowsRotate, {
12077
- className: "inline-block\t text-primary text-2xl mb-1 me-3"
12078
- }), " Chuy\u1EC3n kho\u1EA3n"), /*#__PURE__*/React__default.createElement("label", null, /*#__PURE__*/React__default.createElement(BsCurrencyDollar, {
12079
- className: "inline-block\t text-primary text-2xl mb-1 me-3"
12080
- }), " Ti\u1EC1n m\u1EB7t"), /*#__PURE__*/React__default.createElement("label", {
12081
- className: "flex items-center gap-[18px]"
12082
- }, /*#__PURE__*/React__default.createElement(SvgVietQr, null), "VietQR"), /*#__PURE__*/React__default.createElement("label", {
12083
- className: "flex items-center gap-[18px]"
12084
- }, /*#__PURE__*/React__default.createElement(SvgVnpay, null), "VNPay"), /*#__PURE__*/React__default.createElement("label", null, /*#__PURE__*/React__default.createElement(GoCreditCard, {
12085
- className: "inline-block\t text-primary text-2xl mb-1 me-3"
12086
- }), " Th\u1EBB ATM"), /*#__PURE__*/React__default.createElement("label", null, /*#__PURE__*/React__default.createElement(SiVisa, {
12087
- className: "inline-block\t text-primary text-2xl mb-1 me-3"
12088
- }), " Th\u1EBB Qu\u1ED1c t\u1EBF")));
12269
+ }, item === null || item === void 0 ? void 0 : item.title), /*#__PURE__*/React__default.createElement("div", {
12270
+ className: "leading-10 flex flex-col bg-background2 p-4 rounded-xl bg-bgSecondary h-full"
12271
+ }, item === null || item === void 0 ? void 0 : (_item$data = item.data) === null || _item$data === void 0 ? void 0 : _item$data.map(function (it, idx) {
12272
+ return /*#__PURE__*/React__default.createElement("label", {
12273
+ className: "flex gap-4 items-center",
12274
+ key: "ikgf-" + idx
12275
+ }, /*#__PURE__*/React__default.createElement("div", {
12276
+ className: "text-primary text-2xl"
12277
+ }, it === null || it === void 0 ? void 0 : it.srcImage), it === null || it === void 0 ? void 0 : it.label);
12278
+ })));
12089
12279
  })));
12090
12280
  };
12091
12281
 
@@ -12617,31 +12807,99 @@ var Employees1 = function Employees1(props) {
12617
12807
  };
12618
12808
 
12619
12809
  var Gallery1 = function Gallery1(props) {
12620
- var _data$data;
12810
+ var _data$data, _data$data2, _ROUTE$BOOKING;
12621
12811
  var _props$shopConfigStyl = props.shopConfigStyle,
12622
12812
  shopConfigStyle = _props$shopConfigStyl === void 0 ? {} : _props$shopConfigStyl,
12623
12813
  _props$data = props.data,
12624
12814
  data = _props$data === void 0 ? {} : _props$data,
12625
12815
  _props$SectionTitle = props.SectionTitle,
12626
- SectionTitle = _props$SectionTitle === void 0 ? null : _props$SectionTitle;
12816
+ SectionTitle = _props$SectionTitle === void 0 ? null : _props$SectionTitle,
12817
+ _props$Link = props.Link,
12818
+ Link = _props$Link === void 0 ? null : _props$Link;
12627
12819
  var _shopConfigStyle$colo = shopConfigStyle === null || shopConfigStyle === void 0 ? void 0 : shopConfigStyle.color,
12628
12820
  _shopConfigStyle$colo3 = _shopConfigStyle$colo.secondary,
12629
12821
  secondary = _shopConfigStyle$colo3 === void 0 ? "#000" : _shopConfigStyle$colo3;
12630
- console.log("Gallery1 data", data);
12822
+ var sliderRef = useRef(null);
12823
+ var settings = {
12824
+ infinite: true,
12825
+ slidesToShow: 3,
12826
+ slidesToScroll: 1,
12827
+ speed: 500,
12828
+ autoplay: false,
12829
+ autoplaySpeed: 4000,
12830
+ pauseOnHover: true,
12831
+ dots: false,
12832
+ swipe: true,
12833
+ touchMove: true,
12834
+ arrows: false,
12835
+ responsive: [{
12836
+ breakpoint: 1024,
12837
+ settings: {
12838
+ slidesToShow: 3,
12839
+ slidesToScroll: 1
12840
+ }
12841
+ }, {
12842
+ breakpoint: 1023,
12843
+ settings: {
12844
+ slidesToShow: 2,
12845
+ slidesToScroll: 1
12846
+ }
12847
+ }, {
12848
+ breakpoint: 635,
12849
+ settings: {
12850
+ slidesToShow: 1,
12851
+ slidesToScroll: 1
12852
+ }
12853
+ }]
12854
+ };
12855
+ var goToNext = function goToNext() {
12856
+ if (sliderRef.current) {
12857
+ sliderRef.current.slickNext();
12858
+ }
12859
+ };
12860
+ var goToPrev = function goToPrev() {
12861
+ if (sliderRef.current) {
12862
+ sliderRef.current.slickPrev();
12863
+ }
12864
+ };
12631
12865
  return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
12632
12866
  className: "" + SECTION_DEFAULT_CLASS
12633
12867
  }, /*#__PURE__*/React__default.createElement(SectionTitle, {
12634
12868
  data: data,
12635
12869
  shopConfigStyle: shopConfigStyle
12636
- }), /*#__PURE__*/React__default.createElement("div", {
12637
- className: "mt-6 grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-1 md:gap-2"
12638
- }, data === null || data === void 0 ? void 0 : (_data$data = data.data) === null || _data$data === void 0 ? void 0 : _data$data.map(function (it, index) {
12870
+ }), (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", {
12871
+ className: "mt-10"
12872
+ }, /*#__PURE__*/React__default.createElement(Slider, _extends({}, settings, {
12873
+ ref: sliderRef
12874
+ }), data === null || data === void 0 ? void 0 : (_data$data2 = data.data) === null || _data$data2 === void 0 ? void 0 : _data$data2.map(function (it, index) {
12639
12875
  return /*#__PURE__*/React__default.createElement("div", {
12640
- key: index
12876
+ key: index,
12877
+ className: "px-0 sm:px-4 md:px-4 pointer-events-none lg:px-6"
12641
12878
  }, /*#__PURE__*/React__default.createElement("img", {
12642
- src: it === null || it === void 0 ? void 0 : it.srcImage
12879
+ src: it === null || it === void 0 ? void 0 : it.srcImage,
12880
+ className: "rounded-2xl object-cover"
12643
12881
  }));
12644
- }))), /*#__PURE__*/React__default.createElement(Dash, {
12882
+ })), /*#__PURE__*/React__default.createElement("div", {
12883
+ className: "flex flex-col gap-6 items-center"
12884
+ }, /*#__PURE__*/React__default.createElement("div", {
12885
+ className: "flex gap-6 mt-2 items-center"
12886
+ }, /*#__PURE__*/React__default.createElement("div", {
12887
+ className: "text-primary cursor-pointer hover:scale-110 duration-200 hover:opacity-80",
12888
+ onClick: goToPrev
12889
+ }, /*#__PURE__*/React__default.createElement(HiOutlineArrowNarrowLeft, {
12890
+ size: 34
12891
+ })), /*#__PURE__*/React__default.createElement("div", {
12892
+ className: "text-primary cursor-pointer hover:scale-110 duration-200 hover:opacity-80",
12893
+ onClick: goToNext
12894
+ }, /*#__PURE__*/React__default.createElement(HiOutlineArrowNarrowRight, {
12895
+ size: 34
12896
+ }))), /*#__PURE__*/React__default.createElement(LinkToPage, {
12897
+ href: ROUTE === null || ROUTE === void 0 ? void 0 : (_ROUTE$BOOKING = ROUTE.BOOKING) === null || _ROUTE$BOOKING === void 0 ? void 0 : _ROUTE$BOOKING.route,
12898
+ Link: Link
12899
+ }, /*#__PURE__*/React__default.createElement(Button, {
12900
+ label: "\u0110\u1EB6T L\u1ECACH NGAY",
12901
+ shopConfigStyle: shopConfigStyle
12902
+ })))) : null), /*#__PURE__*/React__default.createElement(Dash, {
12645
12903
  color: secondary
12646
12904
  }));
12647
12905
  };
@@ -13934,7 +14192,7 @@ var SearchBar6 = function SearchBar6(props) {
13934
14192
  }
13935
14193
  };
13936
14194
  return /*#__PURE__*/React__default.createElement("div", {
13937
- className: "w-full flex flex-col justify-center px-3 md:px-6 gap-2 lg:gap-3 items-center h-32 lg:h-44 ",
14195
+ 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 ",
13938
14196
  style: {
13939
14197
  background: "url(" + (data === null || data === void 0 ? void 0 : (_data$data = data.data) === null || _data$data === void 0 ? void 0 : _data$data.srcImage) + ")",
13940
14198
  backgroundPosition: "center",
@@ -13945,7 +14203,7 @@ var SearchBar6 = function SearchBar6(props) {
13945
14203
  }, 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", {
13946
14204
  className: "text-center text-textBody"
13947
14205
  }, 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", {
13948
- className: "flex gap-2 md:gap-4 lg:gap-6 mb-2 md:mb-0 w-full md:w-[70%] h-10 lg:h-12 lg:w-1/2"
14206
+ 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"
13949
14207
  }, /*#__PURE__*/React__default.createElement(Input, {
13950
14208
  icons: /*#__PURE__*/React__default.createElement(IoSearchOutline, {
13951
14209
  className: "text-gray3"
@@ -13976,7 +14234,7 @@ var ShopHighlights2 = function ShopHighlights2(props) {
13976
14234
  Link = _props$Link === void 0 ? null : _props$Link;
13977
14235
  var sectionData = data === null || data === void 0 ? void 0 : data.data;
13978
14236
  return /*#__PURE__*/React__default.createElement("div", {
13979
- className: SECTION_CLASS + " my-0 md:my-0 !bg-bgSecondary py-6 grid grid-cols-2 lg:grid-cols-4 gap-4 lg:gap-6"
14237
+ 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"
13980
14238
  }, sectionData === null || sectionData === void 0 ? void 0 : sectionData.map(function (item, index) {
13981
14239
  var _item$title;
13982
14240
  return /*#__PURE__*/React__default.createElement(LinkToPage, {
@@ -14140,7 +14398,7 @@ var VideoFull1 = function VideoFull1(props) {
14140
14398
  data: data,
14141
14399
  shopConfigStyle: shopConfigStyle
14142
14400
  }), youtubeVideoId ? /*#__PURE__*/React__default.createElement("div", {
14143
- className: "w-full aspect-video"
14401
+ className: "w-full aspect-video mt-6"
14144
14402
  }, /*#__PURE__*/React__default.createElement("iframe", {
14145
14403
  className: "w-full h-full",
14146
14404
  src: "https://www.youtube.com/embed/" + youtubeVideoId,