iceholidays-frontend 0.3.0 → 0.4.0
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.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/iceholidays/frontend/application.sass.scss +1588 -0
- data/app/assets/stylesheets/iceholidays/frontend/common.scss +233 -0
- data/app/assets/stylesheets/iceholidays/frontend/layout.scss +188 -0
- data/app/assets/stylesheets/iceholidays/frontend/utils/_antd_overrides.scss +107 -0
- data/app/assets/stylesheets/iceholidays/frontend/utils/_variables.scss +3 -0
- data/app/assets/stylesheets/iceholidays/frontend/widgets/filter_pills.scss +45 -0
- data/app/assets/stylesheets/iceholidays/frontend/widgets/search_bar.scss +112 -0
- data/app/controllers/iceholidays/frontend/site_controller.rb +32 -0
- data/app/javascript/api-services/banners-api.service.ts +28 -0
- data/app/javascript/api-services/locations-api.service.ts +49 -0
- data/app/javascript/api-services/search-api.service.ts +16 -0
- data/app/javascript/api-services/series-api.service.ts +44 -0
- data/app/javascript/api-services/testimonials-api.service.ts +27 -0
- data/app/javascript/interfaces/banner.interface.ts +10 -0
- data/app/javascript/interfaces/country.interface.ts +18 -0
- data/app/javascript/interfaces/itinerary.interface.ts +18 -0
- data/app/javascript/interfaces/testimonial.interface.ts +6 -0
- data/app/javascript/react/App.tsx +32 -0
- data/app/javascript/react/components/Destinations.tsx +72 -141
- data/app/javascript/react/components/Testimonials.tsx +68 -61
- data/app/javascript/react/components/shared/Headline.tsx +29 -0
- data/app/javascript/react/components/shared/Postcard.tsx +31 -0
- data/app/javascript/react/components/shared/RibbonSection.tsx +21 -0
- data/app/javascript/react/index.js +3 -5
- data/app/javascript/react/layouts/MainFooter.tsx +72 -0
- data/app/javascript/react/layouts/MainHeader.tsx +45 -0
- data/app/javascript/react/layouts/MainLayout.tsx +21 -0
- data/app/javascript/react/pages/AboutUsPage.tsx +95 -0
- data/app/javascript/react/pages/BlogPage.tsx +79 -0
- data/app/javascript/react/pages/BlogShowPage.tsx +43 -0
- data/app/javascript/react/pages/ContactAgentsPage.tsx +16 -0
- data/app/javascript/react/pages/ContactUsPage.tsx +122 -0
- data/app/javascript/react/pages/CountriesPage.tsx +62 -0
- data/app/javascript/react/pages/Homepage.tsx +90 -0
- data/app/javascript/react/pages/ListingPage.tsx +246 -0
- data/app/javascript/react/pages/ShowPage.tsx +397 -0
- data/app/javascript/react/widgets/FilterPills.tsx +77 -0
- data/app/javascript/react/widgets/SearchBarWidget.tsx +42 -0
- data/app/views/iceholidays/frontend/site/index.html.erb +1 -24
- data/app/views/layouts/iceholidays/frontend/application.html.erb +2 -6
- data/config/routes.rb +9 -0
- data/lib/iceholidays/frontend/version.rb +1 -1
- data/public/iceholidays-assets/application.css +1873 -0
- data/public/iceholidays-assets/application.js +225 -651
- data/public/iceholidays-assets/application.js.map +4 -4
- data/public/iceholidays-assets/images/8D7N.png +0 -0
- data/public/iceholidays-assets/images/about_us.png +0 -0
- data/public/iceholidays-assets/images/about_us2.png +0 -0
- data/public/iceholidays-assets/images/blog.png +0 -0
- data/public/iceholidays-assets/images/blog1.png +0 -0
- data/public/iceholidays-assets/images/certificate1.png +0 -0
- data/public/iceholidays-assets/images/certificate2.png +0 -0
- data/public/iceholidays-assets/images/china_listings_cover.png +0 -0
- data/public/iceholidays-assets/images/china_southern_airlines.png +0 -0
- data/public/iceholidays-assets/images/china_southern_airlines_icon.png +0 -0
- data/public/iceholidays-assets/images/competitiveness.png +0 -0
- data/public/iceholidays-assets/images/contact_agents.png +0 -0
- data/public/iceholidays-assets/images/contact_us.png +0 -0
- data/public/iceholidays-assets/images/contact_us_form.png +0 -0
- data/public/iceholidays-assets/images/ethical.png +0 -0
- data/public/iceholidays-assets/images/hw_logo.png +0 -0
- data/public/iceholidays-assets/images/innovative.png +0 -0
- data/public/iceholidays-assets/images/plane.png +0 -0
- data/public/iceholidays-assets/images/social/ico_fb.png +0 -0
- data/public/iceholidays-assets/images/social/ico_ig.png +0 -0
- data/public/iceholidays-assets/images/social/ico_twitter.png +0 -0
- data/public/iceholidays-assets/images/social/ico_yt.png +0 -0
- data/public/iceholidays-assets/images/social.png +0 -0
- data/public/iceholidays-assets/images/tour1.png +0 -0
- metadata +61 -49
- data/app/assets/stylesheets/iceholidays/frontend/application.scss +0 -904
- data/app/javascript/react/components/Homepage.tsx +0 -15
- data/app/javascript/react/components/HomepageBanner.tsx +0 -62
- data/app/views/layouts/iceholidays/frontend/shared/_footer.html.erb +0 -42
- data/app/views/layouts/iceholidays/frontend/shared/_header.html.erb +0 -20
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
#headline{
|
|
4
|
+
//can change to container width
|
|
5
|
+
--side-padding: 10%;
|
|
6
|
+
|
|
7
|
+
&_banner{
|
|
8
|
+
// width: 1440px;
|
|
9
|
+
height: 352px;
|
|
10
|
+
background-size: cover;
|
|
11
|
+
background-repeat: no-repeat;
|
|
12
|
+
background-position: center center;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&_header{
|
|
16
|
+
padding: 20px var(--side-padding);
|
|
17
|
+
// width: 1440px;
|
|
18
|
+
// height: 106px;
|
|
19
|
+
top: 398px;
|
|
20
|
+
gap: 0px;
|
|
21
|
+
opacity: 0px;
|
|
22
|
+
background: linear-gradient(270deg, #AA853E 0%, #F9E298 33.5%, #FFF3A6 50%, #F9E298 65.5%, #E1B65B 100%),
|
|
23
|
+
linear-gradient(40.85deg, rgba(170, 133, 62, 0.5) -614.19%, rgba(249, 225, 151, 0.5) -547.57%);
|
|
24
|
+
|
|
25
|
+
h1{
|
|
26
|
+
// width: 314px;
|
|
27
|
+
// height: 68px;
|
|
28
|
+
margin: 0;
|
|
29
|
+
|
|
30
|
+
font-family: $font-default;
|
|
31
|
+
font-size: 45px;
|
|
32
|
+
font-weight: 400;
|
|
33
|
+
line-height: 67.5px;
|
|
34
|
+
letter-spacing: 0.05em;
|
|
35
|
+
text-align: left;
|
|
36
|
+
text-underline-position: from-font;
|
|
37
|
+
text-decoration-skip-ink: none;
|
|
38
|
+
color: #5B4713;
|
|
39
|
+
text-transform: uppercase;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
// .country-filter.ant-select{
|
|
43
|
+
// line-height: 35px;
|
|
44
|
+
// width: 170px;
|
|
45
|
+
|
|
46
|
+
// .ant-select-selector{
|
|
47
|
+
// padding: 3px 40px 3px 15px;
|
|
48
|
+
// border-radius: 30px;
|
|
49
|
+
// height: 36px;
|
|
50
|
+
// }
|
|
51
|
+
|
|
52
|
+
// .ant-select-selection-item{
|
|
53
|
+
// font-family: $font-default;
|
|
54
|
+
// font-size: 20px;
|
|
55
|
+
// font-weight: 500;
|
|
56
|
+
// line-height: 30px;
|
|
57
|
+
// letter-spacing: 0.05em;
|
|
58
|
+
// text-align: left;
|
|
59
|
+
// text-underline-position: from-font;
|
|
60
|
+
// text-decoration-skip-ink: none;
|
|
61
|
+
// color: #836848;
|
|
62
|
+
// }
|
|
63
|
+
|
|
64
|
+
// .ant-select-arrow{
|
|
65
|
+
// inset-inline-end: 20px;
|
|
66
|
+
// color: #836848;
|
|
67
|
+
// }
|
|
68
|
+
// }
|
|
69
|
+
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.ant-breadcrumb{
|
|
73
|
+
padding: 10px var(--side-padding);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.date-selector{
|
|
78
|
+
background: #F5F5F5;
|
|
79
|
+
// width: Fixed (516px)px;
|
|
80
|
+
padding: 15px 24px;
|
|
81
|
+
border-radius: 10px;
|
|
82
|
+
display: inline-flex;
|
|
83
|
+
gap: 8px;
|
|
84
|
+
width: 100%;
|
|
85
|
+
flex-wrap: wrap;
|
|
86
|
+
box-sizing: border-box;
|
|
87
|
+
|
|
88
|
+
span{
|
|
89
|
+
border-width: 1px;
|
|
90
|
+
border-style: solid;
|
|
91
|
+
border-radius: 20px;
|
|
92
|
+
background: #FFFFFF;
|
|
93
|
+
font-family: $font-default;
|
|
94
|
+
font-size: 12px;
|
|
95
|
+
font-weight: 400;
|
|
96
|
+
line-height: 18px;
|
|
97
|
+
letter-spacing: 0.05em;
|
|
98
|
+
text-align: center;
|
|
99
|
+
text-underline-position: from-font;
|
|
100
|
+
text-decoration-skip-ink: none;
|
|
101
|
+
color: #999999;
|
|
102
|
+
padding: 2px 8px 2px 8px;
|
|
103
|
+
cursor: pointer;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.show-all-dates{
|
|
107
|
+
font-family: $font-default;
|
|
108
|
+
font-size: 11px;
|
|
109
|
+
font-weight: 400;
|
|
110
|
+
line-height: 16.5px;
|
|
111
|
+
text-align: right;
|
|
112
|
+
text-underline-position: from-font;
|
|
113
|
+
text-decoration-skip-ink: none;
|
|
114
|
+
color: $primary-color;
|
|
115
|
+
display: inline-flex;
|
|
116
|
+
gap: 5px;
|
|
117
|
+
cursor: pointer;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.postcards{
|
|
122
|
+
display: grid;
|
|
123
|
+
grid-template-columns: repeat(2, 1fr);
|
|
124
|
+
grid-template-rows: repeat(2, 1fr);
|
|
125
|
+
gap: 20px;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.postcard{
|
|
129
|
+
border-radius: 20px;
|
|
130
|
+
overflow: hidden;
|
|
131
|
+
width: 100%;
|
|
132
|
+
|
|
133
|
+
img{
|
|
134
|
+
width: 100%;
|
|
135
|
+
height: 230.5px;
|
|
136
|
+
gap: 0px;
|
|
137
|
+
opacity: 0px;
|
|
138
|
+
border-top-left-radius: 20px;
|
|
139
|
+
border-top-right-radius: 20px;
|
|
140
|
+
display: block;
|
|
141
|
+
object-fit: cover;
|
|
142
|
+
object-position: top center;
|
|
143
|
+
transition: transform 0.4s ease;
|
|
144
|
+
transform-origin: 50% 100%;
|
|
145
|
+
|
|
146
|
+
&:hover{
|
|
147
|
+
transform: scale(1.2);
|
|
148
|
+
width: 100%;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.details{
|
|
153
|
+
padding: 12px 20px 12px 20px;
|
|
154
|
+
gap: 0px;
|
|
155
|
+
border: 1px 0px 0px 0px;
|
|
156
|
+
justify-content: space-between;
|
|
157
|
+
align-items: center;
|
|
158
|
+
opacity: 0px;
|
|
159
|
+
background: $primary-color;
|
|
160
|
+
display: flex;;
|
|
161
|
+
border-bottom-left-radius: 20px;
|
|
162
|
+
border-bottom-right-radius: 20px;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.name{
|
|
166
|
+
font-family: $font-default;
|
|
167
|
+
font-size: 20px;
|
|
168
|
+
font-weight: 400;
|
|
169
|
+
line-height: 30px;
|
|
170
|
+
letter-spacing: 0.05em;
|
|
171
|
+
text-align: left;
|
|
172
|
+
text-underline-position: from-font;
|
|
173
|
+
text-decoration-skip-ink: none;
|
|
174
|
+
text-transform: uppercase;
|
|
175
|
+
color: #FFFFFF;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.tour-count{
|
|
179
|
+
font-family: $font-default;
|
|
180
|
+
font-size: 14px;
|
|
181
|
+
font-weight: 400;
|
|
182
|
+
line-height: 21px;
|
|
183
|
+
letter-spacing: 0.05em;
|
|
184
|
+
text-align: right;
|
|
185
|
+
text-underline-position: from-font;
|
|
186
|
+
text-decoration-skip-ink: none;
|
|
187
|
+
color: #FFFFFF;
|
|
188
|
+
cursor: pointer;
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
svg{
|
|
192
|
+
vertical-align: middle;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
#ribbon-section{
|
|
198
|
+
background: #F7F4EB;
|
|
199
|
+
margin-top: 100px;
|
|
200
|
+
|
|
201
|
+
&_header{
|
|
202
|
+
height: 138px;
|
|
203
|
+
text-align: center;
|
|
204
|
+
position: relative;
|
|
205
|
+
background-image: url('/iceholidays-assets/images/Layer_1.png');
|
|
206
|
+
|
|
207
|
+
h1{
|
|
208
|
+
font-family: $font-default;
|
|
209
|
+
font-size: 45px;
|
|
210
|
+
font-weight: 200;
|
|
211
|
+
line-height: 67.5px;
|
|
212
|
+
letter-spacing: 0.06em;
|
|
213
|
+
text-underline-position: from-font;
|
|
214
|
+
text-decoration-skip-ink: none;
|
|
215
|
+
color: #5B4713;
|
|
216
|
+
text-transform: uppercase;
|
|
217
|
+
|
|
218
|
+
position: absolute;
|
|
219
|
+
bottom: 20px;
|
|
220
|
+
left: 50%;
|
|
221
|
+
transform: translate(-50%, 20px);
|
|
222
|
+
margin: 0;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.pre-wrap{
|
|
228
|
+
white-space: pre-wrap; /* css-3 */
|
|
229
|
+
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
|
|
230
|
+
white-space: -pre-wrap; /* Opera 4-6 */
|
|
231
|
+
white-space: -o-pre-wrap; /* Opera 7 */
|
|
232
|
+
word-wrap: break-word; /* Internet Explorer 5.5+ */
|
|
233
|
+
}
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
|
|
2
|
+
#main-header{
|
|
3
|
+
position: relative;
|
|
4
|
+
background: linear-gradient(241.37deg, #D1AC6E -108.33%, #D1AC6E -14.72%, $secondary-color -2.73%, #B68B31 108.18%);
|
|
5
|
+
width: 100%;
|
|
6
|
+
height: 50px;
|
|
7
|
+
display: flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
justify-content: space-around;
|
|
10
|
+
|
|
11
|
+
&>div{
|
|
12
|
+
display: flex;
|
|
13
|
+
align-items: center;
|
|
14
|
+
justify-content: space-around;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.nav-menu{
|
|
18
|
+
/* position: absolute; */
|
|
19
|
+
display: grid;
|
|
20
|
+
grid-template-columns: auto auto auto auto;
|
|
21
|
+
|
|
22
|
+
a{
|
|
23
|
+
color: white;
|
|
24
|
+
text-transform: uppercase;
|
|
25
|
+
font-family: $font-default;
|
|
26
|
+
font-size: 16px;
|
|
27
|
+
font-weight: 500;
|
|
28
|
+
line-height: 24px;
|
|
29
|
+
letter-spacing: 0.05em;
|
|
30
|
+
text-align: left;
|
|
31
|
+
text-underline-position: from-font;
|
|
32
|
+
text-decoration-skip-ink: none;
|
|
33
|
+
text-decoration: none;
|
|
34
|
+
|
|
35
|
+
&.active{
|
|
36
|
+
color: #5B4713;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
#left-menu{
|
|
43
|
+
top: 13px;
|
|
44
|
+
left: 183px;
|
|
45
|
+
gap: 35px;
|
|
46
|
+
opacity: 0px;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.logo{
|
|
50
|
+
width: 304px;
|
|
51
|
+
height: 66px;
|
|
52
|
+
left: 568px;
|
|
53
|
+
gap: 0px;
|
|
54
|
+
opacity: 0px;
|
|
55
|
+
z-index: 2;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
#right-menu{
|
|
59
|
+
top: 13px;
|
|
60
|
+
left: 877px;
|
|
61
|
+
gap: 35px;
|
|
62
|
+
opacity: 0px;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
#get-brochure{
|
|
66
|
+
position: absolute;
|
|
67
|
+
width: 152px;
|
|
68
|
+
/* height: 35px; */
|
|
69
|
+
top: 8px;
|
|
70
|
+
right: 20px;
|
|
71
|
+
|
|
72
|
+
button{
|
|
73
|
+
padding: 7px 8px 7px 8px;
|
|
74
|
+
border-radius: 20px;
|
|
75
|
+
border: 1px solid;
|
|
76
|
+
background: linear-gradient(287.63deg, #D1AC6E -19.9%, #D1AC6E 10.87%, #F9E298 26.63%, #B68B31 93.91%);
|
|
77
|
+
border-image-source: linear-gradient(0deg, rgba(255, 255, 255, 0.5) 0%, rgba(42, 42, 42, 0.5) 100%);
|
|
78
|
+
box-shadow: 0px 3px 10px 0px #AA853E80;
|
|
79
|
+
box-shadow: 0px 4px 4px 0px #F9F6F31A inset;
|
|
80
|
+
text-align: center;
|
|
81
|
+
text-transform: uppercase;
|
|
82
|
+
font-family: $font-default;
|
|
83
|
+
font-size: 14px;
|
|
84
|
+
font-weight: 500;
|
|
85
|
+
line-height: 21px;
|
|
86
|
+
letter-spacing: 0.05em;
|
|
87
|
+
text-align: left;
|
|
88
|
+
text-underline-position: from-font;
|
|
89
|
+
text-decoration-skip-ink: none;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
#main-footer{
|
|
95
|
+
// width: 1440px;
|
|
96
|
+
height: 321px;
|
|
97
|
+
gap: 0px;
|
|
98
|
+
opacity: 0px;
|
|
99
|
+
background: linear-gradient(270deg, #AA853E 0%, $secondary-color 33.5%, #FFF3A6 50%, $secondary-color 65.5%, #E1B65B 100%),
|
|
100
|
+
linear-gradient(4.08deg, rgba(170, 133, 62, 0.5) -2.54%, rgba(249, 225, 151, 0.5) 7.02%);
|
|
101
|
+
position: relative;
|
|
102
|
+
|
|
103
|
+
&_links{
|
|
104
|
+
margin: auto;
|
|
105
|
+
height: 196px;
|
|
106
|
+
width: 70%;
|
|
107
|
+
display: flex;
|
|
108
|
+
align-items: center;
|
|
109
|
+
justify-content: space-between;
|
|
110
|
+
padding: 38px 0;
|
|
111
|
+
position: relative;
|
|
112
|
+
|
|
113
|
+
&> div{
|
|
114
|
+
height: 100%;
|
|
115
|
+
display: flex;
|
|
116
|
+
flex-direction: column;
|
|
117
|
+
justify-content: space-between;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
a{
|
|
121
|
+
font-family: $font-default;
|
|
122
|
+
font-size: 18px;
|
|
123
|
+
font-weight: 500;
|
|
124
|
+
line-height: 36px;
|
|
125
|
+
letter-spacing: 0.05em;
|
|
126
|
+
text-align: left;
|
|
127
|
+
text-underline-position: from-font;
|
|
128
|
+
text-decoration-skip-ink: none;
|
|
129
|
+
color: #AA853E;
|
|
130
|
+
text-transform: uppercase;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
div:has(> a+a){
|
|
134
|
+
display: grid;
|
|
135
|
+
grid-template-columns: repeat(2, 1fr);
|
|
136
|
+
grid-template-rows: repeat(4, 1fr);
|
|
137
|
+
column-gap: 34px;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.link-group-title{
|
|
141
|
+
font-family: $font-default;
|
|
142
|
+
font-size: 15px;
|
|
143
|
+
font-weight: 400;
|
|
144
|
+
line-height: 22.5px;
|
|
145
|
+
letter-spacing: 0.05em;
|
|
146
|
+
text-align: left;
|
|
147
|
+
text-underline-position: from-font;
|
|
148
|
+
text-decoration-skip-ink: none;
|
|
149
|
+
color: #5B4713;
|
|
150
|
+
height: 37px;
|
|
151
|
+
grid-row-start: 2 span;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
hr{
|
|
155
|
+
width: 100%;
|
|
156
|
+
height: 0px;
|
|
157
|
+
top: 258.34px;
|
|
158
|
+
left: 0;
|
|
159
|
+
gap: 0px;
|
|
160
|
+
border: 1px 0px 0px 0px;
|
|
161
|
+
opacity: 0px;
|
|
162
|
+
border: 1px solid #DFB16380;
|
|
163
|
+
position: absolute;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
#copyright{
|
|
169
|
+
height: 17px;
|
|
170
|
+
top: 282.28px;
|
|
171
|
+
left: 592px;
|
|
172
|
+
gap: 0px;
|
|
173
|
+
opacity: 0px;
|
|
174
|
+
position: absolute;
|
|
175
|
+
|
|
176
|
+
span{
|
|
177
|
+
font-family: $font-default;
|
|
178
|
+
font-size: 14px;
|
|
179
|
+
font-weight: 400;
|
|
180
|
+
line-height: 16.93px;
|
|
181
|
+
letter-spacing: 0.05em;
|
|
182
|
+
text-align: left;
|
|
183
|
+
text-underline-position: from-font;
|
|
184
|
+
text-decoration-skip-ink: none;
|
|
185
|
+
color: #AA853E;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
.ant-layout-content{
|
|
2
|
+
position: relative;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.ant-btn-variant-solid{
|
|
6
|
+
background-color: $primary-color;
|
|
7
|
+
color: #FFFFFF;
|
|
8
|
+
border-radius: 20px;
|
|
9
|
+
|
|
10
|
+
&:not(:disabled):not(.ant-btn-disabled):hover{
|
|
11
|
+
background-color: #AA853E;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.ant-btn-color-primary.ant-btn-variant-outlined{
|
|
16
|
+
border-color: $primary-color;
|
|
17
|
+
color: $primary-color;
|
|
18
|
+
border-radius: 20px;
|
|
19
|
+
|
|
20
|
+
&:not(:disabled):not(.ant-btn-disabled):hover{
|
|
21
|
+
--darkPrimaryColor: #AA853E;
|
|
22
|
+
border-color: var(--darkPrimaryColor);
|
|
23
|
+
color: var(--darkPrimaryColor);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.ant-btn-color-default.ant-btn-variant-filled{
|
|
28
|
+
color: $primary-color;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.ant-btn-color-primary {
|
|
32
|
+
box-shadow: 0 2px 0 rgb(220 176 98 / 10%);;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.ant-btn-sm{
|
|
36
|
+
font-size: 10px;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.ant-input-outlined,
|
|
40
|
+
.ant-picker-outlined{
|
|
41
|
+
&:hover, &:focus{
|
|
42
|
+
border-color: $primary-color;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&:focus{
|
|
46
|
+
box-shadow: 0 2px 0 rgb(220 176 98 / 10%);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
[class~='ant-carousel'] {
|
|
54
|
+
[class~='slick-dots'] {
|
|
55
|
+
bottom: 30px;
|
|
56
|
+
|
|
57
|
+
li {
|
|
58
|
+
width: 15px !important;
|
|
59
|
+
|
|
60
|
+
button{
|
|
61
|
+
width: 13px;
|
|
62
|
+
height: 13px;
|
|
63
|
+
border-radius: 100%;
|
|
64
|
+
background-color: transparent;
|
|
65
|
+
border: 1px solid #FFFFFF;
|
|
66
|
+
opacity: 1;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&.slick-active {
|
|
70
|
+
button {
|
|
71
|
+
width: 13px;
|
|
72
|
+
height: 13px;
|
|
73
|
+
border-radius: 100%;
|
|
74
|
+
background-color: white;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.slick-prev,
|
|
81
|
+
.slick-next{
|
|
82
|
+
width: unset;
|
|
83
|
+
height: unset;
|
|
84
|
+
|
|
85
|
+
&::after{
|
|
86
|
+
display: none;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
a{
|
|
93
|
+
color: $primary-color;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.ant-select-outlined:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer):hover .ant-select-selector{
|
|
97
|
+
border-color: $primary-color;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.ant-select-item-option-selected:not(.ant-select-item-option-disabled):has(.country-filter_option){
|
|
101
|
+
color: $primary-color !important;
|
|
102
|
+
background-color: #FFFFFF;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.ant-select-item-option:not(.ant-select-item-option-selected):has(.country-filter_option){
|
|
106
|
+
color: #00000080;
|
|
107
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
|
|
2
|
+
.filter-title{
|
|
3
|
+
font-family: $font-default;
|
|
4
|
+
font-size: 12px;
|
|
5
|
+
font-weight: 400;
|
|
6
|
+
line-height: 18px;
|
|
7
|
+
letter-spacing: 0.05em;
|
|
8
|
+
text-align: left;
|
|
9
|
+
text-underline-position: from-font;
|
|
10
|
+
text-decoration-skip-ink: none;
|
|
11
|
+
color: #545047;
|
|
12
|
+
}
|
|
13
|
+
.filter-pill{
|
|
14
|
+
padding: 6px 13px 6px 13px;
|
|
15
|
+
border-radius: 10px;
|
|
16
|
+
background: linear-gradient(360deg, $primary-color 5.04%, #F9E298 99.13%);
|
|
17
|
+
color: #836848;
|
|
18
|
+
cursor: pointer;
|
|
19
|
+
text-align: center;
|
|
20
|
+
min-width: 150px;
|
|
21
|
+
|
|
22
|
+
// &.year{
|
|
23
|
+
// min-width: 90px;
|
|
24
|
+
// }
|
|
25
|
+
|
|
26
|
+
// &.month{
|
|
27
|
+
// min-width: 150px;
|
|
28
|
+
// }
|
|
29
|
+
|
|
30
|
+
span{
|
|
31
|
+
font-family: $font-default;
|
|
32
|
+
font-size: 18px;
|
|
33
|
+
font-weight: 400;
|
|
34
|
+
line-height: 27px;
|
|
35
|
+
letter-spacing: 0.05em;
|
|
36
|
+
text-align: left;
|
|
37
|
+
text-underline-position: from-font;
|
|
38
|
+
text-decoration-skip-ink: none;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&.selected{
|
|
42
|
+
background: #836848;
|
|
43
|
+
color: #FFFFFF;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
|
|
2
|
+
.ant-input{
|
|
3
|
+
field-sizing: content;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
#search-bar{
|
|
8
|
+
width: 100%;
|
|
9
|
+
height: auto;
|
|
10
|
+
filter: drop-shadow(0 3px 3px #00000026) drop-shadow(0 1px 1px #DFB16399);
|
|
11
|
+
|
|
12
|
+
img{
|
|
13
|
+
display: none;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
#search-bar-widget{
|
|
17
|
+
width: 100%;
|
|
18
|
+
padding: 25px;
|
|
19
|
+
gap: 7px;
|
|
20
|
+
opacity: 0px;
|
|
21
|
+
background: #F7F4EB;
|
|
22
|
+
position: relative;
|
|
23
|
+
|
|
24
|
+
.ant-picker{
|
|
25
|
+
width: 100%;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.ant-form-item{
|
|
29
|
+
margin-bottom: 10px;
|
|
30
|
+
|
|
31
|
+
.ant-form-item-label{
|
|
32
|
+
padding-bottom: 3px;
|
|
33
|
+
|
|
34
|
+
label{
|
|
35
|
+
font-family: $font-default;
|
|
36
|
+
font-size: 12px;
|
|
37
|
+
font-weight: 400;
|
|
38
|
+
line-height: 16.5px;
|
|
39
|
+
letter-spacing: 0.05em;
|
|
40
|
+
text-align: left;
|
|
41
|
+
text-underline-position: from-font;
|
|
42
|
+
text-decoration-skip-ink: none;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.search-button{
|
|
48
|
+
width: 172px;
|
|
49
|
+
margin-top: 20px;
|
|
50
|
+
|
|
51
|
+
span{
|
|
52
|
+
font-family: $font-default;
|
|
53
|
+
font-size: 12px;
|
|
54
|
+
font-weight: 600;
|
|
55
|
+
line-height: 18px;
|
|
56
|
+
text-align: center;
|
|
57
|
+
text-underline-position: from-font;
|
|
58
|
+
text-decoration-skip-ink: none;
|
|
59
|
+
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.ant-picker .ant-picker-input span.ant-picker-suffix {
|
|
64
|
+
margin-left: 1px;
|
|
65
|
+
margin-right: 10px;
|
|
66
|
+
order: -1;
|
|
67
|
+
color: #AA853E;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
@media only screen and (min-width: 769px) {
|
|
74
|
+
#search-bar{
|
|
75
|
+
top: 0;
|
|
76
|
+
left: 0;
|
|
77
|
+
position: absolute;
|
|
78
|
+
display: flex;
|
|
79
|
+
justify-content: center;
|
|
80
|
+
z-index: 1;
|
|
81
|
+
|
|
82
|
+
img{
|
|
83
|
+
display: block;
|
|
84
|
+
margin: 0 -1px; //to hide visible shadow line in between
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
#search-bar-widget{
|
|
88
|
+
width: auto;
|
|
89
|
+
padding: 15px;
|
|
90
|
+
|
|
91
|
+
.ant-space{
|
|
92
|
+
flex-direction: unset;
|
|
93
|
+
align-items: flex-end;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.ant-form{
|
|
97
|
+
display: inline-flex;
|
|
98
|
+
gap: 7px;
|
|
99
|
+
height: 100%;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.ant-form-item{
|
|
103
|
+
margin-bottom: 0;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.search-button{
|
|
107
|
+
width: auto;
|
|
108
|
+
margin-bottom: 3px;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
@@ -3,6 +3,38 @@ module Iceholidays
|
|
|
3
3
|
class SiteController < ApplicationController
|
|
4
4
|
def index
|
|
5
5
|
end
|
|
6
|
+
|
|
7
|
+
def listing
|
|
8
|
+
render :index
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
def show
|
|
12
|
+
render :index
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
def about_us
|
|
16
|
+
render :index
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
def countries
|
|
20
|
+
render :index
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
def blog
|
|
24
|
+
render :index
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
def show_blog
|
|
28
|
+
render :index
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
def contact_agents
|
|
32
|
+
render :index
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
def contact_us
|
|
36
|
+
render :index
|
|
37
|
+
end
|
|
6
38
|
end
|
|
7
39
|
end
|
|
8
40
|
end
|