int-components 0.0.16 → 0.0.18
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/README.md +1 -1
- package/dist/index.css +127 -126
- package/dist/index.js +1 -1
- package/dist/rh-components/{HotelsLanding/HeroSection → HeroSection}/HeroSection.d.ts +1 -0
- package/dist/rh-components/HeroSection/HeroSection.d.ts.map +1 -0
- package/dist/rh-components/HeroSection/index.css +120 -0
- package/dist/rh-components/HeroSection/index.d.ts.map +1 -0
- package/dist/rh-components/HeroSection/index.js +1 -0
- package/dist/rh-components/HotelsLanding/index.css +31 -30
- package/dist/rh-components/HotelsLanding/index.js +1 -1
- package/dist/rh-components/{HotelsLanding/HotelsSection → HotelsSection}/HotelsSection.d.ts +3 -3
- package/dist/rh-components/HotelsSection/HotelsSection.d.ts.map +1 -0
- package/dist/rh-components/HotelsSection/index.css +258 -0
- package/dist/rh-components/HotelsSection/index.d.ts.map +1 -0
- package/dist/rh-components/HotelsSection/index.js +1 -0
- package/dist/rh-components/index.d.ts +4 -0
- package/dist/rh-components/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/rh-components/HotelsLanding/HeroSection/HeroSection.d.ts.map +0 -1
- package/dist/rh-components/HotelsLanding/HeroSection/index.d.ts.map +0 -1
- package/dist/rh-components/HotelsLanding/HotelsSection/HotelsSection.d.ts.map +0 -1
- package/dist/rh-components/HotelsLanding/HotelsSection/index.d.ts.map +0 -1
- /package/dist/rh-components/{HotelsLanding/HeroSection → HeroSection}/index.d.ts +0 -0
- /package/dist/rh-components/{HotelsLanding/HotelsSection → HotelsSection}/index.d.ts +0 -0
|
@@ -916,7 +916,7 @@
|
|
|
916
916
|
}
|
|
917
917
|
}
|
|
918
918
|
|
|
919
|
-
.HeroSection-module__hero--
|
|
919
|
+
.HeroSection-module__hero--lpuv4 {
|
|
920
920
|
background-color: #ccc;
|
|
921
921
|
background-repeat: no-repeat;
|
|
922
922
|
background-image: var(--background-mobile);
|
|
@@ -927,26 +927,26 @@
|
|
|
927
927
|
|
|
928
928
|
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) {
|
|
929
929
|
|
|
930
|
-
.HeroSection-module__hero--
|
|
930
|
+
.HeroSection-module__hero--lpuv4 {
|
|
931
931
|
background-image: var(--background-mobile-2x);
|
|
932
932
|
}
|
|
933
933
|
}
|
|
934
934
|
|
|
935
935
|
@media (min-width: 500px) {
|
|
936
936
|
|
|
937
|
-
.HeroSection-module__hero--
|
|
937
|
+
.HeroSection-module__hero--lpuv4 {
|
|
938
938
|
background-image: var(--background-desktop);
|
|
939
939
|
}
|
|
940
940
|
|
|
941
941
|
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) {
|
|
942
942
|
|
|
943
|
-
.HeroSection-module__hero--
|
|
943
|
+
.HeroSection-module__hero--lpuv4 {
|
|
944
944
|
background-image: var(--background-desktop-2x);
|
|
945
945
|
}
|
|
946
946
|
}
|
|
947
947
|
}
|
|
948
948
|
|
|
949
|
-
.HeroSection-module__heroContainer--
|
|
949
|
+
.HeroSection-module__heroContainer--brVZ4 {
|
|
950
950
|
display: flex;
|
|
951
951
|
justify-content: end;
|
|
952
952
|
width: 100%;
|
|
@@ -958,7 +958,7 @@
|
|
|
958
958
|
|
|
959
959
|
@media (min-width: 500px) {
|
|
960
960
|
|
|
961
|
-
.HeroSection-module__heroContainer--
|
|
961
|
+
.HeroSection-module__heroContainer--brVZ4 {
|
|
962
962
|
padding: 16em 44em;
|
|
963
963
|
min-height: 320em;
|
|
964
964
|
}
|
|
@@ -966,12 +966,12 @@
|
|
|
966
966
|
|
|
967
967
|
@media (min-width: 1152px) {
|
|
968
968
|
|
|
969
|
-
.HeroSection-module__heroContainer--
|
|
969
|
+
.HeroSection-module__heroContainer--brVZ4 {
|
|
970
970
|
min-height: 670em;
|
|
971
971
|
}
|
|
972
972
|
}
|
|
973
973
|
|
|
974
|
-
.HeroSection-module__slogan--
|
|
974
|
+
.HeroSection-module__slogan--rRTe6 {
|
|
975
975
|
display: flex;
|
|
976
976
|
flex-direction: column;
|
|
977
977
|
justify-content: center;
|
|
@@ -982,7 +982,7 @@
|
|
|
982
982
|
font-weight: 900;
|
|
983
983
|
}
|
|
984
984
|
|
|
985
|
-
.HeroSection-module__sloganText--
|
|
985
|
+
.HeroSection-module__sloganText--_hwUn {
|
|
986
986
|
font-size: 45em;
|
|
987
987
|
line-height: 90%;
|
|
988
988
|
text-transform: uppercase;
|
|
@@ -990,40 +990,40 @@
|
|
|
990
990
|
|
|
991
991
|
@media (min-width: 500px) {
|
|
992
992
|
|
|
993
|
-
.HeroSection-module__sloganText--
|
|
993
|
+
.HeroSection-module__sloganText--_hwUn {
|
|
994
994
|
font-size: 60em;
|
|
995
995
|
}
|
|
996
996
|
}
|
|
997
997
|
|
|
998
998
|
@media (min-width: 1152px) {
|
|
999
999
|
|
|
1000
|
-
.HeroSection-module__sloganText--
|
|
1000
|
+
.HeroSection-module__sloganText--_hwUn {
|
|
1001
1001
|
font-size: 115em;
|
|
1002
1002
|
}
|
|
1003
1003
|
}
|
|
1004
1004
|
|
|
1005
|
-
.HeroSection-module__sloganYellow--
|
|
1005
|
+
.HeroSection-module__sloganYellow--lIwpd {
|
|
1006
1006
|
color: #f5d742;
|
|
1007
1007
|
}
|
|
1008
1008
|
|
|
1009
|
-
.HeroSection-module__sloganWhite--
|
|
1009
|
+
.HeroSection-module__sloganWhite--SWr8l {
|
|
1010
1010
|
color: #fff;
|
|
1011
1011
|
}
|
|
1012
1012
|
|
|
1013
|
-
.HeroSection-module__heroLogo--
|
|
1013
|
+
.HeroSection-module__heroLogo--t3ggG {
|
|
1014
1014
|
width: 33em;
|
|
1015
1015
|
}
|
|
1016
1016
|
|
|
1017
1017
|
@media (min-width: 500px) {
|
|
1018
1018
|
|
|
1019
|
-
.HeroSection-module__heroLogo--
|
|
1019
|
+
.HeroSection-module__heroLogo--t3ggG {
|
|
1020
1020
|
width: 49em;
|
|
1021
1021
|
}
|
|
1022
1022
|
}
|
|
1023
1023
|
|
|
1024
1024
|
@media (min-width: 1152px) {
|
|
1025
1025
|
|
|
1026
|
-
.HeroSection-module__heroLogo--
|
|
1026
|
+
.HeroSection-module__heroLogo--t3ggG {
|
|
1027
1027
|
width: 97em;
|
|
1028
1028
|
}
|
|
1029
1029
|
}
|
|
@@ -1191,7 +1191,7 @@
|
|
|
1191
1191
|
font-size: 14em;
|
|
1192
1192
|
}
|
|
1193
1193
|
|
|
1194
|
-
.HotelsSection-module__hotels--
|
|
1194
|
+
.HotelsSection-module__hotels--hGJyx {
|
|
1195
1195
|
max-width: 1392px;
|
|
1196
1196
|
margin-inline: auto;
|
|
1197
1197
|
padding-bottom: 60em;
|
|
@@ -1199,12 +1199,12 @@
|
|
|
1199
1199
|
|
|
1200
1200
|
@media (min-width: 1152px) {
|
|
1201
1201
|
|
|
1202
|
-
.HotelsSection-module__hotels--
|
|
1202
|
+
.HotelsSection-module__hotels--hGJyx {
|
|
1203
1203
|
padding-bottom: 100em;
|
|
1204
1204
|
}
|
|
1205
1205
|
}
|
|
1206
1206
|
|
|
1207
|
-
.HotelsSection-module__hotelsHeader--
|
|
1207
|
+
.HotelsSection-module__hotelsHeader--l_Qr5 {
|
|
1208
1208
|
display: flex;
|
|
1209
1209
|
flex-direction: column;
|
|
1210
1210
|
gap: 16em;
|
|
@@ -1213,21 +1213,21 @@
|
|
|
1213
1213
|
|
|
1214
1214
|
@media (min-width: 500px) {
|
|
1215
1215
|
|
|
1216
|
-
.HotelsSection-module__hotelsHeader--
|
|
1216
|
+
.HotelsSection-module__hotelsHeader--l_Qr5 {
|
|
1217
1217
|
gap: 22em;
|
|
1218
1218
|
}
|
|
1219
1219
|
}
|
|
1220
1220
|
|
|
1221
1221
|
@media (min-width: 1152px) {
|
|
1222
1222
|
|
|
1223
|
-
.HotelsSection-module__hotelsHeader--
|
|
1223
|
+
.HotelsSection-module__hotelsHeader--l_Qr5 {
|
|
1224
1224
|
gap: 28em;
|
|
1225
1225
|
padding-top: 80em;
|
|
1226
1226
|
padding-bottom: 80em;
|
|
1227
1227
|
}
|
|
1228
1228
|
}
|
|
1229
1229
|
|
|
1230
|
-
.HotelsSection-module__hotelsTitle--
|
|
1230
|
+
.HotelsSection-module__hotelsTitle--zeGAj {
|
|
1231
1231
|
margin: 0;
|
|
1232
1232
|
line-height: 1.1;
|
|
1233
1233
|
text-align: center;
|
|
@@ -1238,20 +1238,21 @@
|
|
|
1238
1238
|
|
|
1239
1239
|
@media (min-width: 500px) {
|
|
1240
1240
|
|
|
1241
|
-
.HotelsSection-module__hotelsTitle--
|
|
1241
|
+
.HotelsSection-module__hotelsTitle--zeGAj {
|
|
1242
1242
|
font-size: 40em;
|
|
1243
1243
|
}
|
|
1244
1244
|
}
|
|
1245
1245
|
|
|
1246
1246
|
@media (min-width: 1152px) {
|
|
1247
1247
|
|
|
1248
|
-
.HotelsSection-module__hotelsTitle--
|
|
1248
|
+
.HotelsSection-module__hotelsTitle--zeGAj {
|
|
1249
1249
|
font-size: 65em;
|
|
1250
1250
|
}
|
|
1251
1251
|
}
|
|
1252
1252
|
|
|
1253
|
-
.HotelsSection-module__hotelsSubtitle--
|
|
1253
|
+
.HotelsSection-module__hotelsSubtitle--EAJhs {
|
|
1254
1254
|
margin: 0;
|
|
1255
|
+
font-family: var(--font-main, "Aeonik", sans-serif);
|
|
1255
1256
|
font-weight: 700;
|
|
1256
1257
|
line-height: 1;
|
|
1257
1258
|
text-align: center;
|
|
@@ -1260,19 +1261,19 @@
|
|
|
1260
1261
|
|
|
1261
1262
|
@media (min-width: 500px) {
|
|
1262
1263
|
|
|
1263
|
-
.HotelsSection-module__hotelsSubtitle--
|
|
1264
|
+
.HotelsSection-module__hotelsSubtitle--EAJhs {
|
|
1264
1265
|
font-size: 17em;
|
|
1265
1266
|
}
|
|
1266
1267
|
}
|
|
1267
1268
|
|
|
1268
1269
|
@media (min-width: 1152px) {
|
|
1269
1270
|
|
|
1270
|
-
.HotelsSection-module__hotelsSubtitle--
|
|
1271
|
+
.HotelsSection-module__hotelsSubtitle--EAJhs {
|
|
1271
1272
|
font-size: 23em;
|
|
1272
1273
|
}
|
|
1273
1274
|
}
|
|
1274
1275
|
|
|
1275
|
-
.HotelsSection-module__hotelsList--
|
|
1276
|
+
.HotelsSection-module__hotelsList--jWxYc {
|
|
1276
1277
|
display: grid;
|
|
1277
1278
|
grid-template-columns: repeat(auto-fit, minmax(343px, 440px));
|
|
1278
1279
|
justify-content: center;
|
|
@@ -1283,12 +1284,12 @@
|
|
|
1283
1284
|
list-style: none;
|
|
1284
1285
|
}
|
|
1285
1286
|
|
|
1286
|
-
.HotelsSection-module__hotelCard--
|
|
1287
|
+
.HotelsSection-module__hotelCard--aCwpN {
|
|
1287
1288
|
justify-content: space-between;
|
|
1288
1289
|
min-height: 100%;
|
|
1289
1290
|
}
|
|
1290
1291
|
|
|
1291
|
-
.HotelsSection-module__hotelCard--
|
|
1292
|
+
.HotelsSection-module__hotelCard--aCwpN:hover [class*="HotelCard-module__priceInfo"] {
|
|
1292
1293
|
background-color: #000000;
|
|
1293
1294
|
}
|
|
1294
1295
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as e from"react/jsx-runtime";import*as a from"react";var t={39:(e,a,t)=>{t.d(a,{L:()=>s});const s=(...e)=>e.filter(Boolean).join(" ")},94:(e,a,t)=>{t.d(a,{A:()=>N});var s,l=t(178),o=t(268),n=t(130),r=t(39),i=t(649);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var s in t)({}).hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},c.apply(null,arguments)}const d=e=>i.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",width:28,height:28,fill:"none"},e),s||(s=i.createElement("path",{fill:"#8C1EFF",d:"M.32 9.41h28v2h-28zM.32 17.41h28v2h-28z"})));var u,m;function h(){return h=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var s in t)({}).hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},h.apply(null,arguments)}const x=e=>i.createElement("svg",h({xmlns:"http://www.w3.org/2000/svg",width:28,height:28,fill:"none"},e),u||(u=i.createElement("path",{fill:"#8C1EFF",d:"m4.807 3.394 19.799 19.799-1.414 1.414-19.8-19.8z"})),m||(m=i.createElement("path",{fill:"#8C1EFF",d:"m3.393 23.193 19.799-19.8 1.414 1.415L4.807 24.607z"})));var p,_,f;function g(){return g=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var s in t)({}).hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},g.apply(null,arguments)}const v={root:"Header-module__root--MyGKu",header:"Header-module__header--Ie2CT",hidden:"Header-module__hidden--gobBG",compactHeader:"Header-module__compactHeader--LsvY9",visible:"Header-module__visible--ococB",light:"Header-module__light--e8MFJ",dark:"Header-module__dark--mJEmI",yellow:"Header-module__yellow--W7Vw1",leftContainer:"Header-module__leftContainer--T8NI2",rightContainer:"Header-module__rightContainer--ZvsQ0",navList:"Header-module__navList--ikTYl",menuLink:"Header-module__menuLink--yDAEH",menuLinkText:"Header-module__menuLinkText--MV8k7",subMenuOpener:"Header-module__subMenuOpener--7Gf68",subMenuOpenerActive:"Header-module__subMenuOpenerActive--hM0jl",subNavList:"Header-module__subNavList--opWlU",subNavListOpened:"Header-module__subNavListOpened--mebR2",burgerMenuContainer:"Header-module__burgerMenuContainer--GmhQc",burgerMenuButton:"Header-module__burgerMenuButton--sm0Lo",burgerMenu:"Header-module__burgerMenu--SUEsD",logo:"Header-module__logo--V8O4g",burgerButtons:"Header-module__burgerButtons--gDROa",separator:"Header-module__separator--lw7LB"},b="burger-menu",j="sub-menu",w=(0,l.jsx)("a",{href:"https://www.ratehawk.com/",target:"_blank",rel:"noreferrer",children:(0,l.jsx)(e=>i.createElement("svg",g({xmlns:"http://www.w3.org/2000/svg",height:61,fill:"none",viewBox:"0 0 202 61"},e),p||(p=i.createElement("path",{fill:"var(--general-color)",d:"m162.762 38.47-2.883-18.28h-7.867l-3.517 22.29h4.857l.026-.178.187-1.397.325-2.435h4.113l.517 3.877.018.134h4.857l-.111-.708zm-8.306-4.16 1.489-10.848 1.49 10.848zM179.455 38.5l-1.997-18.31h-6.079l-1.876 18.34-1.431-18.34h-4.618l2.414 22.29h6.854l1.757-18.336 1.848 18.337h6.764l2.413-22.29h-4.62zM196.7 30.654l4.41-10.463h-5.274l-3.693 10.611V20.191h-5.007v22.29h5.007V31.842l3.635 10.639h5.542zM81.256 30.253q1.028-1.324 1.028-3.402v-.861q0-1.9-.848-3.18-.85-1.279-2.338-1.947-1.491-.67-3.398-.67h-7.45v22.29h5.006V31.517l4.022 10.966h5.571L78.53 32.17q1.701-.598 2.727-1.918m-3.978-2.99q-.001 1.488-.611 2.141-.612.655-1.654.655h-1.757v-3.654a2.055 2.055 0 0 0-2.058-2.052h3.8149999999999995q1.042 0 1.654.549.61.55.61 1.946zM94.679 20.19h-7.867L83.93 38.47l-.634 4.01h4.858l.535-4.01h4.113l.535 4.01h4.857l-.633-4.01zm-5.423 14.12 1.49-10.848 1.49 10.848zM97.752 24.502h3.633V42.48h5.067V24.5h3.635v-4.31H97.752zM111.871 24.502V42.48h11.144v-4.309h-6.138v-4.905h6.138V28.96h-6.138v-4.457h6.138V20.19h-11.144zM141.791 28.87h-4.469v-8.68h-5.064v22.288h5.064v-7.216a2.055 2.055 0 0 0-2.057-2.053h6.526v9.272h5.064V20.19h-5.064z"})),_||(_=i.createElement("path",{fill:"var(--logo-accent-color)",d:"M56.213 18.304 38.056 7.849 25.143.41l3.572 4.999c.833 1.165-.43 2.679-1.732 2.07L15.695 2.197l22.36 17.418s8.481 6.433 11.26 8.735c.493.408.829.974.95 1.604l.868 4.557c.9 4.284-.762 5.893-2.368 6.857l-1.981 1.184.31-2.425c.124-.932-.076-1.3-.636-1.637l-4.84-2.697a2.3 2.3 0 0 0-.901-.297C37.487 35.054.32 29.801.32 29.801l17.228 5.767c1.359.455 1.23 2.412-.176 2.686l-5.264 1.033 24.024 13.89a4.2 4.2 0 0 0 4.186.004c4.062-2.331 12.88-7.393 15.88-9.123a4.18 4.18 0 0 0 2.093-3.603c.018-5.504.018-18.533.018-18.533a4.17 4.17 0 0 0-2.096-3.618"})),f||(f=i.createElement("path",{fill:"var(--logo-accent-color)",d:"M44.752 32.185a1.54 1.54 0 0 0 2.022.8c.553-.238.886-.765.917-1.326l-6.62-3.918s-.065.377.144.576c.22.21 2.583 2.181 3.464 2.916-.076.308-.06.64.073.952"}))),{className:v.logo})}),N=({theme:e="dark",className:a="",menu:t,subMenu:s,extraRightContent:c,fluidMode:u,zIndex:m=1,onLoginClick:h,onRegisterClick:p})=>{const _=(0,n.u)(u),f=v[e],g=s&&s.length>0,[N,y]=(0,i.useState)(!1),[C,L]=(0,i.useState)(!1),[M,H]=(0,i.useState)(!1),[T,E]=(0,i.useState)(!1),F=(0,i.useRef)(null),B=(0,i.useRef)(null),S=t?.map(k)||[];let O=S;if(g){const e=s?.map(k)||[];O=[...S,(0,l.jsxs)("li",{children:[(0,l.jsx)("button",{type:"button",onClick:()=>H(!M),className:(0,r.L)(v.menuLink,_,v.subMenuOpener,j,M?v.subMenuOpenerActive:""),children:(0,l.jsx)("span",{className:v.menuLinkText,children:"More"})}),(0,l.jsx)("ul",{className:(0,r.L)(v.subNavList,M?v.subNavListOpened:"",j),children:e})]},"submenu")],S.push(...e)}const A=(0,i.useCallback)((()=>{let e=!1;return(...a)=>{e||((()=>{if(!F.current||!B.current)return;const e=B.current.getBoundingClientRect().right,a=F.current.getBoundingClientRect().left-e<20;y(a),E(!0),a?H(!1):L(!1)})(...a),e=!0,setTimeout(()=>{e=!1},100))}})(),[]),I=(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(o.A,{theme:"secondary",variant:"dark"===e?"white":"black",url:"https://www.ratehawk.com/accounts/login/?lang=en&ref=rh_sign_in",onClick:h,children:"Sign in"}),(0,l.jsx)(o.A,{url:"https://www.ratehawk.com/registration/?lang=en&ref=rh_register",onClick:p,children:"Register"})]}),z=(0,i.useCallback)(e=>{if(!(e.target instanceof HTMLElement))return;const a=e.target.closest(`.${b}`),t=e.target.closest(`.${j}`);a||L(!1),t||H(!1)},[]);return(0,i.useEffect)(()=>(window.addEventListener("resize",A),window.addEventListener("click",z),A(),()=>{window.removeEventListener("resize",A),window.removeEventListener("click",z)}),[A,z]),(0,l.jsxs)("div",{className:(0,r.L)(v.root,a,f,_),style:{zIndex:m},children:[(0,l.jsxs)("div",{className:(0,r.L)(v.header,v.wideHeader,N?v.hidden:""),children:[(0,l.jsxs)("div",{className:v.leftContainer,ref:B,children:[w,(0,l.jsx)("nav",{className:v.navMenu,children:(0,l.jsx)("ul",{className:v.navList,children:O})})]}),(0,l.jsxs)("div",{className:(0,r.L)(v.rightContainer,!T&&v.hidden),ref:F,children:[c,I]})]}),(0,l.jsxs)("div",{className:(0,r.L)(v.header,v.compactHeader,N?v.visible:""),children:[(0,l.jsx)("div",{className:v.leftContainer,children:w}),(0,l.jsxs)("div",{className:v.rightContainer,children:[c,(0,l.jsx)("div",{className:v.burgerMenuContainer,children:(0,l.jsx)("button",{className:v.burgerMenuButton,onClick:()=>L(!C),type:"button",children:C?(0,l.jsx)(x,{}):(0,l.jsx)(d,{})})})]}),C&&(0,l.jsxs)("div",{className:(0,r.L)(v.burgerMenu,b),children:[S.length?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("nav",{className:v.navMenu,children:(0,l.jsx)("ul",{className:v.navList,children:S})}),(0,l.jsx)("div",{className:v.separator})]}):null,(0,l.jsx)("div",{className:v.burgerButtons,children:I})]})]})]})};function k(e){const a=e.url?"a":"button",t=e.url?{target:"_blank",href:e.url}:{type:"button"};return(0,l.jsx)("li",{children:(0,l.jsx)(a,{className:v.menuLink,onClick:e.onClick,...t,children:(0,l.jsx)("span",{className:v.menuLinkText,children:e.title})})},e.title)}},130:(e,a,t)=>{t.d(a,{N:()=>l,u:()=>o}),t(178);var s=t(992);const l=({children:e,fluidMode:a=!1})=>{fluidModeState.state=a;const t=`\n @font-face {\n font-family: 'Aeonik';\n src: url('https://of.worldota.net/fonts/aeonik/Aeonik-Bold.woff2') format('woff2');\n font-weight: 900;\n font-style: normal;\n font-display: swap;\n }\n\n @font-face {\n font-family: 'Aeonik';\n src: url('https://of.worldota.net/fonts/aeonik/Aeonik-Regular.woff2') format('woff2');\n font-weight: 400;\n font-style: normal;\n font-display: swap;\n }\n\n @font-face {\n font-family: 'ABCGravity';\n src: url('https://of.worldota.net/fonts/ABCGravity/ABCGravity.woff2') format('woff2');\n font-weight: 900;\n font-style: normal;\n font-display: swap;\n }\n \n ${a?fluidLayoutCss:staticLayoutCss};\n `;return _jsxs(_Fragment,{children:[_jsx("style",{dangerouslySetInnerHTML:{__html:t}}),e]})},o=e=>("boolean"==typeof e?e:s.b.state)?"layout-module__fluidLayout--BNE04":"layout-module__staticLayout--x_6dR"},178:(a,t,s)=>{var l,o;a.exports=(l={Fragment:()=>e.Fragment,jsx:()=>e.jsx,jsxs:()=>e.jsxs},o={},s.d(o,l),o)},268:(e,a,t)=>{t.d(a,{A:()=>r});var s=t(178),l=t(130),o=t(39);const n={text:"Button-module__text--holIg",root:"Button-module__root--Knp7O",hidden:"Button-module__hidden--Q6Ztq",s:"Button-module__s--o9reb",m:"Button-module__m--ZGRqJ",withMediaDimension:"Button-module__withMediaDimension--Z_A5M",primary:"Button-module__primary--V9FFQ",purple:"Button-module__purple--biF8d",black:"Button-module__black--Iz790",secondary:"Button-module__secondary--_9J0r",white:"Button-module__white--l3jcr",isLoading:"Button-module__isLoading--u5f2m",spinner:"Button-module__spinner--Zj28d",spin:"Button-module__spin--lWtk7"},r=({className:e,children:a,dimension:t="s",theme:r="primary",onClick:i,disabled:c=!1,type:d="button",variant:u="purple",url:m,isLoading:h,enableMediaDimension:x=!0,fluidMode:p})=>{const _=n[t]||"",f=n[r]||"",g=n[u],v=(0,l.u)(p),b=x?n.withMediaDimension:"",j=m?"a":"button",w=m?{target:"_blank",href:m}:{type:d},N=h?n.isLoading:"";return(0,s.jsxs)(j,{...w,onClick:i,className:(0,o.L)(n.root,e,v,_,f,N,g,b),disabled:c,children:[h?(0,s.jsx)("span",{className:n.spinner}):null,(0,s.jsx)("span",{className:(0,o.L)(n.text,h?n.hidden:null),children:a})]})}},374:(e,a,t)=>{t.d(a,{A:()=>M});var s,l=t(178),o=t(268),n=t(130),r=t(39),i=t(649);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var s in t)({}).hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},c.apply(null,arguments)}const d=e=>i.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",width:31,height:31,fill:"none"},e),s||(s=i.createElement("path",{stroke:"#fff",strokeWidth:2,d:"M15.207 29.967c-7.732 0-14-6.268-14-14s6.268-14 14-14 14 6.268 14 14-6.268 14-14 14Zm0 0v-16a4 4 0 0 1 4-4h1m-10 8h10"})));var u;function m(){return m=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var s in t)({}).hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},m.apply(null,arguments)}const h=e=>i.createElement("svg",m({xmlns:"http://www.w3.org/2000/svg",width:31,height:31,fill:"none"},e),u||(u=i.createElement("path",{stroke:"#fff",strokeWidth:2,d:"M9.54 12.967v10m12 0v-5a4 4 0 1 0-8 0v5-10m-5-3h2m-7-8h24a2 2 0 0 1 2 2v24a2 2 0 0 1-2 2h-24a2 2 0 0 1-2-2v-24a2 2 0 0 1 2-2Z"}))),x=/^([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x22([^\x0d\x22\x5c\x80-\xff]|\x5c[\x00-\x7f])*\x22)(\x2e([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x22([^\x0d\x22\x5c\x80-\xff]|\x5c[\x00-\x7f])*\x22))*\x40([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x5b([^\x0d\x5b-\x5d\x80-\xff]|\x5c[\x00-\x7f])*\x5d)(\x2e([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x5b([^\x0d\x5b-\x5d\x80-\xff]|\x5c[\x00-\x7f])*\x5d))*$/;var p;function _(){return _=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var s in t)({}).hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},_.apply(null,arguments)}const f=e=>i.createElement("svg",_({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,stroke:"currentColor",strokeWidth:1.5},e),p||(p=i.createElement("path",{d:"m4 4 16 16m0-16L4 20"}))),g="ContactModal-module__field--c99HI",v="ContactModal-module__inputWrapper--e2l3N",b="ContactModal-module__inputWrapperError--s_bqB",j="ContactModal-module__input--wuaB7",w="ContactModal-module__error--jso6D",N=({isOpen:e,onClose:a,fluidMode:t})=>{const s=(0,n.u)(t),[c,d]=(0,i.useState)({firstName:"",phone:"",email:"",companyName:"",message:""}),[u,m]=(0,i.useState)(!1),[h,p]=(0,i.useState)(!1),[_,N]=(0,i.useState)({}),k=(0,i.useCallback)(()=>{const e={};return c.firstName.trim()||(e.firstName="First Name is required"),c.phone.trim()?c.phone.replace(/\D/g,"").length>=7||(e.phone="Phone must contain at least 7 digits"):e.phone="Phone is required",c.email.trim()?function(e){return x.test(e)}(c.email)||(e.email="Please enter a valid email"):e.email="Email is required",c.companyName.trim()||(e.companyName="Company Name is required"),N(e),0===Object.keys(e).length},[c]),y=(0,i.useCallback)(async e=>{if(e.preventDefault(),k()){m(!0);try{const e={brand:"ratehawk",cooperation_type:"api",kind:"b2b",white_label_slug:"ratehawk",email:c.email,message:c.message,company_name:c.companyName,name:c.firstName,phone:c.phone};if(!(await fetch("https://www.ratehawk.com/partner/user_area/v1/anonymous/contact_us/",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})).ok)throw new Error("Failed to submit form");p(!0)}catch(e){console.error("Form submission error:",e)}finally{m(!1)}}},[c,k]),C=(0,i.useCallback)(e=>a=>{d(t=>({...t,[e]:a.target.value})),_[e]&&N(a=>({...a,[e]:void 0}))},[_]),L=(0,i.useCallback)(()=>{d({firstName:"",phone:"",email:"",companyName:"",message:""}),N({}),p(!1),a()},[a]);return e?(0,l.jsx)("div",{className:(0,r.L)("ContactModal-module__overlay--ti1yT",s),onClick:L,children:(0,l.jsxs)("div",{className:"ContactModal-module__modal--Xzwl2",onClick:e=>e.stopPropagation(),children:[(0,l.jsx)("button",{className:(0,r.L)("ContactModal-module__closeButton--qvADd",s),onClick:L,type:"button",children:(0,l.jsx)(f,{})}),h?(0,l.jsxs)("div",{className:"ContactModal-module__successMessage--Nyhi4",children:[(0,l.jsx)("h2",{className:"ContactModal-module__successTitle--dVn02",children:"Successfully accepted"}),(0,l.jsx)("p",{className:"ContactModal-module__successText--KJznx",children:"Your application has flown to our caring specialists! We will contact you soon"})]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("h2",{className:"ContactModal-module__title--XrI8J",children:(0,l.jsx)("span",{className:"ContactModal-module__titleText--HH4uj",children:"Cooperation"})}),(0,l.jsx)("p",{className:"ContactModal-module__subtitle--dS9UA",children:"Drop us a line and we will get back to you as soon as possible!"}),(0,l.jsxs)("form",{className:"ContactModal-module__form--XuQzj",onSubmit:y,children:[(0,l.jsxs)("div",{className:g,children:[(0,l.jsx)("label",{className:`${v} ${_.firstName?b:""}`,children:(0,l.jsx)("input",{type:"text",className:j,value:c.firstName,onChange:C("firstName"),placeholder:"First Name *"})}),_.firstName&&(0,l.jsx)("span",{className:w,children:_.firstName})]}),(0,l.jsxs)("div",{className:g,children:[(0,l.jsx)("label",{className:`${v} ${_.phone?b:""}`,children:(0,l.jsx)("input",{type:"tel",className:j,value:c.phone,onChange:C("phone"),placeholder:"Phone *"})}),_.phone&&(0,l.jsx)("span",{className:w,children:_.phone})]}),(0,l.jsxs)("div",{className:g,children:[(0,l.jsx)("label",{className:`${v} ${_.email?b:""}`,children:(0,l.jsx)("input",{type:"email",className:j,value:c.email,onChange:C("email"),placeholder:"Email Address *"})}),_.email&&(0,l.jsx)("span",{className:w,children:_.email})]}),(0,l.jsxs)("div",{className:g,children:[(0,l.jsx)("label",{className:`${v} ${_.companyName?b:""}`,children:(0,l.jsx)("input",{type:"text",className:j,value:c.companyName,onChange:C("companyName"),placeholder:"Company Name *"})}),_.companyName&&(0,l.jsx)("span",{className:w,children:_.companyName})]}),(0,l.jsx)("div",{className:g,children:(0,l.jsx)("label",{className:"ContactModal-module__textareaWrapper--rSQEQ",children:(0,l.jsx)("textarea",{className:"ContactModal-module__textarea--i19oy",value:c.message,onChange:C("message"),placeholder:"Message",rows:4})})}),(0,l.jsx)(o.A,{type:"submit",theme:"primary",variant:"white",disabled:u,className:"ContactModal-module__submitButton--qbQOa",children:u?"Sending...":"Send"})]})]})]})}):null},k="Footer-module__footerLink--ipb6W",y="Footer-module__footerLegalText--xlXoo",C="Footer-module__footerParagraphSection--rin95",L=[{title:"For marketing and PR",text:"We regularly run promotions, campaigns, and partner events to engage and incentivize our clients with special offers. If you interested in such partnership please contact us at {{link}}.",link:"pr@emergingtravel.com",button:{text:"Cooperate",action:"form"},cssClass:"Footer-module__marketingBlock--DnIGu"},{title:"For affiliates partnerships",text:"Integrate our solution to make it easy and profitable to book hotels through your website or online service. Integrate quickly and reliably with our system. Still have questions? Contact us at {{link}}.",link:"affiliate@emergingtravel.com",button:{text:"Learn more",url:"https://www.ratehawk.com/lp/en-us/travel-related-websites/"},cssClass:"Footer-module__affiliatesBlock--jVQ0L"},{title:"For suppliers",text:"As official partners of the world's largest OTA, wholesalers, consolidators, and DMCs, we invite you to enhance your sales and grow your business together. Contact us at {{link}}.",link:"tpp@emergingtravel.com",button:{text:"Cooperate",action:"form"},cssClass:"Footer-module__suppliersBlock--yrn9l"},{title:"For hotels",text:"Become our partner to increase your direct sales and the popularity of your accommodation options. \u2028For partnership inquiries, please contact us at {{link}}.",link:"hotels@emergingtravel.com",button:{text:"Learn more",url:"https://www.ratehawk.com/lp/en-us/travel-related-websites/"},cssClass:"Footer-module__hotelsBlock--uGUyj"},{title:"For technology providers",text:"If you are a mid-office or platform interested in integrating with RateHawk to develop your business, please contact us at {{link}}.",link:"api@ratehawk.com",button:{text:"Cooperate",action:"form"},cssClass:"Footer-module__providersBlock--Zmk8W"}],M=({className:e="",fluidMode:a})=>{const[t,s]=(0,i.useState)(!1),c=(0,n.u)(a),u=(0,i.useCallback)(()=>{s(!0)},[]),m=(0,i.useCallback)(()=>{s(!1)},[]);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("footer",{className:(0,r.L)("Footer-module__root--T9ly6",e,c),children:[(0,l.jsxs)("div",{className:"Footer-module__header--hy1ME",children:[(0,l.jsx)("p",{className:"Footer-module__title--OX7d9",children:"Partnership"}),(0,l.jsx)("p",{className:"Footer-module__subTitle--EmP0b",children:"Cooperate and grow together with RateHawk"})]}),(0,l.jsx)("ul",{className:"Footer-module__advantages--z7ASK",children:L.map(e=>(0,l.jsxs)("li",{className:(0,r.L)("Footer-module__advantageItem--EcCx_",e.cssClass),children:[(0,l.jsxs)("div",{className:"Footer-module__advantageInfo--Ilud0",children:[(0,l.jsx)("h6",{className:"Footer-module__advantageTitle--spnaR",children:(0,l.jsx)("span",{className:"Footer-module__advantageTitleText--cMrU_",children:e.title})}),(0,l.jsx)("p",{className:"Footer-module__advantageText--BHbmo",dangerouslySetInnerHTML:{__html:e.text.replace("{{link}}",`<a class="Footer-module__advantageLink--bcoK8" href="mailto:${e.link}">${e.link}</a>`)}})]}),(0,l.jsx)(o.A,{theme:"secondary",variant:"white",...e.button.url?{url:e.button.url}:{onClick:u},children:e.button.text})]},e.title))}),(0,l.jsxs)("div",{className:"Footer-module__footerBottom--u_o7y",children:[(0,l.jsxs)("div",{className:"Footer-module__footerLeft--nnkZo",children:[(0,l.jsxs)("div",{className:"Footer-module__social--H1Yw4",children:[(0,l.jsx)("a",{href:"https://www.facebook.com/ratehawk",target:"_blank",rel:"noopener noreferrer",children:(0,l.jsx)(d,{})}),(0,l.jsx)("a",{href:"https://www.linkedin.com/company/ratehawk-com/",target:"_blank",rel:"noopener noreferrer",children:(0,l.jsx)(h,{})})]}),(0,l.jsxs)("ul",{className:"Footer-module__footerLinks--R9Hnr",children:[(0,l.jsx)("li",{children:(0,l.jsx)("a",{href:"https://www.ratehawk.com/lp/en-us/career",target:"_blank",rel:"noopener noreferrer",className:k,children:"Careers"})}),(0,l.jsx)("li",{children:(0,l.jsx)("a",{href:"https://blog.ratehawk.com/",target:"_blank",rel:"noopener noreferrer",className:k,children:"Blog"})})]})]}),(0,l.jsxs)("div",{className:"Footer-module__footerLegal--jAGGe",children:[(0,l.jsxs)("div",{className:C,children:[(0,l.jsx)("p",{className:y,children:"Leaside Services Limited, reg.no HE342401, Business Address: 17 Karaiskaki Street, Office 22, Agaia Triada, Limassol, Cyprus, 3032 Emerging Travel Inc., reg.no 4869611, Business Address: 1000 N West Street, Suite 1200, Wilmington, DE 19801 USA EMERGING TRAVEL UK LIMITED, Company number 12185384, Business Address: 19 Eastbourne Terrace, Office 3.01, Paddington, London, W2 6LG, UK"}),(0,l.jsx)("p",{className:y,children:"Emerging Travel Germany ETG GmbH, HRB 213546, Business Address: Friedrichstraße 171, 10117 Berlin, Germany"}),(0,l.jsx)("p",{className:y,children:"Emerging Travel Kazakhstan LLP, BIN 191240026456, Business address: Office SP2-18, 280 Baizakova Street, Bostandykskiy district, 050040, Almaty, Republic of Kazakhstan"}),(0,l.jsx)("p",{className:y,children:"Smart Middle East Travel Agency L.L.C, Reg.no: 1803677, Business address: Al Rigga - Office No. 202-201-221, Insurance Building, Dubai, UAE"}),(0,l.jsx)("p",{className:y,children:"Emerging Travel Asia PTE. LTD, Reg.no: 201927854K, TA license: TA03682, Business address: 300 Tampines Avenue 5 #09-02, Tampines Junction Singapore 529653"})]}),(0,l.jsx)("div",{className:C,children:(0,l.jsx)("p",{className:y,children:(0,l.jsx)("a",{href:"https://www.ratehawk.com/legal/site/privacy-policy/",target:"_blank",rel:"noopener noreferrer",children:"Personal data processing and storage policy"})})}),(0,l.jsx)("div",{className:C,children:(0,l.jsx)("p",{className:y,children:"Digital Services Act"})}),(0,l.jsx)("div",{className:C,children:(0,l.jsx)("p",{className:y,children:"Ratehawk is a registered service mark in the European Union"})})]})]})]}),(0,l.jsx)(N,{isOpen:t,onClose:m,fluidMode:a})]})}},649:(e,t,s)=>{var l,o;e.exports=(l={createElement:()=>a.createElement,useCallback:()=>a.useCallback,useEffect:()=>a.useEffect,useRef:()=>a.useRef,useState:()=>a.useState},o={},s.d(o,l),o)},670:(e,a,t)=>{t.d(a,{A:()=>r});var s=t(178),l=t(130),o=t(39);const n={root:"HotelCard-module__root--popq0",rootFixed:"HotelCard-module__rootFixed--TvjpT",clickable:"HotelCard-module__clickable--mp25I",imageContainer:"HotelCard-module__imageContainer--FZfWz",image:"HotelCard-module__image--fREMp",discount:"HotelCard-module__discount--G2sau",discountText:"HotelCard-module__discountText--hH9Sf",content:"HotelCard-module__content--IA_3z",stars:"HotelCard-module__stars--jTODO",starFilled:"HotelCard-module__starFilled--Ps4vk",starEmpty:"HotelCard-module__starEmpty--FBbdo",title:"HotelCard-module__title--BOmwo",location:"HotelCard-module__location--uglfh",dates:"HotelCard-module__dates--mhAjB",priceInfoWrapper:"HotelCard-module__priceInfoWrapper--fplFE",priceInfo:"HotelCard-module__priceInfo--qLmoQ",bookNowText:"HotelCard-module__bookNowText--pgznJ",mainPriceText:"HotelCard-module__mainPriceText--wIEbi",infoPriceText:"HotelCard-module__infoPriceText--GSy_s"},r=({className:e="",name:a,location:t,stars:r,image:i,dates:c,discountText:d,onClick:u,url:m,width:h="auto",price:x,fluidMode:p})=>{const _=(0,l.u)(p),f=m?"a":"div",g=m?{href:m,target:"_blank",rel:"noopener noreferrer"}:{};return(0,s.jsxs)(f,{className:(0,o.L)(n.root,_,"fixed"===h&&n.rootFixed,e,m&&n.clickable),onClick:u,...g,children:[(0,s.jsxs)("div",{className:n.imageContainer,children:[(0,s.jsx)("img",{src:i,alt:a,className:n.image}),d?(0,s.jsx)("div",{className:n.discount,children:(0,s.jsx)("span",{className:n.discountText,dangerouslySetInnerHTML:{__html:d}})}):null]}),(0,s.jsxs)("div",{className:n.content,children:[(()=>{if(!r)return null;const e=[];for(let t=0;t<5;t++)e.push((0,s.jsx)("div",{className:t<r?n.starFilled:n.starEmpty},`star-${a}-${t}`));return(0,s.jsx)("div",{className:n.stars,children:e})})(),(0,s.jsx)("h3",{className:n.title,children:a}),t&&(0,s.jsx)("p",{className:n.location,children:t}),c&&(0,s.jsxs)("p",{className:n.dates,children:["Travel Dates: ",c]}),(0,s.jsx)("div",{className:n.priceInfoWrapper,children:(0,s.jsx)("div",{className:n.priceInfo,children:x?(0,s.jsxs)("div",{className:n.priceText,children:[(0,s.jsxs)("div",{className:n.mainPriceText,children:["From ",(0,s.jsx)("strong",{children:x})]}),(0,s.jsx)("div",{className:n.infoPriceText,children:(0,s.jsx)("span",{children:"For 1 night and 2 guests"})})]}):(0,s.jsx)("div",{className:n.bookNowText,children:"Book now"})})})]})]})}},992:(e,a,t)=>{t.d(a,{b:()=>s}),globalThis.__fluidModeState||(globalThis.__fluidModeState={state:!1});const s=globalThis.__fluidModeState}},s={};function l(e){var a=s[e];if(void 0!==a)return a.exports;var o=s[e]={exports:{}};return t[e](o,o.exports,l),o.exports}l.d=(e,a)=>{for(var t in a)l.o(a,t)&&!l.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:a[t]})},l.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a);var o,n,r=l(178),i=l(130),c=l(39),d=l(374),u=l(94),m=l(649);function h(){return h=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var s in t)({}).hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},h.apply(null,arguments)}const x=e=>m.createElement("svg",h({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 98 91"},e),o||(o=m.createElement("path",{fill:"#FEDD00",d:"M94.277 30.26 63.65 12.58 41.87 0l6.025 8.453c1.406 1.972-.724 4.53-2.921 3.5l-19.04-8.93L63.65 32.48s14.304 10.88 18.993 14.772a4.67 4.67 0 0 1 1.601 2.713l1.465 7.708c1.516 7.243-1.286 9.964-3.995 11.595l-3.342 2.002.523-4.101c.21-1.576-.127-2.198-1.073-2.768l-8.163-4.56c-.468-.282-.98-.431-1.52-.503C62.692 58.587 0 49.704 0 49.704l29.06 9.752c2.29.77 2.073 4.08-.299 4.544l-8.878 1.746 40.523 23.489a7.07 7.07 0 0 0 7.06.008C74.318 85.3 89.192 76.741 94.25 73.815a7.07 7.07 0 0 0 3.53-6.094c.03-9.309.03-31.342.03-31.342a7.06 7.06 0 0 0-3.534-6.119"})),n||(n=m.createElement("path",{fill:"#FEDD00",d:"M74.944 53.737a2.594 2.594 0 0 0 3.41 1.354 2.59 2.59 0 0 0 1.547-2.244L68.735 46.22s-.11.639.243.975c.37.353 4.356 3.688 5.842 4.931a2.54 2.54 0 0 0 .124 1.61"}))),p="HeroSection-module__sloganText--ZfrcX",_=({yellowText:e,whiteText:a,showLogo:t=!0,backgroundMobile:s,backgroundMobile2x:l,backgroundDesktop:o,backgroundDesktop2x:n})=>(0,r.jsx)("section",{className:"HeroSection-module__hero--hCLgS",style:{"--background-mobile":`url("${s}")`,"--background-mobile-2x":`url("${l}")`,"--background-desktop":`url("${o}")`,"--background-desktop-2x":`url("${n}")`},children:(0,r.jsx)("div",{className:"HeroSection-module__heroContainer--Aj0Oe",children:(0,r.jsxs)("div",{className:"HeroSection-module__slogan--bEt7e",children:[e&&(0,r.jsx)("div",{className:(0,c.L)(p,"HeroSection-module__sloganYellow--MEBiO"),dangerouslySetInnerHTML:{__html:e}}),a&&(0,r.jsx)("div",{className:(0,c.L)(p,"HeroSection-module__sloganWhite--oCzY0"),dangerouslySetInnerHTML:{__html:a}}),t&&(0,r.jsx)(x,{className:"HeroSection-module__heroLogo--xzC8c"})]})})});var f=l(670);const g=({title:e,subtitle:a,hotels:t,fluidMode:s})=>(0,r.jsxs)("section",{className:"HotelsSection-module__hotels--UKwxE",children:[(0,r.jsxs)("header",{className:"HotelsSection-module__hotelsHeader--N4rBW",children:[e&&(0,r.jsx)("h2",{className:"HotelsSection-module__hotelsTitle--lhOLZ",children:e}),a&&(0,r.jsx)("p",{className:"HotelsSection-module__hotelsSubtitle--weTKC",children:a})]}),(0,r.jsx)("ul",{className:"HotelsSection-module__hotelsList--U1OLv",children:t.map(e=>(0,r.jsx)("li",{children:(0,r.jsx)(f.A,{className:"HotelsSection-module__hotelCard--FLAea",name:e.name,location:`${e.location}`,stars:e.stars,image:e.image,dates:e.dates,discountText:e.discountText,url:e.url,fluidMode:s})},e.name))})]}),v=({className:e="",heroYellowText:a,heroWhiteText:t,hotelsTitle:s,hotelsSubtitle:l,hotels:o,backgroundMobile:n,backgroundMobile2x:m,backgroundDesktop:h,backgroundDesktop2x:x,heroLogo:p=!0,fluidMode:f,onLoginClick:v,onRegisterClick:b})=>{const j=(0,i.u)(f);return(0,r.jsxs)("div",{className:(0,c.L)("HotelsLanding-module__root--JnV8j",j,e),children:[(0,r.jsx)(u.A,{onLoginClick:v,onRegisterClick:b,fluidMode:f}),(0,r.jsxs)("main",{children:[(0,r.jsx)(_,{yellowText:a,whiteText:t,showLogo:p,backgroundMobile:n,backgroundMobile2x:m,backgroundDesktop:h,backgroundDesktop2x:x}),(0,r.jsx)(g,{title:s,subtitle:l,hotels:o,fluidMode:f})]}),(0,r.jsx)(d.A,{})]})};export{v as default};
|
|
1
|
+
import*as e from"react/jsx-runtime";import*as a from"react";var t={39:(e,a,t)=>{t.d(a,{L:()=>s});const s=(...e)=>e.filter(Boolean).join(" ")},93:(e,a,t)=>{t.d(a,{A:()=>r});var s=t(178),l=t(130),o=t(39),n=t(670);const r=({title:e,subtitle:a,hotels:t,fluidMode:r})=>{const i=(0,l.u)(r);return(0,s.jsxs)("section",{className:(0,o.L)("HotelsSection-module__hotels--hGJyx",i),children:[e||a?(0,s.jsxs)("header",{className:"HotelsSection-module__hotelsHeader--l_Qr5",children:[e&&(0,s.jsx)("h2",{className:"HotelsSection-module__hotelsTitle--zeGAj",children:e}),a&&(0,s.jsx)("p",{className:"HotelsSection-module__hotelsSubtitle--EAJhs",children:a})]}):null,(0,s.jsx)("ul",{className:"HotelsSection-module__hotelsList--jWxYc",children:t.map(e=>(0,s.jsx)("li",{children:(0,s.jsx)(n.A,{className:"HotelsSection-module__hotelCard--aCwpN",name:e.name,location:e.location,stars:e.stars,image:e.image,dates:e.dates,discountText:e.discountText,url:e.url,fluidMode:r})},e.name))})]})}},94:(e,a,t)=>{t.d(a,{A:()=>N});var s,l=t(178),o=t(268),n=t(130),r=t(39),i=t(649);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var s in t)({}).hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},c.apply(null,arguments)}const d=e=>i.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",width:28,height:28,fill:"none"},e),s||(s=i.createElement("path",{fill:"#8C1EFF",d:"M.32 9.41h28v2h-28zM.32 17.41h28v2h-28z"})));var u,m;function h(){return h=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var s in t)({}).hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},h.apply(null,arguments)}const x=e=>i.createElement("svg",h({xmlns:"http://www.w3.org/2000/svg",width:28,height:28,fill:"none"},e),u||(u=i.createElement("path",{fill:"#8C1EFF",d:"m4.807 3.394 19.799 19.799-1.414 1.414-19.8-19.8z"})),m||(m=i.createElement("path",{fill:"#8C1EFF",d:"m3.393 23.193 19.799-19.8 1.414 1.415L4.807 24.607z"})));var p,_,f;function g(){return g=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var s in t)({}).hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},g.apply(null,arguments)}const v={root:"Header-module__root--MyGKu",header:"Header-module__header--Ie2CT",hidden:"Header-module__hidden--gobBG",compactHeader:"Header-module__compactHeader--LsvY9",visible:"Header-module__visible--ococB",light:"Header-module__light--e8MFJ",dark:"Header-module__dark--mJEmI",yellow:"Header-module__yellow--W7Vw1",leftContainer:"Header-module__leftContainer--T8NI2",rightContainer:"Header-module__rightContainer--ZvsQ0",navList:"Header-module__navList--ikTYl",menuLink:"Header-module__menuLink--yDAEH",menuLinkText:"Header-module__menuLinkText--MV8k7",subMenuOpener:"Header-module__subMenuOpener--7Gf68",subMenuOpenerActive:"Header-module__subMenuOpenerActive--hM0jl",subNavList:"Header-module__subNavList--opWlU",subNavListOpened:"Header-module__subNavListOpened--mebR2",burgerMenuContainer:"Header-module__burgerMenuContainer--GmhQc",burgerMenuButton:"Header-module__burgerMenuButton--sm0Lo",burgerMenu:"Header-module__burgerMenu--SUEsD",logo:"Header-module__logo--V8O4g",burgerButtons:"Header-module__burgerButtons--gDROa",separator:"Header-module__separator--lw7LB"},b="burger-menu",j="sub-menu",w=(0,l.jsx)("a",{href:"https://www.ratehawk.com/",target:"_blank",rel:"noreferrer",children:(0,l.jsx)(e=>i.createElement("svg",g({xmlns:"http://www.w3.org/2000/svg",height:61,fill:"none",viewBox:"0 0 202 61"},e),p||(p=i.createElement("path",{fill:"var(--general-color)",d:"m162.762 38.47-2.883-18.28h-7.867l-3.517 22.29h4.857l.026-.178.187-1.397.325-2.435h4.113l.517 3.877.018.134h4.857l-.111-.708zm-8.306-4.16 1.489-10.848 1.49 10.848zM179.455 38.5l-1.997-18.31h-6.079l-1.876 18.34-1.431-18.34h-4.618l2.414 22.29h6.854l1.757-18.336 1.848 18.337h6.764l2.413-22.29h-4.62zM196.7 30.654l4.41-10.463h-5.274l-3.693 10.611V20.191h-5.007v22.29h5.007V31.842l3.635 10.639h5.542zM81.256 30.253q1.028-1.324 1.028-3.402v-.861q0-1.9-.848-3.18-.85-1.279-2.338-1.947-1.491-.67-3.398-.67h-7.45v22.29h5.006V31.517l4.022 10.966h5.571L78.53 32.17q1.701-.598 2.727-1.918m-3.978-2.99q-.001 1.488-.611 2.141-.612.655-1.654.655h-1.757v-3.654a2.055 2.055 0 0 0-2.058-2.052h3.8149999999999995q1.042 0 1.654.549.61.55.61 1.946zM94.679 20.19h-7.867L83.93 38.47l-.634 4.01h4.858l.535-4.01h4.113l.535 4.01h4.857l-.633-4.01zm-5.423 14.12 1.49-10.848 1.49 10.848zM97.752 24.502h3.633V42.48h5.067V24.5h3.635v-4.31H97.752zM111.871 24.502V42.48h11.144v-4.309h-6.138v-4.905h6.138V28.96h-6.138v-4.457h6.138V20.19h-11.144zM141.791 28.87h-4.469v-8.68h-5.064v22.288h5.064v-7.216a2.055 2.055 0 0 0-2.057-2.053h6.526v9.272h5.064V20.19h-5.064z"})),_||(_=i.createElement("path",{fill:"var(--logo-accent-color)",d:"M56.213 18.304 38.056 7.849 25.143.41l3.572 4.999c.833 1.165-.43 2.679-1.732 2.07L15.695 2.197l22.36 17.418s8.481 6.433 11.26 8.735c.493.408.829.974.95 1.604l.868 4.557c.9 4.284-.762 5.893-2.368 6.857l-1.981 1.184.31-2.425c.124-.932-.076-1.3-.636-1.637l-4.84-2.697a2.3 2.3 0 0 0-.901-.297C37.487 35.054.32 29.801.32 29.801l17.228 5.767c1.359.455 1.23 2.412-.176 2.686l-5.264 1.033 24.024 13.89a4.2 4.2 0 0 0 4.186.004c4.062-2.331 12.88-7.393 15.88-9.123a4.18 4.18 0 0 0 2.093-3.603c.018-5.504.018-18.533.018-18.533a4.17 4.17 0 0 0-2.096-3.618"})),f||(f=i.createElement("path",{fill:"var(--logo-accent-color)",d:"M44.752 32.185a1.54 1.54 0 0 0 2.022.8c.553-.238.886-.765.917-1.326l-6.62-3.918s-.065.377.144.576c.22.21 2.583 2.181 3.464 2.916-.076.308-.06.64.073.952"}))),{className:v.logo})}),N=({theme:e="dark",className:a="",menu:t,subMenu:s,extraRightContent:c,fluidMode:u,zIndex:m=1,onLoginClick:h,onRegisterClick:p})=>{const _=(0,n.u)(u),f=v[e],g=s&&s.length>0,[N,y]=(0,i.useState)(!1),[C,M]=(0,i.useState)(!1),[L,H]=(0,i.useState)(!1),[T,E]=(0,i.useState)(!1),F=(0,i.useRef)(null),B=(0,i.useRef)(null),S=t?.map(k)||[];let A=S;if(g){const e=s?.map(k)||[];A=[...S,(0,l.jsxs)("li",{children:[(0,l.jsx)("button",{type:"button",onClick:()=>H(!L),className:(0,r.L)(v.menuLink,_,v.subMenuOpener,j,L?v.subMenuOpenerActive:""),children:(0,l.jsx)("span",{className:v.menuLinkText,children:"More"})}),(0,l.jsx)("ul",{className:(0,r.L)(v.subNavList,L?v.subNavListOpened:"",j),children:e})]},"submenu")],S.push(...e)}const O=(0,i.useCallback)((()=>{let e=!1;return(...a)=>{e||((()=>{if(!F.current||!B.current)return;const e=B.current.getBoundingClientRect().right,a=F.current.getBoundingClientRect().left-e<20;y(a),E(!0),a?H(!1):M(!1)})(...a),e=!0,setTimeout(()=>{e=!1},100))}})(),[]),I=(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(o.A,{theme:"secondary",variant:"dark"===e?"white":"black",url:"https://www.ratehawk.com/accounts/login/?lang=en&ref=rh_sign_in",onClick:h,children:"Sign in"}),(0,l.jsx)(o.A,{url:"https://www.ratehawk.com/registration/?lang=en&ref=rh_register",onClick:p,children:"Register"})]}),z=(0,i.useCallback)(e=>{if(!(e.target instanceof HTMLElement))return;const a=e.target.closest(`.${b}`),t=e.target.closest(`.${j}`);a||M(!1),t||H(!1)},[]);return(0,i.useEffect)(()=>(window.addEventListener("resize",O),window.addEventListener("click",z),O(),()=>{window.removeEventListener("resize",O),window.removeEventListener("click",z)}),[O,z]),(0,l.jsxs)("div",{className:(0,r.L)(v.root,a,f,_),style:{zIndex:m},children:[(0,l.jsxs)("div",{className:(0,r.L)(v.header,v.wideHeader,N?v.hidden:""),children:[(0,l.jsxs)("div",{className:v.leftContainer,ref:B,children:[w,(0,l.jsx)("nav",{className:v.navMenu,children:(0,l.jsx)("ul",{className:v.navList,children:A})})]}),(0,l.jsxs)("div",{className:(0,r.L)(v.rightContainer,!T&&v.hidden),ref:F,children:[c,I]})]}),(0,l.jsxs)("div",{className:(0,r.L)(v.header,v.compactHeader,N?v.visible:""),children:[(0,l.jsx)("div",{className:v.leftContainer,children:w}),(0,l.jsxs)("div",{className:v.rightContainer,children:[c,(0,l.jsx)("div",{className:v.burgerMenuContainer,children:(0,l.jsx)("button",{className:v.burgerMenuButton,onClick:()=>M(!C),type:"button",children:C?(0,l.jsx)(x,{}):(0,l.jsx)(d,{})})})]}),C&&(0,l.jsxs)("div",{className:(0,r.L)(v.burgerMenu,b),children:[S.length?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("nav",{className:v.navMenu,children:(0,l.jsx)("ul",{className:v.navList,children:S})}),(0,l.jsx)("div",{className:v.separator})]}):null,(0,l.jsx)("div",{className:v.burgerButtons,children:I})]})]})]})};function k(e){const a=e.url?"a":"button",t=e.url?{target:"_blank",href:e.url}:{type:"button"};return(0,l.jsx)("li",{children:(0,l.jsx)(a,{className:v.menuLink,onClick:e.onClick,...t,children:(0,l.jsx)("span",{className:v.menuLinkText,children:e.title})})},e.title)}},110:(e,a,t)=>{t.d(a,{A:()=>m});var s,l,o=t(178),n=t(130),r=t(39),i=t(649);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var s in t)({}).hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},c.apply(null,arguments)}const d=e=>i.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 98 91"},e),s||(s=i.createElement("path",{fill:"#FEDD00",d:"M94.277 30.26 63.65 12.58 41.87 0l6.025 8.453c1.406 1.972-.724 4.53-2.921 3.5l-19.04-8.93L63.65 32.48s14.304 10.88 18.993 14.772a4.67 4.67 0 0 1 1.601 2.713l1.465 7.708c1.516 7.243-1.286 9.964-3.995 11.595l-3.342 2.002.523-4.101c.21-1.576-.127-2.198-1.073-2.768l-8.163-4.56c-.468-.282-.98-.431-1.52-.503C62.692 58.587 0 49.704 0 49.704l29.06 9.752c2.29.77 2.073 4.08-.299 4.544l-8.878 1.746 40.523 23.489a7.07 7.07 0 0 0 7.06.008C74.318 85.3 89.192 76.741 94.25 73.815a7.07 7.07 0 0 0 3.53-6.094c.03-9.309.03-31.342.03-31.342a7.06 7.06 0 0 0-3.534-6.119"})),l||(l=i.createElement("path",{fill:"#FEDD00",d:"M74.944 53.737a2.594 2.594 0 0 0 3.41 1.354 2.59 2.59 0 0 0 1.547-2.244L68.735 46.22s-.11.639.243.975c.37.353 4.356 3.688 5.842 4.931a2.54 2.54 0 0 0 .124 1.61"}))),u="HeroSection-module__sloganText--_hwUn",m=({yellowText:e,whiteText:a,showLogo:t=!0,backgroundMobile:s,backgroundMobile2x:l,backgroundDesktop:i,backgroundDesktop2x:c,fluidMode:m})=>{const h=(0,n.u)(m);return(0,o.jsx)("section",{className:(0,r.L)("HeroSection-module__hero--lpuv4",h),style:{"--background-mobile":`url("${s}")`,"--background-mobile-2x":`url("${l}")`,"--background-desktop":`url("${i}")`,"--background-desktop-2x":`url("${c}")`},children:(0,o.jsx)("div",{className:"HeroSection-module__heroContainer--brVZ4",children:(0,o.jsxs)("div",{className:"HeroSection-module__slogan--rRTe6",children:[e&&(0,o.jsx)("div",{className:(0,r.L)(u,"HeroSection-module__sloganYellow--lIwpd"),dangerouslySetInnerHTML:{__html:e}}),a&&(0,o.jsx)("div",{className:(0,r.L)(u,"HeroSection-module__sloganWhite--SWr8l"),dangerouslySetInnerHTML:{__html:a}}),t&&(0,o.jsx)(d,{className:"HeroSection-module__heroLogo--t3ggG"})]})})})}},130:(e,a,t)=>{t.d(a,{N:()=>l,u:()=>o}),t(178);var s=t(992);const l=({children:e,fluidMode:a=!1})=>{fluidModeState.state=a;const t=`\n @font-face {\n font-family: 'Aeonik';\n src: url('https://of.worldota.net/fonts/aeonik/Aeonik-Bold.woff2') format('woff2');\n font-weight: 900;\n font-style: normal;\n font-display: swap;\n }\n\n @font-face {\n font-family: 'Aeonik';\n src: url('https://of.worldota.net/fonts/aeonik/Aeonik-Regular.woff2') format('woff2');\n font-weight: 400;\n font-style: normal;\n font-display: swap;\n }\n\n @font-face {\n font-family: 'ABCGravity';\n src: url('https://of.worldota.net/fonts/ABCGravity/ABCGravity.woff2') format('woff2');\n font-weight: 900;\n font-style: normal;\n font-display: swap;\n }\n \n ${a?fluidLayoutCss:staticLayoutCss};\n `;return _jsxs(_Fragment,{children:[_jsx("style",{dangerouslySetInnerHTML:{__html:t}}),e]})},o=e=>("boolean"==typeof e?e:s.b.state)?"layout-module__fluidLayout--BNE04":"layout-module__staticLayout--x_6dR"},178:(a,t,s)=>{var l,o;a.exports=(l={Fragment:()=>e.Fragment,jsx:()=>e.jsx,jsxs:()=>e.jsxs},o={},s.d(o,l),o)},268:(e,a,t)=>{t.d(a,{A:()=>r});var s=t(178),l=t(130),o=t(39);const n={text:"Button-module__text--holIg",root:"Button-module__root--Knp7O",hidden:"Button-module__hidden--Q6Ztq",s:"Button-module__s--o9reb",m:"Button-module__m--ZGRqJ",withMediaDimension:"Button-module__withMediaDimension--Z_A5M",primary:"Button-module__primary--V9FFQ",purple:"Button-module__purple--biF8d",black:"Button-module__black--Iz790",secondary:"Button-module__secondary--_9J0r",white:"Button-module__white--l3jcr",isLoading:"Button-module__isLoading--u5f2m",spinner:"Button-module__spinner--Zj28d",spin:"Button-module__spin--lWtk7"},r=({className:e,children:a,dimension:t="s",theme:r="primary",onClick:i,disabled:c=!1,type:d="button",variant:u="purple",url:m,isLoading:h,enableMediaDimension:x=!0,fluidMode:p})=>{const _=n[t]||"",f=n[r]||"",g=n[u],v=(0,l.u)(p),b=x?n.withMediaDimension:"",j=m?"a":"button",w=m?{target:"_blank",href:m}:{type:d},N=h?n.isLoading:"";return(0,s.jsxs)(j,{...w,onClick:i,className:(0,o.L)(n.root,e,v,_,f,N,g,b),disabled:c,children:[h?(0,s.jsx)("span",{className:n.spinner}):null,(0,s.jsx)("span",{className:(0,o.L)(n.text,h?n.hidden:null),children:a})]})}},374:(e,a,t)=>{t.d(a,{A:()=>L});var s,l=t(178),o=t(268),n=t(130),r=t(39),i=t(649);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var s in t)({}).hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},c.apply(null,arguments)}const d=e=>i.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",width:31,height:31,fill:"none"},e),s||(s=i.createElement("path",{stroke:"#fff",strokeWidth:2,d:"M15.207 29.967c-7.732 0-14-6.268-14-14s6.268-14 14-14 14 6.268 14 14-6.268 14-14 14Zm0 0v-16a4 4 0 0 1 4-4h1m-10 8h10"})));var u;function m(){return m=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var s in t)({}).hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},m.apply(null,arguments)}const h=e=>i.createElement("svg",m({xmlns:"http://www.w3.org/2000/svg",width:31,height:31,fill:"none"},e),u||(u=i.createElement("path",{stroke:"#fff",strokeWidth:2,d:"M9.54 12.967v10m12 0v-5a4 4 0 1 0-8 0v5-10m-5-3h2m-7-8h24a2 2 0 0 1 2 2v24a2 2 0 0 1-2 2h-24a2 2 0 0 1-2-2v-24a2 2 0 0 1 2-2Z"}))),x=/^([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x22([^\x0d\x22\x5c\x80-\xff]|\x5c[\x00-\x7f])*\x22)(\x2e([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x22([^\x0d\x22\x5c\x80-\xff]|\x5c[\x00-\x7f])*\x22))*\x40([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x5b([^\x0d\x5b-\x5d\x80-\xff]|\x5c[\x00-\x7f])*\x5d)(\x2e([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x5b([^\x0d\x5b-\x5d\x80-\xff]|\x5c[\x00-\x7f])*\x5d))*$/;var p;function _(){return _=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var s in t)({}).hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},_.apply(null,arguments)}const f=e=>i.createElement("svg",_({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,stroke:"currentColor",strokeWidth:1.5},e),p||(p=i.createElement("path",{d:"m4 4 16 16m0-16L4 20"}))),g="ContactModal-module__field--c99HI",v="ContactModal-module__inputWrapper--e2l3N",b="ContactModal-module__inputWrapperError--s_bqB",j="ContactModal-module__input--wuaB7",w="ContactModal-module__error--jso6D",N=({isOpen:e,onClose:a,fluidMode:t})=>{const s=(0,n.u)(t),[c,d]=(0,i.useState)({firstName:"",phone:"",email:"",companyName:"",message:""}),[u,m]=(0,i.useState)(!1),[h,p]=(0,i.useState)(!1),[_,N]=(0,i.useState)({}),k=(0,i.useCallback)(()=>{const e={};return c.firstName.trim()||(e.firstName="First Name is required"),c.phone.trim()?c.phone.replace(/\D/g,"").length>=7||(e.phone="Phone must contain at least 7 digits"):e.phone="Phone is required",c.email.trim()?function(e){return x.test(e)}(c.email)||(e.email="Please enter a valid email"):e.email="Email is required",c.companyName.trim()||(e.companyName="Company Name is required"),N(e),0===Object.keys(e).length},[c]),y=(0,i.useCallback)(async e=>{if(e.preventDefault(),k()){m(!0);try{const e={brand:"ratehawk",cooperation_type:"api",kind:"b2b",white_label_slug:"ratehawk",email:c.email,message:c.message,company_name:c.companyName,name:c.firstName,phone:c.phone};if(!(await fetch("https://www.ratehawk.com/partner/user_area/v1/anonymous/contact_us/",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})).ok)throw new Error("Failed to submit form");p(!0)}catch(e){console.error("Form submission error:",e)}finally{m(!1)}}},[c,k]),C=(0,i.useCallback)(e=>a=>{d(t=>({...t,[e]:a.target.value})),_[e]&&N(a=>({...a,[e]:void 0}))},[_]),M=(0,i.useCallback)(()=>{d({firstName:"",phone:"",email:"",companyName:"",message:""}),N({}),p(!1),a()},[a]);return e?(0,l.jsx)("div",{className:(0,r.L)("ContactModal-module__overlay--ti1yT",s),onClick:M,children:(0,l.jsxs)("div",{className:"ContactModal-module__modal--Xzwl2",onClick:e=>e.stopPropagation(),children:[(0,l.jsx)("button",{className:(0,r.L)("ContactModal-module__closeButton--qvADd",s),onClick:M,type:"button",children:(0,l.jsx)(f,{})}),h?(0,l.jsxs)("div",{className:"ContactModal-module__successMessage--Nyhi4",children:[(0,l.jsx)("h2",{className:"ContactModal-module__successTitle--dVn02",children:"Successfully accepted"}),(0,l.jsx)("p",{className:"ContactModal-module__successText--KJznx",children:"Your application has flown to our caring specialists! We will contact you soon"})]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("h2",{className:"ContactModal-module__title--XrI8J",children:(0,l.jsx)("span",{className:"ContactModal-module__titleText--HH4uj",children:"Cooperation"})}),(0,l.jsx)("p",{className:"ContactModal-module__subtitle--dS9UA",children:"Drop us a line and we will get back to you as soon as possible!"}),(0,l.jsxs)("form",{className:"ContactModal-module__form--XuQzj",onSubmit:y,children:[(0,l.jsxs)("div",{className:g,children:[(0,l.jsx)("label",{className:`${v} ${_.firstName?b:""}`,children:(0,l.jsx)("input",{type:"text",className:j,value:c.firstName,onChange:C("firstName"),placeholder:"First Name *"})}),_.firstName&&(0,l.jsx)("span",{className:w,children:_.firstName})]}),(0,l.jsxs)("div",{className:g,children:[(0,l.jsx)("label",{className:`${v} ${_.phone?b:""}`,children:(0,l.jsx)("input",{type:"tel",className:j,value:c.phone,onChange:C("phone"),placeholder:"Phone *"})}),_.phone&&(0,l.jsx)("span",{className:w,children:_.phone})]}),(0,l.jsxs)("div",{className:g,children:[(0,l.jsx)("label",{className:`${v} ${_.email?b:""}`,children:(0,l.jsx)("input",{type:"email",className:j,value:c.email,onChange:C("email"),placeholder:"Email Address *"})}),_.email&&(0,l.jsx)("span",{className:w,children:_.email})]}),(0,l.jsxs)("div",{className:g,children:[(0,l.jsx)("label",{className:`${v} ${_.companyName?b:""}`,children:(0,l.jsx)("input",{type:"text",className:j,value:c.companyName,onChange:C("companyName"),placeholder:"Company Name *"})}),_.companyName&&(0,l.jsx)("span",{className:w,children:_.companyName})]}),(0,l.jsx)("div",{className:g,children:(0,l.jsx)("label",{className:"ContactModal-module__textareaWrapper--rSQEQ",children:(0,l.jsx)("textarea",{className:"ContactModal-module__textarea--i19oy",value:c.message,onChange:C("message"),placeholder:"Message",rows:4})})}),(0,l.jsx)(o.A,{type:"submit",theme:"primary",variant:"white",disabled:u,className:"ContactModal-module__submitButton--qbQOa",children:u?"Sending...":"Send"})]})]})]})}):null},k="Footer-module__footerLink--ipb6W",y="Footer-module__footerLegalText--xlXoo",C="Footer-module__footerParagraphSection--rin95",M=[{title:"For marketing and PR",text:"We regularly run promotions, campaigns, and partner events to engage and incentivize our clients with special offers. If you interested in such partnership please contact us at {{link}}.",link:"pr@emergingtravel.com",button:{text:"Cooperate",action:"form"},cssClass:"Footer-module__marketingBlock--DnIGu"},{title:"For affiliates partnerships",text:"Integrate our solution to make it easy and profitable to book hotels through your website or online service. Integrate quickly and reliably with our system. Still have questions? Contact us at {{link}}.",link:"affiliate@emergingtravel.com",button:{text:"Learn more",url:"https://www.ratehawk.com/lp/en-us/travel-related-websites/"},cssClass:"Footer-module__affiliatesBlock--jVQ0L"},{title:"For suppliers",text:"As official partners of the world's largest OTA, wholesalers, consolidators, and DMCs, we invite you to enhance your sales and grow your business together. Contact us at {{link}}.",link:"tpp@emergingtravel.com",button:{text:"Cooperate",action:"form"},cssClass:"Footer-module__suppliersBlock--yrn9l"},{title:"For hotels",text:"Become our partner to increase your direct sales and the popularity of your accommodation options. \u2028For partnership inquiries, please contact us at {{link}}.",link:"hotels@emergingtravel.com",button:{text:"Learn more",url:"https://www.ratehawk.com/lp/en-us/travel-related-websites/"},cssClass:"Footer-module__hotelsBlock--uGUyj"},{title:"For technology providers",text:"If you are a mid-office or platform interested in integrating with RateHawk to develop your business, please contact us at {{link}}.",link:"api@ratehawk.com",button:{text:"Cooperate",action:"form"},cssClass:"Footer-module__providersBlock--Zmk8W"}],L=({className:e="",fluidMode:a})=>{const[t,s]=(0,i.useState)(!1),c=(0,n.u)(a),u=(0,i.useCallback)(()=>{s(!0)},[]),m=(0,i.useCallback)(()=>{s(!1)},[]);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("footer",{className:(0,r.L)("Footer-module__root--T9ly6",e,c),children:[(0,l.jsxs)("div",{className:"Footer-module__header--hy1ME",children:[(0,l.jsx)("p",{className:"Footer-module__title--OX7d9",children:"Partnership"}),(0,l.jsx)("p",{className:"Footer-module__subTitle--EmP0b",children:"Cooperate and grow together with RateHawk"})]}),(0,l.jsx)("ul",{className:"Footer-module__advantages--z7ASK",children:M.map(e=>(0,l.jsxs)("li",{className:(0,r.L)("Footer-module__advantageItem--EcCx_",e.cssClass),children:[(0,l.jsxs)("div",{className:"Footer-module__advantageInfo--Ilud0",children:[(0,l.jsx)("h6",{className:"Footer-module__advantageTitle--spnaR",children:(0,l.jsx)("span",{className:"Footer-module__advantageTitleText--cMrU_",children:e.title})}),(0,l.jsx)("p",{className:"Footer-module__advantageText--BHbmo",dangerouslySetInnerHTML:{__html:e.text.replace("{{link}}",`<a class="Footer-module__advantageLink--bcoK8" href="mailto:${e.link}">${e.link}</a>`)}})]}),(0,l.jsx)(o.A,{theme:"secondary",variant:"white",...e.button.url?{url:e.button.url}:{onClick:u},children:e.button.text})]},e.title))}),(0,l.jsxs)("div",{className:"Footer-module__footerBottom--u_o7y",children:[(0,l.jsxs)("div",{className:"Footer-module__footerLeft--nnkZo",children:[(0,l.jsxs)("div",{className:"Footer-module__social--H1Yw4",children:[(0,l.jsx)("a",{href:"https://www.facebook.com/ratehawk",target:"_blank",rel:"noopener noreferrer",children:(0,l.jsx)(d,{})}),(0,l.jsx)("a",{href:"https://www.linkedin.com/company/ratehawk-com/",target:"_blank",rel:"noopener noreferrer",children:(0,l.jsx)(h,{})})]}),(0,l.jsxs)("ul",{className:"Footer-module__footerLinks--R9Hnr",children:[(0,l.jsx)("li",{children:(0,l.jsx)("a",{href:"https://www.ratehawk.com/lp/en-us/career",target:"_blank",rel:"noopener noreferrer",className:k,children:"Careers"})}),(0,l.jsx)("li",{children:(0,l.jsx)("a",{href:"https://blog.ratehawk.com/",target:"_blank",rel:"noopener noreferrer",className:k,children:"Blog"})})]})]}),(0,l.jsxs)("div",{className:"Footer-module__footerLegal--jAGGe",children:[(0,l.jsxs)("div",{className:C,children:[(0,l.jsx)("p",{className:y,children:"Leaside Services Limited, reg.no HE342401, Business Address: 17 Karaiskaki Street, Office 22, Agaia Triada, Limassol, Cyprus, 3032 Emerging Travel Inc., reg.no 4869611, Business Address: 1000 N West Street, Suite 1200, Wilmington, DE 19801 USA EMERGING TRAVEL UK LIMITED, Company number 12185384, Business Address: 19 Eastbourne Terrace, Office 3.01, Paddington, London, W2 6LG, UK"}),(0,l.jsx)("p",{className:y,children:"Emerging Travel Germany ETG GmbH, HRB 213546, Business Address: Friedrichstraße 171, 10117 Berlin, Germany"}),(0,l.jsx)("p",{className:y,children:"Emerging Travel Kazakhstan LLP, BIN 191240026456, Business address: Office SP2-18, 280 Baizakova Street, Bostandykskiy district, 050040, Almaty, Republic of Kazakhstan"}),(0,l.jsx)("p",{className:y,children:"Smart Middle East Travel Agency L.L.C, Reg.no: 1803677, Business address: Al Rigga - Office No. 202-201-221, Insurance Building, Dubai, UAE"}),(0,l.jsx)("p",{className:y,children:"Emerging Travel Asia PTE. LTD, Reg.no: 201927854K, TA license: TA03682, Business address: 300 Tampines Avenue 5 #09-02, Tampines Junction Singapore 529653"})]}),(0,l.jsx)("div",{className:C,children:(0,l.jsx)("p",{className:y,children:(0,l.jsx)("a",{href:"https://www.ratehawk.com/legal/site/privacy-policy/",target:"_blank",rel:"noopener noreferrer",children:"Personal data processing and storage policy"})})}),(0,l.jsx)("div",{className:C,children:(0,l.jsx)("p",{className:y,children:"Digital Services Act"})}),(0,l.jsx)("div",{className:C,children:(0,l.jsx)("p",{className:y,children:"Ratehawk is a registered service mark in the European Union"})})]})]})]}),(0,l.jsx)(N,{isOpen:t,onClose:m,fluidMode:a})]})}},649:(e,t,s)=>{var l,o;e.exports=(l={createElement:()=>a.createElement,useCallback:()=>a.useCallback,useEffect:()=>a.useEffect,useRef:()=>a.useRef,useState:()=>a.useState},o={},s.d(o,l),o)},670:(e,a,t)=>{t.d(a,{A:()=>r});var s=t(178),l=t(130),o=t(39);const n={root:"HotelCard-module__root--popq0",rootFixed:"HotelCard-module__rootFixed--TvjpT",clickable:"HotelCard-module__clickable--mp25I",imageContainer:"HotelCard-module__imageContainer--FZfWz",image:"HotelCard-module__image--fREMp",discount:"HotelCard-module__discount--G2sau",discountText:"HotelCard-module__discountText--hH9Sf",content:"HotelCard-module__content--IA_3z",stars:"HotelCard-module__stars--jTODO",starFilled:"HotelCard-module__starFilled--Ps4vk",starEmpty:"HotelCard-module__starEmpty--FBbdo",title:"HotelCard-module__title--BOmwo",location:"HotelCard-module__location--uglfh",dates:"HotelCard-module__dates--mhAjB",priceInfoWrapper:"HotelCard-module__priceInfoWrapper--fplFE",priceInfo:"HotelCard-module__priceInfo--qLmoQ",bookNowText:"HotelCard-module__bookNowText--pgznJ",mainPriceText:"HotelCard-module__mainPriceText--wIEbi",infoPriceText:"HotelCard-module__infoPriceText--GSy_s"},r=({className:e="",name:a,location:t,stars:r,image:i,dates:c,discountText:d,onClick:u,url:m,width:h="auto",price:x,fluidMode:p})=>{const _=(0,l.u)(p),f=m?"a":"div",g=m?{href:m,target:"_blank",rel:"noopener noreferrer"}:{};return(0,s.jsxs)(f,{className:(0,o.L)(n.root,_,"fixed"===h&&n.rootFixed,e,m&&n.clickable),onClick:u,...g,children:[(0,s.jsxs)("div",{className:n.imageContainer,children:[(0,s.jsx)("img",{src:i,alt:a,className:n.image}),d?(0,s.jsx)("div",{className:n.discount,children:(0,s.jsx)("span",{className:n.discountText,dangerouslySetInnerHTML:{__html:d}})}):null]}),(0,s.jsxs)("div",{className:n.content,children:[(()=>{if(!r)return null;const e=[];for(let t=0;t<5;t++)e.push((0,s.jsx)("div",{className:t<r?n.starFilled:n.starEmpty},`star-${a}-${t}`));return(0,s.jsx)("div",{className:n.stars,children:e})})(),(0,s.jsx)("h3",{className:n.title,children:a}),t&&(0,s.jsx)("p",{className:n.location,children:t}),c&&(0,s.jsxs)("p",{className:n.dates,children:["Travel Dates: ",c]}),(0,s.jsx)("div",{className:n.priceInfoWrapper,children:(0,s.jsx)("div",{className:n.priceInfo,children:x?(0,s.jsxs)("div",{className:n.priceText,children:[(0,s.jsxs)("div",{className:n.mainPriceText,children:["From ",(0,s.jsx)("strong",{children:x})]}),(0,s.jsx)("div",{className:n.infoPriceText,children:(0,s.jsx)("span",{children:"For 1 night and 2 guests"})})]}):(0,s.jsx)("div",{className:n.bookNowText,children:"Book now"})})})]})]})}},992:(e,a,t)=>{t.d(a,{b:()=>s}),globalThis.__fluidModeState||(globalThis.__fluidModeState={state:!1});const s=globalThis.__fluidModeState}},s={};function l(e){var a=s[e];if(void 0!==a)return a.exports;var o=s[e]={exports:{}};return t[e](o,o.exports,l),o.exports}l.d=(e,a)=>{for(var t in a)l.o(a,t)&&!l.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:a[t]})},l.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a);var o=l(178),n=l(130),r=l(39),i=l(374),c=l(94),d=l(110);var u=l(93);const m=({className:e="",heroYellowText:a,heroWhiteText:t,hotelsTitle:s,hotelsSubtitle:l,hotels:m,backgroundMobile:h,backgroundMobile2x:x,backgroundDesktop:p,backgroundDesktop2x:_,heroLogo:f=!0,fluidMode:g,onLoginClick:v,onRegisterClick:b})=>{const j=(0,n.u)(g);return(0,o.jsxs)("div",{className:(0,r.L)("HotelsLanding-module__root--JnV8j",j,e),children:[(0,o.jsx)(c.A,{onLoginClick:v,onRegisterClick:b,fluidMode:g}),(0,o.jsxs)("main",{children:[(0,o.jsx)(d.A,{yellowText:a,whiteText:t,showLogo:f,backgroundMobile:h,backgroundMobile2x:x,backgroundDesktop:p,backgroundDesktop2x:_}),(0,o.jsx)(u.A,{title:s,subtitle:l,hotels:m,fluidMode:g})]}),(0,o.jsx)(i.A,{})]})};export{m as default};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
|
-
import { type HotelCardProps } from '
|
|
2
|
+
import { type HotelCardProps } from '../HotelCard/HotelCard';
|
|
3
3
|
export interface HotelsSectionProps {
|
|
4
|
-
title
|
|
5
|
-
subtitle
|
|
4
|
+
title?: string;
|
|
5
|
+
subtitle?: string;
|
|
6
6
|
hotels: HotelCardProps[];
|
|
7
7
|
fluidMode?: boolean;
|
|
8
8
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HotelsSection.d.ts","sourceRoot":"","sources":["../../../src/rh-components/HotelsSection/HotelsSection.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAkB,EAAE,KAAK,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAGxE,MAAM,WAAW,kBAAkB;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,cAAc,EAAE,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAoC/C,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
.layout-module__fluidLayout--BNE04[class] {
|
|
2
|
+
font-size: 1rem;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.layout-module__staticLayout--x_6dR[class] {
|
|
6
|
+
font-size: 1px;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.HotelCard-module__root--popq0 {
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
background: var(--card-bg, #ffffff);
|
|
13
|
+
border-radius: 0;
|
|
14
|
+
overflow: hidden;
|
|
15
|
+
max-width: 100%;
|
|
16
|
+
font-family: "Aeonik", sans-serif;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.HotelCard-module__rootFixed--TvjpT {
|
|
20
|
+
width: 440em;
|
|
21
|
+
max-width: 440em;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.HotelCard-module__clickable--mp25I {
|
|
25
|
+
cursor: pointer;
|
|
26
|
+
text-decoration: none;
|
|
27
|
+
color: inherit;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.HotelCard-module__imageContainer--FZfWz {
|
|
31
|
+
position: relative;
|
|
32
|
+
width: 100%;
|
|
33
|
+
height: 260em;
|
|
34
|
+
overflow: hidden;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.HotelCard-module__image--fREMp {
|
|
38
|
+
width: 100%;
|
|
39
|
+
height: 100%;
|
|
40
|
+
object-fit: cover;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.HotelCard-module__discount--G2sau {
|
|
44
|
+
position: absolute;
|
|
45
|
+
top: 0;
|
|
46
|
+
left: 0;
|
|
47
|
+
background: rgba(140, 30, 255, 1);
|
|
48
|
+
color: var(--discount-text, #ffffff);
|
|
49
|
+
width: 87em;
|
|
50
|
+
height: 77em;
|
|
51
|
+
box-sizing: border-box;
|
|
52
|
+
padding: 5em;
|
|
53
|
+
display: flex;
|
|
54
|
+
align-items: center;
|
|
55
|
+
justify-content: center;
|
|
56
|
+
font-weight: 700;
|
|
57
|
+
font-family: "Aeonik", sans-serif;
|
|
58
|
+
-webkit-font-smoothing: antialiased;
|
|
59
|
+
-moz-osx-font-smoothing: grayscale;
|
|
60
|
+
border-radius: 0;
|
|
61
|
+
letter-spacing: 0.01em;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.HotelCard-module__discountText--hH9Sf {
|
|
65
|
+
font-size: 21em;
|
|
66
|
+
line-height: 1.1;
|
|
67
|
+
text-align: center;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.HotelCard-module__content--IA_3z {
|
|
71
|
+
padding: 15em;
|
|
72
|
+
background: var(--card-bg, #ffffff);
|
|
73
|
+
display: flex;
|
|
74
|
+
flex-direction: column;
|
|
75
|
+
gap: 4em;
|
|
76
|
+
flex: 1;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.HotelCard-module__stars--jTODO {
|
|
80
|
+
display: flex;
|
|
81
|
+
gap: 1em;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.HotelCard-module__starFilled--Ps4vk,
|
|
85
|
+
.HotelCard-module__starEmpty--FBbdo {
|
|
86
|
+
width: 12em;
|
|
87
|
+
height: 12em;
|
|
88
|
+
display: flex;
|
|
89
|
+
align-items: center;
|
|
90
|
+
justify-content: center;
|
|
91
|
+
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCAxMCAxMCI+PHBhdGggZmlsbD0idXJsKCNhKSIgZD0iTTQuNjE1LjQ4MmEuNC40IDAgMCAxIC43MjYgMGwxLjEwMiAyLjM3MmEuNC40IDAgMCAwIC4zMTQuMjI4bDIuNTk3LjMxNWEuNC40IDAgMCAxIC4yMjQuNjlMNy42NjIgNS44NjhhLjQuNCAwIDAgMC0uMTIuMzdsLjUwMyAyLjU2N2EuNC40IDAgMCAxLS41ODcuNDI2TDUuMTczIDcuOTZhLjQuNCAwIDAgMC0uMzkgMEwyLjQ5OSA5LjIzYS40LjQgMCAwIDEtLjU4Ny0uNDI2bC41MDMtMi41NjdhLjQuNCAwIDAgMC0uMTItLjM3TC4zNzggNC4wODhhLjQuNCAwIDAgMSAuMjI0LS42OUwzLjIgMy4wODFhLjQuNCAwIDAgMCAuMzE1LS4yMjhMNC42MTUuNDgyWiIvPjxkZWZzPjxsaW5lYXJHcmFkaWVudCBpZD0iYSIgeDE9IjQuOTc4IiB4Mj0iNC45NzgiIHkxPSItLjMiIHkyPSIxMC43IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0ZGQUYwMCIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0YyOTAwNiIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjwvc3ZnPg==);
|
|
92
|
+
color: rgba(248, 159, 3, 1);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.HotelCard-module__starEmpty--FBbdo {
|
|
96
|
+
opacity: 0.3;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.HotelCard-module__title--BOmwo {
|
|
100
|
+
margin: 0;
|
|
101
|
+
font-size: 18em;
|
|
102
|
+
font-weight: 600;
|
|
103
|
+
color: #000;
|
|
104
|
+
line-height: 1.3;
|
|
105
|
+
white-space: nowrap;
|
|
106
|
+
overflow: hidden;
|
|
107
|
+
text-overflow: ellipsis;
|
|
108
|
+
font-family: "Aeonik", sans-serif;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.HotelCard-module__location--uglfh {
|
|
112
|
+
margin: 0;
|
|
113
|
+
color: rgba(105, 105, 105, 1);
|
|
114
|
+
font-size: 15em;
|
|
115
|
+
line-height: 1.3;
|
|
116
|
+
font-family: "Aeonik", sans-serif;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.HotelCard-module__dates--mhAjB {
|
|
120
|
+
margin: 0;
|
|
121
|
+
color: #000;
|
|
122
|
+
font-size: 18em;
|
|
123
|
+
line-height: 1.3;
|
|
124
|
+
letter-spacing: 0.01em;
|
|
125
|
+
font-family: "Aeonik", sans-serif;
|
|
126
|
+
flex: 1;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.HotelCard-module__priceInfoWrapper--fplFE {
|
|
130
|
+
margin-top: 11em;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.HotelCard-module__priceInfo--qLmoQ {
|
|
134
|
+
width: 100%;
|
|
135
|
+
background: rgba(140, 30, 255, 1);
|
|
136
|
+
font-family: "Aeonik", sans-serif;
|
|
137
|
+
color: rgba(255, 255, 255, 1);
|
|
138
|
+
padding: 14px 16px 16px;
|
|
139
|
+
box-sizing: border-box;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.HotelCard-module__bookNowText--pgznJ {
|
|
143
|
+
font-size: 14em;
|
|
144
|
+
text-transform: uppercase;
|
|
145
|
+
text-align: center;
|
|
146
|
+
font-weight: 700;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.HotelCard-module__mainPriceText--wIEbi {
|
|
150
|
+
font-size: 18em;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.HotelCard-module__infoPriceText--GSy_s {
|
|
154
|
+
font-size: 14em;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.HotelsSection-module__hotels--hGJyx {
|
|
158
|
+
max-width: 1392px;
|
|
159
|
+
margin-inline: auto;
|
|
160
|
+
padding-bottom: 60em;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
@media (min-width: 1152px) {
|
|
164
|
+
|
|
165
|
+
.HotelsSection-module__hotels--hGJyx {
|
|
166
|
+
padding-bottom: 100em;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.HotelsSection-module__hotelsHeader--l_Qr5 {
|
|
171
|
+
display: flex;
|
|
172
|
+
flex-direction: column;
|
|
173
|
+
gap: 16em;
|
|
174
|
+
padding: 45em 16em;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
@media (min-width: 500px) {
|
|
178
|
+
|
|
179
|
+
.HotelsSection-module__hotelsHeader--l_Qr5 {
|
|
180
|
+
gap: 22em;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
@media (min-width: 1152px) {
|
|
185
|
+
|
|
186
|
+
.HotelsSection-module__hotelsHeader--l_Qr5 {
|
|
187
|
+
gap: 28em;
|
|
188
|
+
padding-top: 80em;
|
|
189
|
+
padding-bottom: 80em;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.HotelsSection-module__hotelsTitle--zeGAj {
|
|
194
|
+
margin: 0;
|
|
195
|
+
line-height: 1.1;
|
|
196
|
+
text-align: center;
|
|
197
|
+
font-family: var(--font-secondary, "ABCGravity", sans-serif);
|
|
198
|
+
font-weight: 900;
|
|
199
|
+
font-size: 32em;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
@media (min-width: 500px) {
|
|
203
|
+
|
|
204
|
+
.HotelsSection-module__hotelsTitle--zeGAj {
|
|
205
|
+
font-size: 40em;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
@media (min-width: 1152px) {
|
|
210
|
+
|
|
211
|
+
.HotelsSection-module__hotelsTitle--zeGAj {
|
|
212
|
+
font-size: 65em;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.HotelsSection-module__hotelsSubtitle--EAJhs {
|
|
217
|
+
margin: 0;
|
|
218
|
+
font-family: var(--font-main, "Aeonik", sans-serif);
|
|
219
|
+
font-weight: 700;
|
|
220
|
+
line-height: 1;
|
|
221
|
+
text-align: center;
|
|
222
|
+
font-size: 14em;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
@media (min-width: 500px) {
|
|
226
|
+
|
|
227
|
+
.HotelsSection-module__hotelsSubtitle--EAJhs {
|
|
228
|
+
font-size: 17em;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
@media (min-width: 1152px) {
|
|
233
|
+
|
|
234
|
+
.HotelsSection-module__hotelsSubtitle--EAJhs {
|
|
235
|
+
font-size: 23em;
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.HotelsSection-module__hotelsList--jWxYc {
|
|
240
|
+
display: grid;
|
|
241
|
+
grid-template-columns: repeat(auto-fit, minmax(343px, 440px));
|
|
242
|
+
justify-content: center;
|
|
243
|
+
grid-gap: 30px 13px;
|
|
244
|
+
gap: 30px 13px;
|
|
245
|
+
margin: 0;
|
|
246
|
+
padding: 0;
|
|
247
|
+
list-style: none;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.HotelsSection-module__hotelCard--aCwpN {
|
|
251
|
+
justify-content: space-between;
|
|
252
|
+
min-height: 100%;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.HotelsSection-module__hotelCard--aCwpN:hover [class*="HotelCard-module__priceInfo"] {
|
|
256
|
+
background-color: #000000;
|
|
257
|
+
}
|
|
258
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rh-components/HotelsSection/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC"}
|