int-components 0.0.26 → 0.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +266 -3
- package/dist/index.js +1 -1
- package/dist/rh-components/Button/index.css +35 -0
- package/dist/rh-components/Button/index.js +1 -1
- package/dist/rh-components/Footer/Footer.d.ts.map +1 -1
- package/dist/rh-components/Footer/index.css +60 -3
- package/dist/rh-components/Footer/index.js +1 -1
- package/dist/rh-components/Header/index.css +35 -0
- package/dist/rh-components/Header/index.js +1 -1
- package/dist/rh-components/HeroSection/index.css +35 -0
- package/dist/rh-components/HeroSection/index.js +1 -1
- package/dist/rh-components/HotelCard/index.css +35 -0
- package/dist/rh-components/HotelCard/index.js +1 -1
- package/dist/rh-components/HotelsLanding/index.css +66 -3
- package/dist/rh-components/HotelsLanding/index.js +1 -1
- package/dist/rh-components/HotelsSection/index.css +41 -0
- package/dist/rh-components/HotelsSection/index.js +1 -1
- package/dist/rh-components/PromoFeatures/PromoFeatures.d.ts +18 -0
- package/dist/rh-components/PromoFeatures/PromoFeatures.d.ts.map +1 -0
- package/dist/rh-components/PromoFeatures/index.css +135 -0
- package/dist/rh-components/PromoFeatures/index.d.ts +3 -0
- package/dist/rh-components/PromoFeatures/index.d.ts.map +1 -0
- package/dist/rh-components/PromoFeatures/index.js +1 -0
- package/dist/rh-components/Section/Section.d.ts +14 -0
- package/dist/rh-components/Section/Section.d.ts.map +1 -0
- package/dist/rh-components/Section/index.css +65 -0
- package/dist/rh-components/Section/index.d.ts +3 -0
- package/dist/rh-components/Section/index.d.ts.map +1 -0
- package/dist/rh-components/Section/index.js +1 -0
- package/dist/rh-components/SectionTitle/SectionTitle.d.ts +16 -0
- package/dist/rh-components/SectionTitle/SectionTitle.d.ts.map +1 -0
- package/dist/rh-components/SectionTitle/index.css +103 -0
- package/dist/rh-components/SectionTitle/index.d.ts +3 -0
- package/dist/rh-components/SectionTitle/index.d.ts.map +1 -0
- package/dist/rh-components/SectionTitle/index.js +1 -0
- package/dist/rh-components/Text/Text.d.ts +16 -0
- package/dist/rh-components/Text/Text.d.ts.map +1 -0
- package/dist/rh-components/Text/index.css +91 -0
- package/dist/rh-components/Text/index.d.ts +3 -0
- package/dist/rh-components/Text/index.d.ts.map +1 -0
- package/dist/rh-components/Text/index.js +1 -0
- package/dist/rh-components/index.d.ts +8 -0
- package/dist/rh-components/index.d.ts.map +1 -1
- package/dist/themes/ratehawk/index.css +35 -0
- package/dist/themes/ratehawk/index.d.ts +1 -1
- package/dist/themes/ratehawk/index.d.ts.map +1 -1
- package/dist/themes/ratehawk/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: 'Aeonik';
|
|
3
|
+
src: url('https://of.worldota.net/fonts/aeonik/Aeonik-Bold.woff2') format('woff2');
|
|
4
|
+
font-weight: 900;
|
|
5
|
+
font-style: normal;
|
|
6
|
+
font-display: swap;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@font-face {
|
|
10
|
+
font-family: 'Aeonik';
|
|
11
|
+
src: url('https://of.worldota.net/fonts/aeonik/Aeonik-Regular.woff2') format('woff2');
|
|
12
|
+
font-weight: 400;
|
|
13
|
+
font-style: normal;
|
|
14
|
+
font-display: swap;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@font-face {
|
|
18
|
+
font-family: 'ABCGravity';
|
|
19
|
+
src: url('https://of.worldota.net/fonts/ABCGravity/ABCGravity.woff2') format('woff2');
|
|
20
|
+
font-weight: 900;
|
|
21
|
+
font-style: normal;
|
|
22
|
+
font-display: swap;
|
|
23
|
+
}
|
|
24
|
+
|
|
1
25
|
.layout-module__fluidLayout--BNE04[class] {
|
|
2
26
|
font-size: 1rem;
|
|
3
27
|
}
|
|
@@ -6,6 +30,17 @@
|
|
|
6
30
|
font-size: 1px;
|
|
7
31
|
}
|
|
8
32
|
|
|
33
|
+
.layout-module__fluidLayout--BNE04[class], .layout-module__staticLayout--x_6dR[class] {
|
|
34
|
+
--side-padding: 18em;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@media (min-width: 500px) {
|
|
38
|
+
|
|
39
|
+
.layout-module__fluidLayout--BNE04[class], .layout-module__staticLayout--x_6dR[class] {
|
|
40
|
+
--side-padding: 24em;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
9
44
|
.HotelCard-module__root--popq0 {
|
|
10
45
|
display: flex;
|
|
11
46
|
flex-direction: column;
|
|
@@ -202,6 +237,9 @@
|
|
|
202
237
|
font-family: var(--font-secondary, "ABCGravity", sans-serif);
|
|
203
238
|
font-weight: 900;
|
|
204
239
|
font-size: 32em;
|
|
240
|
+
word-wrap: break-word;
|
|
241
|
+
overflow-wrap: break-word;
|
|
242
|
+
word-break: break-word;
|
|
205
243
|
}
|
|
206
244
|
|
|
207
245
|
@media (min-width: 500px) {
|
|
@@ -225,6 +263,9 @@
|
|
|
225
263
|
line-height: 1;
|
|
226
264
|
text-align: center;
|
|
227
265
|
font-size: 14em;
|
|
266
|
+
word-wrap: break-word;
|
|
267
|
+
overflow-wrap: break-word;
|
|
268
|
+
word-break: break-word;
|
|
228
269
|
}
|
|
229
270
|
|
|
230
271
|
@media (min-width: 500px) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as e from"react/jsx-runtime";var t={39:(e,t,o)=>{o.d(t,{L:()=>s});const s=(...e)=>e.filter(Boolean).join(" ")},93:(e,t,o)=>{o.d(t,{A:()=>
|
|
1
|
+
import*as e from"react/jsx-runtime";var t={39:(e,t,o)=>{o.d(t,{L:()=>s});const s=(...e)=>e.filter(Boolean).join(" ")},93:(e,t,o)=>{o.d(t,{A:()=>d});var s=o(178),l=o(130),a=o(39),r=o(670);const d=({className:e,title:t,subtitle:o,hotels:d,fluidMode:i,...n})=>{const c=(0,l.u)(i);return(0,s.jsxs)("section",{...n,className:(0,a.L)("HotelsSection-module__hotels--hGJyx",c,e),children:[t||o?(0,s.jsxs)("header",{className:"HotelsSection-module__hotelsHeader--l_Qr5",children:[t&&(0,s.jsx)("h2",{className:"HotelsSection-module__hotelsTitle--zeGAj",children:t}),o&&(0,s.jsx)("p",{className:"HotelsSection-module__hotelsSubtitle--EAJhs",children:o})]}):null,(0,s.jsx)("ul",{className:"HotelsSection-module__hotelsList--jWxYc",children:d.map(e=>(0,s.jsx)("li",{children:(0,s.jsx)(r.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:i})},e.name))})]})}},130:(e,t,o)=>{o.d(t,{N:()=>l,u:()=>a}),o(178);var s=o(992);const l=({children:e,fluidMode:t=!1})=>{fluidModeState.state=t;const o=`\n ${t?fluidLayoutCss:staticLayoutCss};\n `;return _jsxs(_Fragment,{children:[_jsx("style",{dangerouslySetInnerHTML:{__html:o}}),e]})},a=e=>(e=>{if("boolean"==typeof e)return e;if("undefined"!=typeof document){const e=document.documentElement.getAttribute("data-fluid-mode");if(null!==e)return"true"===e}return s.b.state})(e)?"layout-module__fluidLayout--BNE04":"layout-module__staticLayout--x_6dR"},178:(t,o,s)=>{var l,a;t.exports=(l={jsx:()=>e.jsx,jsxs:()=>e.jsxs},a={},s.d(a,l),a)},670:(e,t,o)=>{o.d(t,{A:()=>d});var s=o(178),l=o(130),a=o(39);const r={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"},d=({className:e="",name:t,location:o,stars:d,image:i,dates:n,discountText:c,onClick:u,url:m,width:_="auto",price:x,fluidMode:h,...p})=>{const f=(0,l.u)(h),j=m?"a":"div",N=m?{href:m,target:"_blank",rel:"noopener noreferrer"}:{};return(0,s.jsxs)(j,{...p,...N,className:(0,a.L)(r.root,f,"fixed"===_&&r.rootFixed,e,m&&r.clickable),onClick:u,children:[(0,s.jsxs)("div",{className:r.imageContainer,children:[(0,s.jsx)("img",{src:i,alt:t,className:r.image}),c?(0,s.jsx)("div",{className:r.discount,children:(0,s.jsx)("span",{className:r.discountText,dangerouslySetInnerHTML:{__html:c}})}):null]}),(0,s.jsxs)("div",{className:r.content,children:[(()=>{if(!d)return null;const e=[];for(let o=0;o<5;o++)e.push((0,s.jsx)("div",{className:o<d?r.starFilled:r.starEmpty},`star-${t}-${o}`));return(0,s.jsx)("div",{className:r.stars,children:e})})(),(0,s.jsx)("h3",{className:r.title,children:t}),o&&(0,s.jsx)("p",{className:r.location,children:o}),n&&(0,s.jsxs)("p",{className:r.dates,children:["Travel Dates: ",n]}),(0,s.jsx)("div",{className:r.priceInfoWrapper,children:(0,s.jsx)("div",{className:r.priceInfo,children:x?(0,s.jsxs)("div",{className:r.priceText,children:[(0,s.jsxs)("div",{className:r.mainPriceText,children:["From ",(0,s.jsx)("strong",{children:x})]}),(0,s.jsx)("div",{className:r.infoPriceText,children:(0,s.jsx)("span",{children:"For 1 night and 2 guests"})})]}):(0,s.jsx)("div",{className:r.bookNowText,children:"Book now"})})})]})]})}},992:(e,t,o)=>{o.d(t,{b:()=>s}),globalThis.__fluidModeState||(globalThis.__fluidModeState={state:!1});const s=globalThis.__fluidModeState}},o={};function s(e){var l=o[e];if(void 0!==l)return l.exports;var a=o[e]={exports:{}};return t[e](a,a.exports,s),a.exports}s.d=(e,t)=>{for(var o in t)s.o(t,o)&&!s.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var l={};s.d(l,{A:()=>a.A});var a=s(93);const r=l.A;export{r as default};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type TIconName = 'car' | 'globe' | 'plane' | 'train';
|
|
3
|
+
export interface PromoFeature {
|
|
4
|
+
icon: TIconName | React.ReactNode;
|
|
5
|
+
title: string;
|
|
6
|
+
text: string;
|
|
7
|
+
}
|
|
8
|
+
export interface PromoFeaturesProps {
|
|
9
|
+
className?: string;
|
|
10
|
+
features: PromoFeature[];
|
|
11
|
+
fluidMode?: boolean;
|
|
12
|
+
mobileIconHeight?: string;
|
|
13
|
+
tabletIconHeight?: string;
|
|
14
|
+
desktopIconHeight?: string;
|
|
15
|
+
}
|
|
16
|
+
declare const PromoFeatures: React.FC<PromoFeaturesProps>;
|
|
17
|
+
export default PromoFeatures;
|
|
18
|
+
//# sourceMappingURL=PromoFeatures.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PromoFeatures.d.ts","sourceRoot":"","sources":["../../../src/rh-components/PromoFeatures/PromoFeatures.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,KAAK,SAAS,GAAG,KAAK,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC;AASrD,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,SAAS,GAAG,KAAK,CAAC,SAAS,CAAC;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,kBAAkB;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,YAAY,EAAE,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAgC/C,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: 'Aeonik';
|
|
3
|
+
src: url('https://of.worldota.net/fonts/aeonik/Aeonik-Bold.woff2') format('woff2');
|
|
4
|
+
font-weight: 900;
|
|
5
|
+
font-style: normal;
|
|
6
|
+
font-display: swap;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@font-face {
|
|
10
|
+
font-family: 'Aeonik';
|
|
11
|
+
src: url('https://of.worldota.net/fonts/aeonik/Aeonik-Regular.woff2') format('woff2');
|
|
12
|
+
font-weight: 400;
|
|
13
|
+
font-style: normal;
|
|
14
|
+
font-display: swap;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@font-face {
|
|
18
|
+
font-family: 'ABCGravity';
|
|
19
|
+
src: url('https://of.worldota.net/fonts/ABCGravity/ABCGravity.woff2') format('woff2');
|
|
20
|
+
font-weight: 900;
|
|
21
|
+
font-style: normal;
|
|
22
|
+
font-display: swap;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.layout-module__fluidLayout--BNE04[class] {
|
|
26
|
+
font-size: 1rem;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.layout-module__staticLayout--x_6dR[class] {
|
|
30
|
+
font-size: 1px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.layout-module__fluidLayout--BNE04[class], .layout-module__staticLayout--x_6dR[class] {
|
|
34
|
+
--side-padding: 18em;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@media (min-width: 500px) {
|
|
38
|
+
|
|
39
|
+
.layout-module__fluidLayout--BNE04[class], .layout-module__staticLayout--x_6dR[class] {
|
|
40
|
+
--side-padding: 24em;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.PromoFeatures-module__root--DJbC2 {
|
|
45
|
+
display: grid;
|
|
46
|
+
grid-template-columns: repeat(2, 1fr);
|
|
47
|
+
grid-gap: 24em 16em;
|
|
48
|
+
gap: 24em 16em;
|
|
49
|
+
list-style: none;
|
|
50
|
+
margin: 0;
|
|
51
|
+
padding: 0;
|
|
52
|
+
font-family: Aeonik, sans-serif;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.PromoFeatures-module__item--Y5CKb {
|
|
56
|
+
display: grid;
|
|
57
|
+
grid-template-rows: subgrid;
|
|
58
|
+
grid-row: span 4;
|
|
59
|
+
grid-gap: 10em;
|
|
60
|
+
gap: 10em;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.PromoFeatures-module__icon--GuJuT {
|
|
64
|
+
display: flex;
|
|
65
|
+
align-items: center;
|
|
66
|
+
height: var(--promo-icon-height-mobile, 40em);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.PromoFeatures-module__icon--GuJuT img,
|
|
70
|
+
.PromoFeatures-module__icon--GuJuT svg {
|
|
71
|
+
display: block;
|
|
72
|
+
height: 100%;
|
|
73
|
+
width: auto;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.PromoFeatures-module__title--Tihb3 {
|
|
77
|
+
font-weight: 400;
|
|
78
|
+
font-size: 18em;
|
|
79
|
+
line-height: 1;
|
|
80
|
+
margin: 0;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.PromoFeatures-module__divider--vfd6P {
|
|
84
|
+
width: 100%;
|
|
85
|
+
height: 1px;
|
|
86
|
+
background-color: #BFBFBF;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.PromoFeatures-module__text--N_eji {
|
|
90
|
+
font-size: 14em;
|
|
91
|
+
line-height: 1.23;
|
|
92
|
+
margin: 0;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
@media (min-width: 500px) {
|
|
96
|
+
.PromoFeatures-module__root--DJbC2 {
|
|
97
|
+
grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
|
|
98
|
+
gap: 20em;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.PromoFeatures-module__item--Y5CKb {
|
|
102
|
+
gap: 12em;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.PromoFeatures-module__title--Tihb3 {
|
|
106
|
+
font-size: 18em;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.PromoFeatures-module__text--N_eji {
|
|
110
|
+
font-size: 12em;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.PromoFeatures-module__icon--GuJuT {
|
|
114
|
+
height: var(--promo-icon-height-tablet, 50em);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
@media (min-width: 1152px) {
|
|
119
|
+
.PromoFeatures-module__item--Y5CKb {
|
|
120
|
+
gap: 16em;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.PromoFeatures-module__title--Tihb3 {
|
|
124
|
+
font-size: 22em;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.PromoFeatures-module__text--N_eji {
|
|
128
|
+
font-size: 18em;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.PromoFeatures-module__icon--GuJuT {
|
|
132
|
+
height: var(--promo-icon-height-desktop, 50em);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rh-components/PromoFeatures/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACxE,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"react/jsx-runtime";import*as t from"react";var l={39:(e,t,l)=>{l.d(t,{L:()=>r});const r=(...e)=>e.filter(Boolean).join(" ")},130:(e,t,l)=>{l.d(t,{N:()=>a,u:()=>n}),l(178);var r=l(992);const a=({children:e,fluidMode:t=!1})=>{fluidModeState.state=t;const l=`\n ${t?fluidLayoutCss:staticLayoutCss};\n `;return _jsxs(_Fragment,{children:[_jsx("style",{dangerouslySetInnerHTML:{__html:l}}),e]})},n=e=>(e=>{if("boolean"==typeof e)return e;if("undefined"!=typeof document){const e=document.documentElement.getAttribute("data-fluid-mode");if(null!==e)return"true"===e}return r.b.state})(e)?"layout-module__fluidLayout--BNE04":"layout-module__staticLayout--x_6dR"},178:(t,l,r)=>{var a,n;t.exports=(a={jsx:()=>e.jsx,jsxs:()=>e.jsxs},n={},r.d(n,a),n)},649:(e,l,r)=>{var a,n;e.exports=(a={createElement:()=>t.createElement,default:()=>t.default},n={},r.d(n,a),n)},992:(e,t,l)=>{l.d(t,{b:()=>r}),globalThis.__fluidModeState||(globalThis.__fluidModeState={state:!1});const r=globalThis.__fluidModeState}},r={};function a(e){var t=r[e];if(void 0!==t)return t.exports;var n=r[e]={exports:{}};return l[e](n,n.exports,a),n.exports}a.d=(e,t)=>{for(var l in t)a.o(t,l)&&!a.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,get:t[l]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var n=a(178),o=a(130),s=a(39),i=a(649);var c,h,m,d,u,v,f,p;function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var r in l)({}).hasOwnProperty.call(l,r)&&(e[r]=l[r])}return e},g.apply(null,arguments)}function b(){return b=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var r in l)({}).hasOwnProperty.call(l,r)&&(e[r]=l[r])}return e},b.apply(null,arguments)}function _(){return _=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var r in l)({}).hasOwnProperty.call(l,r)&&(e[r]=l[r])}return e},_.apply(null,arguments)}function x(){return x=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var r in l)({}).hasOwnProperty.call(l,r)&&(e[r]=l[r])}return e},x.apply(null,arguments)}const j={car:e=>i.createElement("svg",g({xmlns:"http://www.w3.org/2000/svg",width:65,height:50,fill:"none"},e),c||(c=i.createElement("path",{fill:"#FEDD00",d:"M33.276 9.584h8.532l4.266 1.843 2.715 3.49-29.784 17.93s-4.603-4.465-8.276 0H2.25l1.492-10.085 2.774-9.32 3.878-3.47 9.308-.582z"})),h||(h=i.createElement("path",{stroke:"#000",strokeMiterlimit:10,strokeWidth:2.6,d:"M53.762 19.724H39.474M2.25 33.325l1.669-9.049C7.636 9.606 6.891 9.585 23.639 9.585h15.927a10.36 10.36 0 0 1 7.957 3.718l5.363 6.415h1.68a7.05 7.05 0 0 1 6.551 4.43l1.316 4.67a5 5 0 0 1-.512 4.507l-1.26 1.912m-41.2.72c0 2.57-2.101 4.654-4.694 4.654s-4.694-2.084-4.694-4.654 2.102-4.654 4.694-4.654 4.694 2.083 4.694 4.654Zm32.434 0c0 2.57-2.101 4.654-4.694 4.654s-4.694-2.084-4.694-4.654 2.102-4.654 4.694-4.654 4.694 2.083 4.694 4.654Z"}))),globe:e=>i.createElement("svg",b({xmlns:"http://www.w3.org/2000/svg",width:57,height:50,fill:"none"},e),m||(m=i.createElement("path",{fill:"#FEDD00",d:"M52.25 15.156 13.447 47.853l-4.35-5.392-3.548-4.13L2 30.988v-8.834l3.549-8.375L11.5 6.78l8.013-3.557 9.5-1.606 6.753.918 5.953 2.18 6.868 4.933z"})),d||(d=i.createElement("path",{stroke:"#000",strokeWidth:2.6,d:"M18.162 17.49a22.5 22.5 0 0 0 8.016 1.47h5.363c2.344 0 4.608-.36 6.744-1.029m-20.123-.44c-3.766-1.432-7.082-3.842-9.667-6.938m9.667 6.938c1.425-8.997 4.885-15.345 8.927-15.345m-8.927 15.345c-.45 2.834-.697 5.93-.697 9.175 0 2.744.177 5.384.504 7.848m-3.232 13.869c-2.843-1.562-4.8-3.716-6.805-6.305-3.26-4.211-5.213-9.573-5.213-15.412 0-6.168 2.18-11.804 5.776-16.113 4.3-5.151 10.629-8.407 17.683-8.407h.911m22.135 8.407c-2.872 3.44-6.647 6.034-10.94 7.378m4.157 30.452a23.8 23.8 0 0 0 7.346-6.305c3.26-4.211 5.212-9.573 5.212-15.412 0-6.168-2.178-11.804-5.776-16.113-4.3-5.151-10.628-8.407-17.682-8.407h-2.252m8.996 15.785c-1.382-9.229-4.888-15.785-8.996-15.785m8.996 15.785c.406 2.714.628 5.658.628 8.735 0 2.576-.156 5.059-.445 7.391M27.09 2.147h2.2M7.932 42.076c2.615-3.377 6.072-6.015 10.037-7.563m31.818 7.564c-2.894-3.738-6.817-6.568-11.319-8.02m0 0a22.5 22.5 0 0 0-6.928-1.087h-5.362a22.5 22.5 0 0 0-8.21 1.543m20.5-.457c-.769 6.205-1.94 11.344-4.166 14.326M17.97 34.514c.795 6 2.477 10.96 4.648 13.869"}))),plane:e=>i.createElement("svg",_({xmlns:"http://www.w3.org/2000/svg",width:59,height:52,fill:"none"},e),u||(u=i.createElement("path",{fill:"#FEDD00",d:"M36.914 24.713 23.144 36.39 2.527 45.025 1.285 43.37l23.2-20.229V6.574L29.043 1.2l5.385 5.374.456 16.568z"})),v||(v=i.createElement("path",{stroke:"#000",strokeWidth:2.6,d:"m26.066 50.914-.927-15.36-21.685 9.424a1.54 1.54 0 0 1-1.61-2.588l22.579-19.13V6.872c0-.563.195-1.11.552-1.548l2.542-3.114a2.47 2.47 0 0 1 1.846-.91c.688.022 1.369.325 1.846.91l2.542 3.114c.357.438.553.985.553 1.548V23.26l22.578 19.13a1.54 1.54 0 0 1-1.61 2.588l-21.685-9.423-.927 15.36"}))),train:e=>i.createElement("svg",x({xmlns:"http://www.w3.org/2000/svg",width:65,height:50,fill:"none"},e),f||(f=i.createElement("path",{fill:"#FEDD00",d:"M31.071 9.41H6.292v23.302l9.3-.124 30.459-22.121-5.056-1.056z"})),p||(p=i.createElement("path",{fill:"#000",fillRule:"evenodd",stroke:"#000",strokeWidth:.767,d:"m58.344 25.623-1.69-4.399-.01.005-.169-.465c-.14-.385-1.441-3.918-3.465-6.37l-.004-.001-.084-.102a14 14 0 0 0-.938-.996c-2.788-2.73-6.98-4.26-11.836-4.26H6.129v1.034h34.019c4.014 0 7.587 1.097 10.18 3.157l1.099.874h-9.196c-.3 0-.531.238-.531.517v6.336c0 .28.23.516.53.516h13.384l1.734 4.515a4.1 4.1 0 0 1-.48 3.87 4.22 4.22 0 0 1-3.49 1.807H33.903v1.033h19.272l.003-.003h.203a5.33 5.33 0 0 0 4.367-2.258 5.15 5.15 0 0 0 .596-4.81ZM10.416 15.225c0-.278.231-.516.532-.516h6.733c.3 0 .532.238.532.516v4.768c0 .278-.231.517-.532.517h-6.733a.524.524 0 0 1-.532-.517zm10.466 0c0-.278.23-.516.531-.516h6.92c.3 0 .531.238.531.516v4.768c0 .278-.23.517-.531.517h-6.92a.524.524 0 0 1-.531-.517zm10.348 0c0-.278.23-.516.531-.516h7.285c.3 0 .531.238.531.516v4.768c0 .278-.23.517-.531.517H31.76a.524.524 0 0 1-.531-.517zm21.028-.092h-9.496v5.303h12.46l-.3-.686c-.522-1.195-1.398-2.983-2.517-4.427zm-35.112.609h-5.67v3.734h5.67zm10.656 0h-5.858v3.734h5.858zm10.712 0h-6.222v3.734h6.222zM6.13 32.694v-1.033h9.161v1.033zm11.185 3.72v-1.006H58.87v1.033h-4.199v3.49h4.2v1.033H6.128v-1.033h3.55v-3.49H6.13v-1.033h10.204v1.006zm-1.022.027h-5.55v3.49h5.55zm5.94 0h-4.878v3.49h4.877zm6.427 0h-5.365v3.49h5.365zm6.245 0h-5.183v3.49h5.183zm6.183 0h-5.12v3.49h5.12zm6.368 0H42.15v3.49h5.306zm6.155 0h-5.092v3.49h5.092z",clipRule:"evenodd"})))},w=({className:e,features:t,fluidMode:l,mobileIconHeight:r="40em",tabletIconHeight:a="50em",desktopIconHeight:c="50em"})=>{const h=(0,o.u)(l),m={"--promo-icon-height-mobile":r,"--promo-icon-height-tablet":a,"--promo-icon-height-desktop":c};return(0,n.jsx)("ul",{className:(0,s.L)("PromoFeatures-module__root--DJbC2",h,e),style:m,children:t.map(e=>(0,n.jsxs)("li",{className:"PromoFeatures-module__item--Y5CKb",children:[(0,n.jsx)("div",{className:"PromoFeatures-module__icon--GuJuT",children:"string"==typeof e.icon&&e.icon in j?i.default.createElement(j[e.icon]):e.icon}),(0,n.jsx)("h3",{className:"PromoFeatures-module__title--Tihb3",children:e.title}),(0,n.jsx)("div",{className:"PromoFeatures-module__divider--vfd6P"}),(0,n.jsx)("p",{className:"PromoFeatures-module__text--N_eji",children:e.text})]},e.title))})};export{w as default};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
type TTheme = 'yellow' | 'black';
|
|
3
|
+
type TTag = 'section' | 'footer' | 'header' | 'div';
|
|
4
|
+
export interface SectionProps extends Omit<React.HTMLAttributes<HTMLElement>, 'className'> {
|
|
5
|
+
className?: string;
|
|
6
|
+
theme?: TTheme;
|
|
7
|
+
id?: string;
|
|
8
|
+
fluidMode?: boolean;
|
|
9
|
+
as?: TTag;
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
}
|
|
12
|
+
declare const Section: React.FC<SectionProps>;
|
|
13
|
+
export default Section;
|
|
14
|
+
//# sourceMappingURL=Section.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Section.d.ts","sourceRoot":"","sources":["../../../src/rh-components/Section/Section.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,KAAK,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEjC,KAAK,IAAI,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,KAAK,CAAC;AAEpD,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,WAAW,CAAC;IACxF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,EAAE,CAAC,EAAE,IAAI,CAAC;IACV,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAOD,QAAA,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAyBnC,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
.Section-module__section--qmgjG {
|
|
2
|
+
padding: 80em var(--side-padding);
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.Section-module__themeYellow--TpLu_ {
|
|
6
|
+
--text-color: var(--color-black, #000);
|
|
7
|
+
background-color: var(--color-yellow, #FEDD00);
|
|
8
|
+
color: var(--text-color);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.Section-module__themeBlack--S5jGY {
|
|
12
|
+
--text-color: var(--color-white, #fff);
|
|
13
|
+
background-color: var(--color-black, #000);
|
|
14
|
+
color: var(--text-color);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@media (min-width: 1152px) {
|
|
18
|
+
.Section-module__section--qmgjG {
|
|
19
|
+
padding-bottom: 100em;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@font-face {
|
|
24
|
+
font-family: 'Aeonik';
|
|
25
|
+
src: url('https://of.worldota.net/fonts/aeonik/Aeonik-Bold.woff2') format('woff2');
|
|
26
|
+
font-weight: 900;
|
|
27
|
+
font-style: normal;
|
|
28
|
+
font-display: swap;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@font-face {
|
|
32
|
+
font-family: 'Aeonik';
|
|
33
|
+
src: url('https://of.worldota.net/fonts/aeonik/Aeonik-Regular.woff2') format('woff2');
|
|
34
|
+
font-weight: 400;
|
|
35
|
+
font-style: normal;
|
|
36
|
+
font-display: swap;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@font-face {
|
|
40
|
+
font-family: 'ABCGravity';
|
|
41
|
+
src: url('https://of.worldota.net/fonts/ABCGravity/ABCGravity.woff2') format('woff2');
|
|
42
|
+
font-weight: 900;
|
|
43
|
+
font-style: normal;
|
|
44
|
+
font-display: swap;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.layout-module__fluidLayout--BNE04[class] {
|
|
48
|
+
font-size: 1rem;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.layout-module__staticLayout--x_6dR[class] {
|
|
52
|
+
font-size: 1px;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.layout-module__fluidLayout--BNE04[class], .layout-module__staticLayout--x_6dR[class] {
|
|
56
|
+
--side-padding: 18em;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@media (min-width: 500px) {
|
|
60
|
+
|
|
61
|
+
.layout-module__fluidLayout--BNE04[class], .layout-module__staticLayout--x_6dR[class] {
|
|
62
|
+
--side-padding: 24em;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rh-components/Section/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"react/jsx-runtime";var t={39:(e,t,o)=>{o.d(t,{L:()=>r});const r=(...e)=>e.filter(Boolean).join(" ")},130:(e,t,o)=>{o.d(t,{N:()=>l,u:()=>a}),o(178);var r=o(992);const l=({children:e,fluidMode:t=!1})=>{fluidModeState.state=t;const o=`\n ${t?fluidLayoutCss:staticLayoutCss};\n `;return _jsxs(_Fragment,{children:[_jsx("style",{dangerouslySetInnerHTML:{__html:o}}),e]})},a=e=>(e=>{if("boolean"==typeof e)return e;if("undefined"!=typeof document){const e=document.documentElement.getAttribute("data-fluid-mode");if(null!==e)return"true"===e}return r.b.state})(e)?"layout-module__fluidLayout--BNE04":"layout-module__staticLayout--x_6dR"},178:(t,o,r)=>{var l,a;t.exports=(l={jsx:()=>e.jsx},a={},r.d(a,l),a)},992:(e,t,o)=>{o.d(t,{b:()=>r}),globalThis.__fluidModeState||(globalThis.__fluidModeState={state:!1});const r=globalThis.__fluidModeState}},o={};function r(e){var l=o[e];if(void 0!==l)return l.exports;var a=o[e]={exports:{}};return t[e](a,a.exports,r),a.exports}r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var l=r(178),a=r(39);var n=r(130);const d={yellow:"Section-module__themeYellow--TpLu_",black:"Section-module__themeBlack--S5jGY"},s=({className:e,theme:t,id:o,fluidMode:r,as:s="section",children:u,...i})=>{const c=(0,n.u)(r);return(0,l.jsx)(s,{...i,id:o,className:(0,a.L)("Section-module__section--qmgjG",c,t&&d[t],e),children:u})};export{s as default};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
type TAlign = 'left' | 'center';
|
|
3
|
+
type THeadingLevel = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
4
|
+
export interface SectionTitleProps {
|
|
5
|
+
className?: string;
|
|
6
|
+
title: string;
|
|
7
|
+
align?: TAlign;
|
|
8
|
+
alignMobile?: TAlign;
|
|
9
|
+
alignTablet?: TAlign;
|
|
10
|
+
alignDesktop?: TAlign;
|
|
11
|
+
fluidMode?: boolean;
|
|
12
|
+
as?: THeadingLevel;
|
|
13
|
+
}
|
|
14
|
+
declare const SectionTitle: React.FC<SectionTitleProps>;
|
|
15
|
+
export default SectionTitle;
|
|
16
|
+
//# sourceMappingURL=SectionTitle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SectionTitle.d.ts","sourceRoot":"","sources":["../../../src/rh-components/SectionTitle/SectionTitle.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,KAAK,MAAM,GAAG,MAAM,GAAG,QAAQ,CAAC;AAEhC,KAAK,aAAa,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE7D,MAAM,WAAW,iBAAiB;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IAEd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,EAAE,CAAC,EAAE,aAAa,CAAC;CACpB;AAsBD,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAiC7C,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
.SectionTitle-module__title--uw_Rp {
|
|
2
|
+
font-family: ABCGravity, sans-serif;
|
|
3
|
+
font-weight: 900;
|
|
4
|
+
line-height: 0.9;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.SectionTitle-module__titleText--l9CQA {
|
|
8
|
+
font-size: var(--title-font-size, 44em);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@media (min-width: 500px) {
|
|
12
|
+
|
|
13
|
+
.SectionTitle-module__titleText--l9CQA {
|
|
14
|
+
--title-font-size: 52em;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@media (min-width: 1152px) {
|
|
19
|
+
|
|
20
|
+
.SectionTitle-module__titleText--l9CQA {
|
|
21
|
+
--title-font-size: 80em;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.SectionTitle-module__center--JEIDM {
|
|
26
|
+
text-align: center;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.SectionTitle-module__left--fJSYS {
|
|
30
|
+
text-align: left;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.SectionTitle-module__centerMobile--Rnb_P {
|
|
34
|
+
text-align: center;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.SectionTitle-module__leftMobile--_VKay {
|
|
38
|
+
text-align: left;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@media (min-width: 500px) {
|
|
42
|
+
.SectionTitle-module__centerTablet--Eh73B {
|
|
43
|
+
text-align: center;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.SectionTitle-module__leftTablet--Uftlk {
|
|
47
|
+
text-align: left;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@media (min-width: 1152px) {
|
|
52
|
+
.SectionTitle-module__centerDesktop--xng2q {
|
|
53
|
+
text-align: center;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.SectionTitle-module__leftDesktop--RJrMW {
|
|
57
|
+
text-align: left;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@font-face {
|
|
62
|
+
font-family: 'Aeonik';
|
|
63
|
+
src: url('https://of.worldota.net/fonts/aeonik/Aeonik-Bold.woff2') format('woff2');
|
|
64
|
+
font-weight: 900;
|
|
65
|
+
font-style: normal;
|
|
66
|
+
font-display: swap;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@font-face {
|
|
70
|
+
font-family: 'Aeonik';
|
|
71
|
+
src: url('https://of.worldota.net/fonts/aeonik/Aeonik-Regular.woff2') format('woff2');
|
|
72
|
+
font-weight: 400;
|
|
73
|
+
font-style: normal;
|
|
74
|
+
font-display: swap;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
@font-face {
|
|
78
|
+
font-family: 'ABCGravity';
|
|
79
|
+
src: url('https://of.worldota.net/fonts/ABCGravity/ABCGravity.woff2') format('woff2');
|
|
80
|
+
font-weight: 900;
|
|
81
|
+
font-style: normal;
|
|
82
|
+
font-display: swap;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.layout-module__fluidLayout--BNE04[class] {
|
|
86
|
+
font-size: 1rem;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.layout-module__staticLayout--x_6dR[class] {
|
|
90
|
+
font-size: 1px;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.layout-module__fluidLayout--BNE04[class], .layout-module__staticLayout--x_6dR[class] {
|
|
94
|
+
--side-padding: 18em;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
@media (min-width: 500px) {
|
|
98
|
+
|
|
99
|
+
.layout-module__fluidLayout--BNE04[class], .layout-module__staticLayout--x_6dR[class] {
|
|
100
|
+
--side-padding: 24em;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rh-components/SectionTitle/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"react/jsx-runtime";var t={39:(e,t,l)=>{l.d(t,{L:()=>o});const o=(...e)=>e.filter(Boolean).join(" ")},130:(e,t,l)=>{l.d(t,{N:()=>n,u:()=>i}),l(178);var o=l(992);const n=({children:e,fluidMode:t=!1})=>{fluidModeState.state=t;const l=`\n ${t?fluidLayoutCss:staticLayoutCss};\n `;return _jsxs(_Fragment,{children:[_jsx("style",{dangerouslySetInnerHTML:{__html:l}}),e]})},i=e=>(e=>{if("boolean"==typeof e)return e;if("undefined"!=typeof document){const e=document.documentElement.getAttribute("data-fluid-mode");if(null!==e)return"true"===e}return o.b.state})(e)?"layout-module__fluidLayout--BNE04":"layout-module__staticLayout--x_6dR"},178:(t,l,o)=>{var n,i;t.exports=(n={jsx:()=>e.jsx},i={},o.d(i,n),i)},992:(e,t,l)=>{l.d(t,{b:()=>o}),globalThis.__fluidModeState||(globalThis.__fluidModeState={state:!1});const o=globalThis.__fluidModeState}},l={};function o(e){var n=l[e];if(void 0!==n)return n.exports;var i=l[e]={exports:{}};return t[e](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var l in t)o.o(t,l)&&!o.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,get:t[l]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var n=o(178),i=o(39);const r="SectionTitle-module__title--uw_Rp";var a=o(130);const s={left:"SectionTitle-module__left--fJSYS",center:"SectionTitle-module__center--JEIDM"},d={left:"SectionTitle-module__leftMobile--_VKay",center:"SectionTitle-module__centerMobile--Rnb_P"},u={left:"SectionTitle-module__leftTablet--Uftlk",center:"SectionTitle-module__centerTablet--Eh73B"},c={left:"SectionTitle-module__leftDesktop--RJrMW",center:"SectionTitle-module__centerDesktop--xng2q"},_=({className:e="",title:t,align:l="left",alignMobile:o,alignTablet:_,alignDesktop:f,fluidMode:m,as:p="h2",...T})=>{const b=(0,a.u)(m);return(0,n.jsx)("div",{...T,className:(0,i.L)(r,b,s[l],o&&d[o],_&&u[_],f&&c[f],e),children:(0,n.jsx)(p,{className:r,children:(0,n.jsx)("span",{className:"SectionTitle-module__titleText--l9CQA",children:t})})})};export{_ as default};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
type TAlign = 'left' | 'center';
|
|
3
|
+
type TTag = 'p' | 'span' | 'div';
|
|
4
|
+
export interface TextProps {
|
|
5
|
+
className?: string;
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
align?: TAlign;
|
|
8
|
+
alignMobile?: TAlign;
|
|
9
|
+
alignTablet?: TAlign;
|
|
10
|
+
alignDesktop?: TAlign;
|
|
11
|
+
as?: TTag;
|
|
12
|
+
fluidMode?: boolean;
|
|
13
|
+
}
|
|
14
|
+
declare const Text: React.FC<TextProps>;
|
|
15
|
+
export default Text;
|
|
16
|
+
//# sourceMappingURL=Text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../src/rh-components/Text/Text.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,KAAK,MAAM,GAAG,MAAM,GAAG,QAAQ,CAAC;AAChC,KAAK,IAAI,GAAG,GAAG,GAAG,MAAM,GAAG,KAAK,CAAC;AAEjC,MAAM,WAAW,SAAS;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAE1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,EAAE,CAAC,EAAE,IAAI,CAAC;IACV,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAsBD,QAAA,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA+B7B,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
.Text-module__textContainer--iQeaj {
|
|
2
|
+
line-height: var(--text-line-height, 1.23);
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.Text-module__text--X_l8e {
|
|
6
|
+
font-size: 16em;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.Text-module__center--oxKFj {
|
|
10
|
+
text-align: center;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.Text-module__left--RzKTw {
|
|
14
|
+
text-align: left;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.Text-module__centerMobile--QfiCW {
|
|
18
|
+
text-align: center;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.Text-module__leftMobile--ZT3Y6 {
|
|
22
|
+
text-align: left;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@media (min-width: 500px) {
|
|
26
|
+
.Text-module__centerTablet--QTnx5 {
|
|
27
|
+
text-align: center;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.Text-module__leftTablet--Oy43k {
|
|
31
|
+
text-align: left;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@media (min-width: 1152px) {
|
|
36
|
+
.Text-module__text--X_l8e {
|
|
37
|
+
font-size: 20em;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.Text-module__centerDesktop--RWenh {
|
|
41
|
+
text-align: center;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.Text-module__leftDesktop--Bw5gb {
|
|
45
|
+
text-align: left;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
@font-face {
|
|
50
|
+
font-family: 'Aeonik';
|
|
51
|
+
src: url('https://of.worldota.net/fonts/aeonik/Aeonik-Bold.woff2') format('woff2');
|
|
52
|
+
font-weight: 900;
|
|
53
|
+
font-style: normal;
|
|
54
|
+
font-display: swap;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
@font-face {
|
|
58
|
+
font-family: 'Aeonik';
|
|
59
|
+
src: url('https://of.worldota.net/fonts/aeonik/Aeonik-Regular.woff2') format('woff2');
|
|
60
|
+
font-weight: 400;
|
|
61
|
+
font-style: normal;
|
|
62
|
+
font-display: swap;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
@font-face {
|
|
66
|
+
font-family: 'ABCGravity';
|
|
67
|
+
src: url('https://of.worldota.net/fonts/ABCGravity/ABCGravity.woff2') format('woff2');
|
|
68
|
+
font-weight: 900;
|
|
69
|
+
font-style: normal;
|
|
70
|
+
font-display: swap;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.layout-module__fluidLayout--BNE04[class] {
|
|
74
|
+
font-size: 1rem;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.layout-module__staticLayout--x_6dR[class] {
|
|
78
|
+
font-size: 1px;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.layout-module__fluidLayout--BNE04[class], .layout-module__staticLayout--x_6dR[class] {
|
|
82
|
+
--side-padding: 18em;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
@media (min-width: 500px) {
|
|
86
|
+
|
|
87
|
+
.layout-module__fluidLayout--BNE04[class], .layout-module__staticLayout--x_6dR[class] {
|
|
88
|
+
--side-padding: 24em;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rh-components/Text/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"react/jsx-runtime";var t={39:(e,t,o)=>{o.d(t,{L:()=>l});const l=(...e)=>e.filter(Boolean).join(" ")},130:(e,t,o)=>{o.d(t,{N:()=>n,u:()=>r}),o(178);var l=o(992);const n=({children:e,fluidMode:t=!1})=>{fluidModeState.state=t;const o=`\n ${t?fluidLayoutCss:staticLayoutCss};\n `;return _jsxs(_Fragment,{children:[_jsx("style",{dangerouslySetInnerHTML:{__html:o}}),e]})},r=e=>(e=>{if("boolean"==typeof e)return e;if("undefined"!=typeof document){const e=document.documentElement.getAttribute("data-fluid-mode");if(null!==e)return"true"===e}return l.b.state})(e)?"layout-module__fluidLayout--BNE04":"layout-module__staticLayout--x_6dR"},178:(t,o,l)=>{var n,r;t.exports=(n={jsx:()=>e.jsx},r={},l.d(r,n),r)},992:(e,t,o)=>{o.d(t,{b:()=>l}),globalThis.__fluidModeState||(globalThis.__fluidModeState={state:!1});const l=globalThis.__fluidModeState}},o={};function l(e){var n=o[e];if(void 0!==n)return n.exports;var r=o[e]={exports:{}};return t[e](r,r.exports,l),r.exports}l.d=(e,t)=>{for(var o in t)l.o(t,o)&&!l.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var n=l(178),r=l(39);var a=l(130);const d={left:"Text-module__left--RzKTw",center:"Text-module__center--oxKFj"},s={left:"Text-module__leftMobile--ZT3Y6",center:"Text-module__centerMobile--QfiCW"},u={left:"Text-module__leftTablet--Oy43k",center:"Text-module__centerTablet--QTnx5"},i={left:"Text-module__leftDesktop--Bw5gb",center:"Text-module__centerDesktop--RWenh"},_=({className:e="",children:t,align:o="left",alignMobile:l,alignTablet:_,alignDesktop:c,as:f="p",fluidMode:x,...m})=>{const T=(0,a.u)(x);return(0,n.jsx)(f,{...m,className:(0,r.L)("Text-module__textContainer--iQeaj",T,d[o],l&&s[l],_&&u[_],c&&i[c],e),children:(0,n.jsx)("span",{className:"Text-module__text--X_l8e",children:t})})};export{_ as default};
|
|
@@ -11,4 +11,12 @@ export type { HotelsLandingProps } from './HotelsLanding';
|
|
|
11
11
|
export { default as HotelsLanding } from './HotelsLanding';
|
|
12
12
|
export type { HotelsSectionProps } from './HotelsSection';
|
|
13
13
|
export { default as HotelsSection } from './HotelsSection';
|
|
14
|
+
export type { PromoFeaturesProps, PromoFeature } from './PromoFeatures';
|
|
15
|
+
export { default as PromoFeatures } from './PromoFeatures';
|
|
16
|
+
export type { SectionProps } from './Section';
|
|
17
|
+
export { default as Section } from './Section';
|
|
18
|
+
export type { SectionTitleProps } from './SectionTitle';
|
|
19
|
+
export { default as SectionTitle } from './SectionTitle';
|
|
20
|
+
export type { TextProps } from './Text';
|
|
21
|
+
export { default as Text } from './Text';
|
|
14
22
|
//# sourceMappingURL=index.d.ts.map
|