int-components 0.0.2
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 +98 -0
- package/dist/03a1823ba824367789ec.svg +3 -0
- package/dist/index.css +1287 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1 -0
- package/dist/rh-components/Button/Button.d.ts +18 -0
- package/dist/rh-components/Button/Button.d.ts.map +1 -0
- package/dist/rh-components/Button/index.css +188 -0
- package/dist/rh-components/Button/index.d.ts +2 -0
- package/dist/rh-components/Button/index.d.ts.map +1 -0
- package/dist/rh-components/Button/index.js +1 -0
- package/dist/rh-components/Footer/ContactModal.d.ts +9 -0
- package/dist/rh-components/Footer/ContactModal.d.ts.map +1 -0
- package/dist/rh-components/Footer/Footer.d.ts +8 -0
- package/dist/rh-components/Footer/Footer.d.ts.map +1 -0
- package/dist/rh-components/Footer/index.css +641 -0
- package/dist/rh-components/Footer/index.d.ts +3 -0
- package/dist/rh-components/Footer/index.d.ts.map +1 -0
- package/dist/rh-components/Footer/index.js +1 -0
- package/dist/rh-components/Header/Header.d.ts +17 -0
- package/dist/rh-components/Header/Header.d.ts.map +1 -0
- package/dist/rh-components/Header/index.css +465 -0
- package/dist/rh-components/Header/index.d.ts +3 -0
- package/dist/rh-components/Header/index.d.ts.map +1 -0
- package/dist/rh-components/Header/index.js +1 -0
- package/dist/rh-components/HotelCard/HotelCard.d.ts +18 -0
- package/dist/rh-components/HotelCard/HotelCard.d.ts.map +1 -0
- package/dist/rh-components/HotelCard/index.css +150 -0
- package/dist/rh-components/HotelCard/index.d.ts +3 -0
- package/dist/rh-components/HotelCard/index.d.ts.map +1 -0
- package/dist/rh-components/HotelCard/index.js +1 -0
- package/dist/rh-components/HotelsLanding/HotelsLanding.d.ts +27 -0
- package/dist/rh-components/HotelsLanding/HotelsLanding.d.ts.map +1 -0
- package/dist/rh-components/HotelsLanding/index.css +1287 -0
- package/dist/rh-components/HotelsLanding/index.d.ts +3 -0
- package/dist/rh-components/HotelsLanding/index.d.ts.map +1 -0
- package/dist/rh-components/HotelsLanding/index.js +1 -0
- package/dist/rh-components/index.d.ts +10 -0
- package/dist/rh-components/index.d.ts.map +1 -0
- package/dist/store/fluidMode.d.ts +37 -0
- package/dist/store/fluidMode.d.ts.map +1 -0
- package/dist/store/fluidMode.js +1 -0
- package/dist/storybook/decorator.d.ts +3 -0
- package/dist/storybook/decorator.d.ts.map +1 -0
- package/dist/themes/layout.d.ts +3 -0
- package/dist/themes/layout.d.ts.map +1 -0
- package/dist/themes/ratehawk/index.css +8 -0
- package/dist/themes/ratehawk/index.d.ts +7 -0
- package/dist/themes/ratehawk/index.d.ts.map +1 -0
- package/dist/themes/ratehawk/index.js +1 -0
- package/dist/utils/classes.d.ts +2 -0
- package/dist/utils/classes.d.ts.map +1 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +1 -0
- package/dist/utils/isValidEmail.d.ts +2 -0
- package/dist/utils/isValidEmail.d.ts.map +1 -0
- package/dist/utils/throttle.d.ts +2 -0
- package/dist/utils/throttle.d.ts.map +1 -0
- package/package.json +139 -0
|
@@ -0,0 +1,641 @@
|
|
|
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
|
+
@keyframes Button-module__spin--lWtk7 {
|
|
10
|
+
from {
|
|
11
|
+
transform: rotate(0deg);
|
|
12
|
+
}
|
|
13
|
+
to {
|
|
14
|
+
transform: rotate(360deg);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.Button-module__text--holIg {
|
|
19
|
+
font-size: var(--button-font-size, 14em);
|
|
20
|
+
white-space: nowrap;
|
|
21
|
+
text-transform: uppercase;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.Button-module__root--Knp7O {
|
|
25
|
+
all: unset;
|
|
26
|
+
display: inline-flex;
|
|
27
|
+
font-family: Aeonik, sans-serif;
|
|
28
|
+
font-weight: var(--button-font-weight, 700);
|
|
29
|
+
cursor: pointer;
|
|
30
|
+
box-sizing: border-box;
|
|
31
|
+
line-height: var(--button-line-height, 1);
|
|
32
|
+
color: var(--button-color);
|
|
33
|
+
background-color: var(--button-bg);
|
|
34
|
+
align-items: center;
|
|
35
|
+
justify-content: center;
|
|
36
|
+
padding: var(--button-padding-vertical, 0) var(--button-padding-horizontal, 0);
|
|
37
|
+
-webkit-font-smoothing: antialiased;
|
|
38
|
+
-moz-osx-font-smoothing: grayscale;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@media (hover: hover) and (pointer: fine) {
|
|
42
|
+
/* [class] нужны, чтоб повысить специфичность выставления переменных при ховере и пр. */
|
|
43
|
+
.Button-module__root--Knp7O[class]:hover {
|
|
44
|
+
--button-bg: var(--button-bg-hover);
|
|
45
|
+
--inner-border-width: 2em;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.Button-module__root--Knp7O[class]:focus {
|
|
49
|
+
--button-bg: var(--button-bg-focus);
|
|
50
|
+
--inner-border-width: 2em;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.Button-module__root--Knp7O[class]:active {
|
|
54
|
+
--button-bg: var(--button-bg-active);
|
|
55
|
+
--inner-border-width: 3em;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.Button-module__root--Knp7O[class]:disabled {
|
|
60
|
+
cursor: default;
|
|
61
|
+
--button-bg: var(--button-bg-disabled);
|
|
62
|
+
--button-color: var(--button-color-disabled);
|
|
63
|
+
--inner-border-color: var(--disabled-border-color);
|
|
64
|
+
--inner-border-width: 1em;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.Button-module__root--Knp7O[class]:disabled .Button-module__text--holIg {
|
|
68
|
+
opacity: var(--disabled-text-opacity, 0.4);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.Button-module__hidden--Q6Ztq {
|
|
72
|
+
visibility: hidden;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.Button-module__s--o9reb {
|
|
76
|
+
--button-font-weight: 400;
|
|
77
|
+
--button-padding-vertical: 11em;
|
|
78
|
+
--button-padding-horizontal: 24em;
|
|
79
|
+
--spinner-size: 18em;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.Button-module__m--ZGRqJ {
|
|
83
|
+
--button-padding-vertical: 16em;
|
|
84
|
+
--button-padding-horizontal: 40em;
|
|
85
|
+
--spinner-size: 24em;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
@media (min-width: 1152px) {
|
|
89
|
+
.Button-module__withMediaDimension--Z_A5M.Button-module__s--o9reb {
|
|
90
|
+
--button-font-size: 16em;
|
|
91
|
+
--button-padding-horizontal: 32em;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.Button-module__withMediaDimension--Z_A5M.Button-module__m--ZGRqJ {
|
|
95
|
+
--button-font-size: 16em;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
@media (min-width: 1536px) {
|
|
100
|
+
.Button-module__withMediaDimension--Z_A5M.Button-module__s--o9reb {
|
|
101
|
+
--button-font-size: 18em;
|
|
102
|
+
--spinner-size: 24em;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.Button-module__withMediaDimension--Z_A5M.Button-module__m--ZGRqJ {
|
|
106
|
+
--button-font-size: 20em;
|
|
107
|
+
--button-padding-horizontal: 52em;
|
|
108
|
+
--button-padding-vertical: 18em;
|
|
109
|
+
--spinner-size: 28em;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.Button-module__primary--V9FFQ {
|
|
114
|
+
--button-color: #fff;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.Button-module__primary--V9FFQ.Button-module__purple--biF8d {
|
|
118
|
+
--button-bg: rgba(140, 30, 255, 1);
|
|
119
|
+
--button-bg-hover: rgba(169, 86, 255, 1);
|
|
120
|
+
--button-bg-active: rgba(140, 30, 255, 1);
|
|
121
|
+
--button-bg-focus: rgba(169, 86, 255, 1);
|
|
122
|
+
--button-bg-disabled: rgba(197, 143, 255, 1);
|
|
123
|
+
--button-color-disabled: #fff;
|
|
124
|
+
--disabled-text-opacity: 1;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.Button-module__primary--V9FFQ.Button-module__black--Iz790 {
|
|
128
|
+
--button-bg: #000;
|
|
129
|
+
/* Стилей черной primary-кнопки пока нет в дизайне
|
|
130
|
+
При необходимости можно тут имплементировать */
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.Button-module__secondary--_9J0r {
|
|
134
|
+
--button-bg: transparent;
|
|
135
|
+
box-shadow: inset 0 0 0 var(--inner-border-width, 1px)
|
|
136
|
+
var(--inner-border-color);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.Button-module__secondary--_9J0r.Button-module__black--Iz790 {
|
|
140
|
+
--inner-border-color: #000;
|
|
141
|
+
--disabled-border-color: rgba(128, 128, 128, 1);
|
|
142
|
+
--button-color: #000;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.Button-module__secondary--_9J0r.Button-module__white--l3jcr {
|
|
146
|
+
--inner-border-color: #fff;
|
|
147
|
+
--disabled-border-color: rgba(128, 128, 128, 1);
|
|
148
|
+
--button-color: #fff;
|
|
149
|
+
--button-color-disabled: rgba(128, 128, 128, 1);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.Button-module__isLoading--u5f2m {
|
|
153
|
+
pointer-events: none;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.Button-module__spinner--Zj28d {
|
|
157
|
+
width: var(--spinner-size);
|
|
158
|
+
height: var(--spinner-size);
|
|
159
|
+
border-radius: 50%;
|
|
160
|
+
box-sizing: border-box;
|
|
161
|
+
display: inline-flex;
|
|
162
|
+
background: transparent;
|
|
163
|
+
position: absolute;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.Button-module__spinner--Zj28d::before {
|
|
167
|
+
content: "";
|
|
168
|
+
position: absolute;
|
|
169
|
+
top: 0;
|
|
170
|
+
left: 0;
|
|
171
|
+
right: 0;
|
|
172
|
+
bottom: 0;
|
|
173
|
+
border-radius: 50%;
|
|
174
|
+
background: conic-gradient(
|
|
175
|
+
from 180deg,
|
|
176
|
+
color-mix(in srgb, var(--button-color, #fff) 0%, transparent) 0deg,
|
|
177
|
+
color-mix(in srgb, var(--button-color, #fff) 30%, transparent) 90deg,
|
|
178
|
+
color-mix(in srgb, var(--button-color, #fff) 80%, transparent) 180deg,
|
|
179
|
+
var(--button-color, #fff) 270deg,
|
|
180
|
+
color-mix(in srgb, var(--button-color, #fff) 0%, transparent) 360deg
|
|
181
|
+
);
|
|
182
|
+
animation: Button-module__spin--lWtk7 1s linear infinite;
|
|
183
|
+
-webkit-mask: url("data:image/svg+xml,%3csvg width=%27100%27 height=%27100%27 xmlns=%27http://www.w3.org/2000/svg%27%3e%3cdefs%3e%3cmask id=%27ring%27%3e%3crect width=%27100%27 height=%27100%27 fill=%27white%27/%3e%3ccircle cx=%2750%27 cy=%2750%27 r=%2725%27 fill=%27black%27/%3e%3c/mask%3e%3c/defs%3e%3crect width=%27100%27 height=%27100%27 fill=%27white%27 mask=%27url%28%23ring%29%27/%3e%3c/svg%3e");
|
|
184
|
+
mask: url("data:image/svg+xml,%3csvg width=%27100%27 height=%27100%27 xmlns=%27http://www.w3.org/2000/svg%27%3e%3cdefs%3e%3cmask id=%27ring%27%3e%3crect width=%27100%27 height=%27100%27 fill=%27white%27/%3e%3ccircle cx=%2750%27 cy=%2750%27 r=%2725%27 fill=%27black%27/%3e%3c/mask%3e%3c/defs%3e%3crect width=%27100%27 height=%27100%27 fill=%27white%27 mask=%27url%28%23ring%29%27/%3e%3c/svg%3e");
|
|
185
|
+
-webkit-mask-size: 100% 100%;
|
|
186
|
+
mask-size: 100% 100%;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.ContactModal-module__overlay--ti1yT {
|
|
190
|
+
position: fixed;
|
|
191
|
+
top: 0;
|
|
192
|
+
left: 0;
|
|
193
|
+
right: 0;
|
|
194
|
+
bottom: 0;
|
|
195
|
+
background: rgba(0, 0, 0, 0.5);
|
|
196
|
+
display: flex;
|
|
197
|
+
align-items: center;
|
|
198
|
+
justify-content: center;
|
|
199
|
+
z-index: 1000;
|
|
200
|
+
padding: 20em;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.ContactModal-module__modal--Xzwl2 {
|
|
204
|
+
background: #fff;
|
|
205
|
+
padding: 18em;
|
|
206
|
+
width: 100%;
|
|
207
|
+
max-width: 545em;
|
|
208
|
+
box-sizing: border-box;
|
|
209
|
+
max-height: 90vh;
|
|
210
|
+
overflow-y: auto;
|
|
211
|
+
position: relative;
|
|
212
|
+
font-family: Aeonik, sans-serif;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.ContactModal-module__closeButton--qvADd {
|
|
216
|
+
position: absolute;
|
|
217
|
+
top: 16em;
|
|
218
|
+
right: 16em;
|
|
219
|
+
background: none;
|
|
220
|
+
border: none;
|
|
221
|
+
cursor: pointer;
|
|
222
|
+
padding: 4em;
|
|
223
|
+
line-height: 1;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.ContactModal-module__title--XrI8J {
|
|
227
|
+
margin: 0 0 12em 0;
|
|
228
|
+
font-weight: 900;
|
|
229
|
+
color: #000;
|
|
230
|
+
font-family: ABCGravity, sans-serif;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.ContactModal-module__titleText--HH4uj {
|
|
234
|
+
font-size: 24em;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.ContactModal-module__subtitle--dS9UA {
|
|
238
|
+
font-size: 16em;
|
|
239
|
+
margin: 0;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.ContactModal-module__form--XuQzj {
|
|
243
|
+
display: grid;
|
|
244
|
+
grid-gap: 16em;
|
|
245
|
+
gap: 16em;
|
|
246
|
+
margin-top: 28em;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.ContactModal-module__field--c99HI {
|
|
250
|
+
display: grid;
|
|
251
|
+
grid-gap: 8em;
|
|
252
|
+
gap: 8em;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.ContactModal-module__inputWrapper--e2l3N,
|
|
256
|
+
.ContactModal-module__textareaWrapper--rSQEQ {
|
|
257
|
+
padding: 14em 16em;
|
|
258
|
+
border: 1em solid #000;
|
|
259
|
+
transition: border-color 0.2s;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.ContactModal-module__inputWrapper--e2l3N:focus-within,
|
|
263
|
+
.ContactModal-module__textareaWrapper--rSQEQ:focus-within {
|
|
264
|
+
border-color: rgba(140, 30, 255, 1);
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.ContactModal-module__inputWrapperError--s_bqB {
|
|
268
|
+
border-color: #dc3545;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.ContactModal-module__input--wuaB7,
|
|
272
|
+
.ContactModal-module__textarea--i19oy {
|
|
273
|
+
border: none;
|
|
274
|
+
outline: none;
|
|
275
|
+
padding: 0;
|
|
276
|
+
background: transparent;
|
|
277
|
+
width: 100%;
|
|
278
|
+
font-size: 18em;
|
|
279
|
+
font-family: Aeonik, sans-serif;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.ContactModal-module__textareaWrapper--rSQEQ {
|
|
283
|
+
min-height: 80em;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.ContactModal-module__textarea--i19oy {
|
|
287
|
+
resize: vertical;
|
|
288
|
+
height: 100%;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
.ContactModal-module__error--jso6D {
|
|
292
|
+
color: #dc3545;
|
|
293
|
+
font-size: 14em;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.ContactModal-module__submitButton--qbQOa {
|
|
297
|
+
margin-top: 20em;
|
|
298
|
+
justify-self: stretch;
|
|
299
|
+
width: 100%;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
.ContactModal-module__successMessage--Nyhi4 {
|
|
303
|
+
text-align: center;
|
|
304
|
+
padding: 40em 20em;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.ContactModal-module__successTitle--dVn02 {
|
|
308
|
+
font-size: 36em;
|
|
309
|
+
font-family: ABCGravity, sans-serif;
|
|
310
|
+
font-weight: 900;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
.ContactModal-module__successText--KJznx {
|
|
314
|
+
margin: 0;
|
|
315
|
+
font-size: 16em;
|
|
316
|
+
color: #666;
|
|
317
|
+
line-height: 1.5;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
@media (max-width: 768px) {
|
|
321
|
+
.ContactModal-module__overlay--ti1yT {
|
|
322
|
+
padding: 0;
|
|
323
|
+
align-items: stretch;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.ContactModal-module__modal--Xzwl2 {
|
|
327
|
+
max-width: none;
|
|
328
|
+
max-height: none;
|
|
329
|
+
height: -webkit-fill-available;
|
|
330
|
+
width: -webkit-fill-available;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.ContactModal-module__closeButton--qvADd {
|
|
334
|
+
top: 12em;
|
|
335
|
+
right: 12em;
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
.Footer-module__root--T9ly6 {
|
|
340
|
+
background: #000;
|
|
341
|
+
-webkit-font-smoothing: antialiased;
|
|
342
|
+
-moz-osx-font-smoothing: grayscale;
|
|
343
|
+
border-top: 4em solid rgba(140, 30, 255, 1);
|
|
344
|
+
padding: 76em 18em 24em;
|
|
345
|
+
color: rgba(229, 229, 229, 1);
|
|
346
|
+
font-family: Aeonik, sans-serif;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
.Footer-module__header--hy1ME {
|
|
350
|
+
display: grid;
|
|
351
|
+
grid-gap: 20em;
|
|
352
|
+
gap: 20em;
|
|
353
|
+
line-height: 0.9;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
.Footer-module__title--OX7d9 {
|
|
357
|
+
font-family: ABCGravity, sans-serif;
|
|
358
|
+
font-weight: 900;
|
|
359
|
+
font-size: 28em;
|
|
360
|
+
color: rgba(254, 221, 0, 1);
|
|
361
|
+
margin: 0;
|
|
362
|
+
line-height: 100%;
|
|
363
|
+
letter-spacing: 0.01em;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
.Footer-module__subTitle--EmP0b {
|
|
367
|
+
font-family: ABCGravity, sans-serif;
|
|
368
|
+
font-weight: 900;
|
|
369
|
+
font-size: 36em;
|
|
370
|
+
line-height: 100%;
|
|
371
|
+
color: #fff;
|
|
372
|
+
margin: 0;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
.Footer-module__advantages--z7ASK {
|
|
376
|
+
display: grid;
|
|
377
|
+
grid-template-columns: repeat(2, 1fr);
|
|
378
|
+
grid-template-rows: repeat(9, auto);
|
|
379
|
+
grid-column-gap: 16em;
|
|
380
|
+
column-gap: 16em;
|
|
381
|
+
grid-row-gap: 40em;
|
|
382
|
+
row-gap: 40em;
|
|
383
|
+
margin: 60em 0 0;
|
|
384
|
+
padding: 0;
|
|
385
|
+
list-style: none;
|
|
386
|
+
width: 100%;
|
|
387
|
+
max-width: 100%;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
.Footer-module__advantageTitle--spnaR {
|
|
391
|
+
margin: 0;
|
|
392
|
+
padding-bottom: 12em;
|
|
393
|
+
border-bottom: 1em solid rgba(254, 221, 0, 1);
|
|
394
|
+
font-weight: 400;
|
|
395
|
+
line-height: 1;
|
|
396
|
+
font-size: inherit;
|
|
397
|
+
min-width: 0;
|
|
398
|
+
max-width: 100%;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
.Footer-module__advantageTitleText--cMrU_ {
|
|
402
|
+
font-size: 18em;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
.Footer-module__advantageText--BHbmo {
|
|
406
|
+
font-size: 14em;
|
|
407
|
+
line-height: 1.23;
|
|
408
|
+
margin: 0;
|
|
409
|
+
opacity: 0.9;
|
|
410
|
+
word-wrap: break-word;
|
|
411
|
+
overflow-wrap: break-word;
|
|
412
|
+
-webkit-hyphens: auto;
|
|
413
|
+
hyphens: auto;
|
|
414
|
+
min-width: 0;
|
|
415
|
+
max-width: 100%;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
.Footer-module__advantageItem--EcCx_ {
|
|
419
|
+
display: grid;
|
|
420
|
+
grid-template-rows: subgrid;
|
|
421
|
+
grid-row: span 3;
|
|
422
|
+
grid-gap: 24em;
|
|
423
|
+
gap: 24em;
|
|
424
|
+
min-width: 0;
|
|
425
|
+
max-width: 100%;
|
|
426
|
+
overflow: hidden;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
.Footer-module__advantageInfo--Ilud0 {
|
|
430
|
+
display: grid;
|
|
431
|
+
grid-template-rows: subgrid;
|
|
432
|
+
grid-row: 1 / 3;
|
|
433
|
+
grid-gap: 12em;
|
|
434
|
+
gap: 12em;
|
|
435
|
+
min-width: 0;
|
|
436
|
+
max-width: 100%;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
.Footer-module__marketingBlock--DnIGu {
|
|
440
|
+
grid-row: 1 / 4;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
.Footer-module__affiliatesBlock--jVQ0L {
|
|
444
|
+
grid-row: 1 / 4;
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
.Footer-module__suppliersBlock--yrn9l {
|
|
448
|
+
grid-row: 4 / 7;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
.Footer-module__hotelsBlock--uGUyj {
|
|
452
|
+
grid-row: 4 / 7;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
.Footer-module__providersBlock--Zmk8W {
|
|
456
|
+
grid-row: 7 / 10;
|
|
457
|
+
grid-column: 1;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
.Footer-module__advantageLink--bcoK8 {
|
|
461
|
+
color: rgba(255, 238, 128, 1);
|
|
462
|
+
text-decoration: none;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
.Footer-module__footerBottom--u_o7y {
|
|
466
|
+
display: grid;
|
|
467
|
+
grid-template-columns: 1fr;
|
|
468
|
+
margin-top: 80em;
|
|
469
|
+
grid-gap: 16em;
|
|
470
|
+
gap: 16em;
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
.Footer-module__social--H1Yw4 {
|
|
474
|
+
display: grid;
|
|
475
|
+
grid-auto-flow: column;
|
|
476
|
+
grid-auto-columns: -webkit-min-content;
|
|
477
|
+
grid-auto-columns: min-content;
|
|
478
|
+
grid-gap: 33em;
|
|
479
|
+
gap: 33em;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
.Footer-module__footerLinks--R9Hnr {
|
|
483
|
+
margin: 0;
|
|
484
|
+
padding: 0;
|
|
485
|
+
list-style: none;
|
|
486
|
+
display: grid;
|
|
487
|
+
grid-gap: 24em;
|
|
488
|
+
gap: 24em;
|
|
489
|
+
grid-auto-flow: column;
|
|
490
|
+
justify-self: end;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
.Footer-module__footerLink--ipb6W {
|
|
494
|
+
color: rgba(255, 255, 255, 1);
|
|
495
|
+
font-size: 12em;
|
|
496
|
+
text-decoration: none;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
.Footer-module__footerLeft--nnkZo {
|
|
500
|
+
display: grid;
|
|
501
|
+
grid-gap: 20em;
|
|
502
|
+
gap: 20em;
|
|
503
|
+
grid-auto-rows: -webkit-min-content;
|
|
504
|
+
grid-auto-rows: min-content;
|
|
505
|
+
grid-template-columns: 1fr 1fr;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
.Footer-module__footerLegal--jAGGe {
|
|
509
|
+
display: grid;
|
|
510
|
+
grid-gap: 12em;
|
|
511
|
+
gap: 12em;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
.Footer-module__footerLegalText--xlXoo {
|
|
515
|
+
font-size: 12em;
|
|
516
|
+
line-height: 1.23;
|
|
517
|
+
color: rgba(128, 128, 128, 1);
|
|
518
|
+
margin: 0;
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
.Footer-module__footerLegalText--xlXoo a {
|
|
522
|
+
color: rgba(128, 128, 128, 1);
|
|
523
|
+
text-decoration: none;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
.Footer-module__footerParagraphSection--rin95 {
|
|
527
|
+
display: grid;
|
|
528
|
+
grid-gap: 3em;
|
|
529
|
+
gap: 3em;
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
@media (min-width: 500px) {
|
|
533
|
+
.Footer-module__root--T9ly6 {
|
|
534
|
+
border-top: 8em solid rgba(140, 30, 255, 1);
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
.Footer-module__advantageItem--EcCx_ {
|
|
538
|
+
gap: 35em;
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
.Footer-module__advantageTitle--spnaR {
|
|
542
|
+
padding-bottom: 16em;
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
.Footer-module__advantageTitleText--cMrU_ {
|
|
546
|
+
font-size: 18em;
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
.Footer-module__advantageText--BHbmo {
|
|
550
|
+
font-size: 14em;
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
.Footer-module__advantageInfo--Ilud0 {
|
|
554
|
+
gap: 16em;
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
.Footer-module__footerBottom--u_o7y {
|
|
558
|
+
grid-template-columns: 1fr 1fr;
|
|
559
|
+
margin-top: 60em;
|
|
560
|
+
gap: 0;
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
.Footer-module__footerLeft--nnkZo {
|
|
564
|
+
grid-template-columns: 1fr;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
.Footer-module__footerLinks--R9Hnr {
|
|
568
|
+
gap: 12em;
|
|
569
|
+
grid-auto-flow: row;
|
|
570
|
+
justify-self: start;
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
@media (min-width: 1152px) {
|
|
575
|
+
.Footer-module__root--T9ly6 {
|
|
576
|
+
padding: 100em 24em 20em;
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
.Footer-module__title--OX7d9 {
|
|
580
|
+
font-size: 44em;
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
.Footer-module__subTitle--EmP0b {
|
|
584
|
+
font-size: 50em;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
.Footer-module__advantages--z7ASK {
|
|
588
|
+
grid-auto-flow: column;
|
|
589
|
+
grid-auto-columns: 1fr;
|
|
590
|
+
grid-template-rows: auto 1fr auto;
|
|
591
|
+
gap: 20em;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
.Footer-module__advantageItem--EcCx_ {
|
|
595
|
+
grid-template-rows: subgrid;
|
|
596
|
+
grid-row: 1 / 4;
|
|
597
|
+
gap: 62em;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
.Footer-module__advantageTitleText--cMrU_ {
|
|
601
|
+
font-size: 22em;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
.Footer-module__advantageText--BHbmo {
|
|
605
|
+
font-size: 18em;
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
.Footer-module__advantageInfo--Ilud0 {
|
|
609
|
+
grid-template-rows: subgrid;
|
|
610
|
+
grid-row: 1 / 3;
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
.Footer-module__affiliatesBlock--jVQ0L {
|
|
614
|
+
order: 1;
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
.Footer-module__suppliersBlock--yrn9l {
|
|
618
|
+
order: 2;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
.Footer-module__hotelsBlock--uGUyj {
|
|
622
|
+
order: 3;
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
.Footer-module__marketingBlock--DnIGu {
|
|
626
|
+
order: 4;
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
.Footer-module__providersBlock--Zmk8W {
|
|
630
|
+
order: 5;
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
.Footer-module__footerBottom--u_o7y {
|
|
634
|
+
margin-top: 80em;
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
.Footer-module__footerLegalText--xlXoo {
|
|
638
|
+
font-size: 14em;
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rh-components/Footer/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +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(" ")},130:(e,a,t)=>{t.d(a,{N:()=>o,u:()=>n}),t(178);var s=t(992);const o=({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]})},n=e=>("boolean"==typeof e?e:s.b.state)?"layout-module__fluidLayout--BNE04":"layout-module__staticLayout--x_6dR"},178:(a,t,s)=>{var o,n;a.exports=(o={Fragment:()=>e.Fragment,jsx:()=>e.jsx,jsxs:()=>e.jsxs},n={},s.d(n,o),n)},268:(e,a,t)=>{t.d(a,{A:()=>l});var s=t(178),o=t(130),n=t(39);const r={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"},l=({className:e,children:a,dimension:t="s",theme:l="primary",onClick:i,disabled:c=!1,type:d="button",variant:m="purple",url:u,isLoading:x,enableMediaDimension:h=!0,fluidMode:p})=>{const f=r[t]||"",_=r[l]||"",g=r[m],y=(0,o.u)(p),v=h?r.withMediaDimension:"",b=u?"a":"button",j=u?{target:"_blank",href:u}:{type:d},w=x?r.isLoading:"";return(0,s.jsxs)(b,{...j,onClick:i,className:(0,n.L)(r.root,e,y,f,_,w,g,v),disabled:c,children:[x?(0,s.jsx)("span",{className:r.spinner}):null,(0,s.jsx)("span",{className:(0,n.L)(r.text,x?r.hidden:null),children:a})]})}},374:(e,a,t)=>{t.d(a,{A:()=>M});var s,o=t(178),n=t(268),r=t(130),l=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 m;function u(){return u=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},u.apply(null,arguments)}const x=e=>i.createElement("svg",u({xmlns:"http://www.w3.org/2000/svg",width:31,height:31,fill:"none"},e),m||(m=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"}))),h=/^([^\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 f(){return f=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},f.apply(null,arguments)}const _=e=>i.createElement("svg",f({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",y="ContactModal-module__inputWrapper--e2l3N",v="ContactModal-module__inputWrapperError--s_bqB",b="ContactModal-module__input--wuaB7",j="ContactModal-module__error--jso6D",w=({isOpen:e,onClose:a,fluidMode:t})=>{const s=(0,r.u)(t),[c,d]=(0,i.useState)({firstName:"",phone:"",email:"",companyName:"",message:""}),[m,u]=(0,i.useState)(!1),[x,p]=(0,i.useState)(!1),[f,w]=(0,i.useState)({}),N=(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 h.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"),w(e),0===Object.keys(e).length},[c]),k=(0,i.useCallback)(async e=>{if(e.preventDefault(),N()){u(!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{u(!1)}}},[c,N]),C=(0,i.useCallback)(e=>a=>{d(t=>({...t,[e]:a.target.value})),f[e]&&w(a=>({...a,[e]:void 0}))},[f]),B=(0,i.useCallback)(()=>{d({firstName:"",phone:"",email:"",companyName:"",message:""}),w({}),p(!1),a()},[a]);return e?(0,o.jsx)("div",{className:(0,l.L)("ContactModal-module__overlay--ti1yT",s),onClick:B,children:(0,o.jsxs)("div",{className:"ContactModal-module__modal--Xzwl2",onClick:e=>e.stopPropagation(),children:[(0,o.jsx)("button",{className:(0,l.L)("ContactModal-module__closeButton--qvADd",s),onClick:B,type:"button",children:(0,o.jsx)(_,{})}),x?(0,o.jsxs)("div",{className:"ContactModal-module__successMessage--Nyhi4",children:[(0,o.jsx)("h2",{className:"ContactModal-module__successTitle--dVn02",children:"Successfully accepted"}),(0,o.jsx)("p",{className:"ContactModal-module__successText--KJznx",children:"Your application has flown to our caring specialists! We will contact you soon"})]}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("h2",{className:"ContactModal-module__title--XrI8J",children:(0,o.jsx)("span",{className:"ContactModal-module__titleText--HH4uj",children:"Cooperation"})}),(0,o.jsx)("p",{className:"ContactModal-module__subtitle--dS9UA",children:"Drop us a line and we will get back to you as soon as possible!"}),(0,o.jsxs)("form",{className:"ContactModal-module__form--XuQzj",onSubmit:k,children:[(0,o.jsxs)("div",{className:g,children:[(0,o.jsx)("label",{className:`${y} ${f.firstName?v:""}`,children:(0,o.jsx)("input",{type:"text",className:b,value:c.firstName,onChange:C("firstName"),placeholder:"First Name *"})}),f.firstName&&(0,o.jsx)("span",{className:j,children:f.firstName})]}),(0,o.jsxs)("div",{className:g,children:[(0,o.jsx)("label",{className:`${y} ${f.phone?v:""}`,children:(0,o.jsx)("input",{type:"tel",className:b,value:c.phone,onChange:C("phone"),placeholder:"Phone *"})}),f.phone&&(0,o.jsx)("span",{className:j,children:f.phone})]}),(0,o.jsxs)("div",{className:g,children:[(0,o.jsx)("label",{className:`${y} ${f.email?v:""}`,children:(0,o.jsx)("input",{type:"email",className:b,value:c.email,onChange:C("email"),placeholder:"Email Address *"})}),f.email&&(0,o.jsx)("span",{className:j,children:f.email})]}),(0,o.jsxs)("div",{className:g,children:[(0,o.jsx)("label",{className:`${y} ${f.companyName?v:""}`,children:(0,o.jsx)("input",{type:"text",className:b,value:c.companyName,onChange:C("companyName"),placeholder:"Company Name *"})}),f.companyName&&(0,o.jsx)("span",{className:j,children:f.companyName})]}),(0,o.jsx)("div",{className:g,children:(0,o.jsx)("label",{className:"ContactModal-module__textareaWrapper--rSQEQ",children:(0,o.jsx)("textarea",{className:"ContactModal-module__textarea--i19oy",value:c.message,onChange:C("message"),placeholder:"Message",rows:4})})}),(0,o.jsx)(n.A,{type:"submit",theme:"primary",variant:"white",disabled:m,className:"ContactModal-module__submitButton--qbQOa",children:m?"Sending...":"Send"})]})]})]})}):null},N="Footer-module__footerLink--ipb6W",k="Footer-module__footerLegalText--xlXoo",C="Footer-module__footerParagraphSection--rin95",B=[{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,r.u)(a),m=(0,i.useCallback)(()=>{s(!0)},[]),u=(0,i.useCallback)(()=>{s(!1)},[]);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("footer",{className:(0,l.L)("Footer-module__root--T9ly6",e,c),children:[(0,o.jsxs)("div",{className:"Footer-module__header--hy1ME",children:[(0,o.jsx)("p",{className:"Footer-module__title--OX7d9",children:"Partnership"}),(0,o.jsx)("p",{className:"Footer-module__subTitle--EmP0b",children:"Cooperate and grow together with RateHawk"})]}),(0,o.jsx)("ul",{className:"Footer-module__advantages--z7ASK",children:B.map(e=>(0,o.jsxs)("li",{className:(0,l.L)("Footer-module__advantageItem--EcCx_",e.cssClass),children:[(0,o.jsxs)("div",{className:"Footer-module__advantageInfo--Ilud0",children:[(0,o.jsx)("h6",{className:"Footer-module__advantageTitle--spnaR",children:(0,o.jsx)("span",{className:"Footer-module__advantageTitleText--cMrU_",children:e.title})}),(0,o.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,o.jsx)(n.A,{theme:"secondary",variant:"white",...e.button.url?{url:e.button.url}:{onClick:m},children:e.button.text})]},e.title))}),(0,o.jsxs)("div",{className:"Footer-module__footerBottom--u_o7y",children:[(0,o.jsxs)("div",{className:"Footer-module__footerLeft--nnkZo",children:[(0,o.jsxs)("div",{className:"Footer-module__social--H1Yw4",children:[(0,o.jsx)("a",{href:"https://www.facebook.com/ratehawk",target:"_blank",rel:"noopener noreferrer",children:(0,o.jsx)(d,{})}),(0,o.jsx)("a",{href:"https://www.linkedin.com/company/ratehawk-com/",target:"_blank",rel:"noopener noreferrer",children:(0,o.jsx)(x,{})})]}),(0,o.jsxs)("ul",{className:"Footer-module__footerLinks--R9Hnr",children:[(0,o.jsx)("li",{children:(0,o.jsx)("a",{href:"https://www.ratehawk.com/lp/en-us/career",target:"_blank",rel:"noopener noreferrer",className:N,children:"Careers"})}),(0,o.jsx)("li",{children:(0,o.jsx)("a",{href:"https://blog.ratehawk.com/",target:"_blank",rel:"noopener noreferrer",className:N,children:"Blog"})})]})]}),(0,o.jsxs)("div",{className:"Footer-module__footerLegal--jAGGe",children:[(0,o.jsxs)("div",{className:C,children:[(0,o.jsx)("p",{className:k,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,o.jsx)("p",{className:k,children:"Emerging Travel Germany ETG GmbH, HRB 213546, Business Address: Friedrichstraße 171, 10117 Berlin, Germany"}),(0,o.jsx)("p",{className:k,children:"Emerging Travel Kazakhstan LLP, BIN 191240026456, Business address: Office SP2-18, 280 Baizakova Street, Bostandykskiy district, 050040, Almaty, Republic of Kazakhstan"}),(0,o.jsx)("p",{className:k,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,o.jsx)("p",{className:k,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,o.jsx)("div",{className:C,children:(0,o.jsx)("p",{className:k,children:(0,o.jsx)("a",{href:"https://www.ratehawk.com/legal/site/privacy-policy/",target:"_blank",rel:"noopener noreferrer",children:"Personal data processing and storage policy"})})}),(0,o.jsx)("div",{className:C,children:(0,o.jsx)("p",{className:k,children:"Digital Services Act"})}),(0,o.jsx)("div",{className:C,children:(0,o.jsx)("p",{className:k,children:"Ratehawk is a registered service mark in the European Union"})})]})]})]}),(0,o.jsx)(w,{isOpen:t,onClose:u,fluidMode:a})]})}},649:(e,t,s)=>{var o,n;e.exports=(o={createElement:()=>a.createElement,useCallback:()=>a.useCallback,useState:()=>a.useState},n={},s.d(n,o),n)},992:(e,a,t)=>{t.d(a,{b:()=>s}),globalThis.__fluidModeState||(globalThis.__fluidModeState={state:!1});const s=globalThis.__fluidModeState}},s={};function o(e){var a=s[e];if(void 0!==a)return a.exports;var n=s[e]={exports:{}};return t[e](n,n.exports,o),n.exports}o.d=(e,a)=>{for(var t in a)o.o(a,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:a[t]})},o.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a);var n={};o.d(n,{A:()=>r.A});var r=o(374);const l=n.A;export{l as default};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
type MenuItem = {
|
|
3
|
+
title: string;
|
|
4
|
+
url?: string;
|
|
5
|
+
onClick?: () => void;
|
|
6
|
+
};
|
|
7
|
+
export interface HeaderProps {
|
|
8
|
+
theme?: 'light' | 'dark' | 'yellow';
|
|
9
|
+
className?: string;
|
|
10
|
+
menu?: MenuItem[];
|
|
11
|
+
subMenu?: MenuItem[];
|
|
12
|
+
extraRightContent?: React.ReactNode;
|
|
13
|
+
fluidMode?: boolean;
|
|
14
|
+
}
|
|
15
|
+
declare const Header: React.FC<HeaderProps>;
|
|
16
|
+
export default Header;
|
|
17
|
+
//# sourceMappingURL=Header.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../src/rh-components/Header/Header.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,KAAK,QAAQ,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CAAE,CAAC;AAEtE,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,QAAQ,EAAE,CAAC;IAClB,OAAO,CAAC,EAAE,QAAQ,EAAE,CAAC;IACrB,iBAAiB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACpC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAcD,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAwLjC,CAAC;AAEF,eAAe,MAAM,CAAC"}
|