iceholidays-frontend 0.1.0 → 0.3.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.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/iceholidays/frontend/application.scss +177 -63
  3. data/app/controllers/iceholidays/frontend/application_controller.rb +1 -0
  4. data/app/javascript/react/components/Destinations.tsx +34 -40
  5. data/app/javascript/react/components/Homepage.tsx +0 -1
  6. data/app/javascript/react/components/HomepageBanner.tsx +37 -10
  7. data/app/javascript/react/components/Testimonials.tsx +30 -8
  8. data/app/javascript/react/components/shared/SlickButtonFix.tsx +19 -0
  9. data/app/views/iceholidays/frontend/site/index.html.erb +4 -4
  10. data/app/views/layouts/iceholidays/frontend/application.html.erb +1 -1
  11. data/app/views/layouts/iceholidays/frontend/shared/_header.html.erb +1 -1
  12. data/lib/iceholidays/frontend/engine.rb +11 -4
  13. data/lib/iceholidays/frontend/version.rb +1 -1
  14. data/public/iceholidays-assets/application.js +856 -0
  15. data/public/iceholidays-assets/application.js.map +7 -0
  16. data/public/iceholidays-assets/images/banner_arrow.png +0 -0
  17. data/public/iceholidays-assets/images/banner_right_arrow.png +0 -0
  18. data/public/iceholidays-assets/images/china.png +0 -0
  19. metadata +37 -37
  20. data/app/assets/builds/iceholidays/frontend/application.js +0 -40819
  21. data/app/assets/builds/iceholidays/frontend/application.js.map +0 -7
  22. data/app/assets/builds/iceholidays/frontend/banner01-MY5H645U.digested.png +0 -0
  23. data/app/assets/builds/iceholidays/frontend/banner02-2GQQYFI3.digested.png +0 -0
  24. data/app/assets/builds/iceholidays/frontend/banner2-BWOLYVUE.digested.png +0 -0
  25. data/app/assets/images/iceholidays/frontend/china.jpeg +0 -0
  26. /data/{app/assets/images/iceholidays/frontend → public/iceholidays-assets/images}/5star.png +0 -0
  27. /data/{app/assets/images/iceholidays/frontend → public/iceholidays-assets/images}/Frame71.png +0 -0
  28. /data/{app/assets/images/iceholidays/frontend → public/iceholidays-assets/images}/Group_71.png +0 -0
  29. /data/{app/assets/images/iceholidays/frontend → public/iceholidays-assets/images}/Layer_1.png +0 -0
  30. /data/{app/assets/images/iceholidays/frontend → public/iceholidays-assets/images}/Rectangle49.png +0 -0
  31. /data/{app/assets/images/iceholidays/frontend → public/iceholidays-assets/images}/TS_Logo.png +0 -0
  32. /data/{app/assets/images/iceholidays/frontend → public/iceholidays-assets/images}/about_st_bg.png +0 -0
  33. /data/{app/assets/images/iceholidays/frontend → public/iceholidays-assets/images}/africa.png +0 -0
  34. /data/{app/assets/images/iceholidays/frontend → public/iceholidays-assets/images}/banner1.png +0 -0
  35. /data/{app/assets/images/iceholidays/frontend → public/iceholidays-assets/images}/banner2.png +0 -0
  36. /data/{app/assets/images/iceholidays/frontend → public/iceholidays-assets/images}/china2.png +0 -0
  37. /data/{app/assets/images/iceholidays/frontend → public/iceholidays-assets/images}/chongqing.png +0 -0
  38. /data/{app/assets/images/iceholidays/frontend/cover_img.jpeg → public/iceholidays-assets/images/cover_img.jpg} +0 -0
  39. /data/{app/assets/images/iceholidays/frontend/feature.jpeg → public/iceholidays-assets/images/feature.jpg} +0 -0
  40. /data/{app/assets/images/iceholidays/frontend → public/iceholidays-assets/images}/guangzhou.png +0 -0
  41. /data/{app/assets/images/iceholidays/frontend → public/iceholidays-assets/images}/guilin.png +0 -0
  42. /data/{app/assets/images/iceholidays/frontend → public/iceholidays-assets/images}/harbin.png +0 -0
  43. /data/{app/assets/images/iceholidays/frontend → public/iceholidays-assets/images}/hongkong.png +0 -0
  44. /data/{app/assets/images/iceholidays/frontend → public/iceholidays-assets/images}/inner_mongolia.png +0 -0
  45. /data/{app/assets/images/iceholidays/frontend → public/iceholidays-assets/images}/jiangxi.png +0 -0
  46. /data/{app/assets/images/iceholidays/frontend → public/iceholidays-assets/images}/kenya.png +0 -0
  47. /data/{app/assets/images/iceholidays/frontend → public/iceholidays-assets/images}/kenya2.png +0 -0
  48. /data/{app/assets/images/iceholidays/frontend → public/iceholidays-assets/images}/kunming.png +0 -0
  49. /data/{app/assets/images/iceholidays/frontend → public/iceholidays-assets/images}/logo_container.png +0 -0
  50. /data/{app/assets/images/iceholidays/frontend → public/iceholidays-assets/images}/logomark.png +0 -0
  51. /data/{app/assets/images/iceholidays/frontend → public/iceholidays-assets/images}/slikroad.png +0 -0
  52. /data/{app/assets/images/iceholidays/frontend → public/iceholidays-assets/images}/southafrica.png +0 -0
  53. /data/{app/assets/images/iceholidays/frontend → public/iceholidays-assets/images}/tanzania.png +0 -0
  54. /data/{app/assets/images/iceholidays/frontend → public/iceholidays-assets/images}/uganda.png +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b78dc5fdcbe214d68962ce2ce9f6099cc55bc8258e89570b1def07e6c8ffd9fd
4
- data.tar.gz: 117e36f9eebcc31369ce3cfb6703793526841973ba64e1a46194fe39ef4cbfdf
3
+ metadata.gz: 863654c2cf6a12a64a30d7ac313c3b3151e6772ba2f6fcfc6aa2160391dcc8bd
4
+ data.tar.gz: ec1f0394c55a0bc6a474ae0a96cbc5cca1e309d2e2f756437f7f615935f641f9
5
5
  SHA512:
6
- metadata.gz: 880913e135020089f1fb88be031099e6da9d7a68d0cc4e04517902dd6fd6e67bca2fe6bf0e62e11b90606a4ae815218aac7f6b377843561bb61db5a7fb7627d7
7
- data.tar.gz: ed682b76376c508c5bd07237458dd3cb3a2b1c75ddf889e6cab9f02dd7ac0bd0112136844f098ed430e15cb4fb9ccefeaf60d7a4bf3e8fa6efd5d825929cb25b
6
+ metadata.gz: 903ac5ecac661c1062d2547570706c1965e1a1ca0d260167f91158442d49f05a6ba4bd00e4127726e988519718582d0d48692d5b9007a223f5b82bbd83a10e89
7
+ data.tar.gz: d9818be7bb909eaeb97d3b5693654c0b7c145602681916cfcd3aeab7979ca8ef2c0e39e990b54127e92442a806424e408f568ffe728bc96fefd92c839dfa5093
@@ -14,7 +14,10 @@
14
14
  *= require_self
15
15
  */
16
16
 
17
- @import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,200;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,200;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
17
+ @import url("//fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,200;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,200;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
18
+ // @import "font-awesome.css";
19
+
20
+ $font-default: Poppins, san-serif;
18
21
 
19
22
  .ant-tabs >.ant-tabs-nav{
20
23
  margin: 0;
@@ -40,7 +43,7 @@
40
43
 
41
44
  .ant-tabs-tab-btn {
42
45
  text-transform: uppercase;
43
- font-family: Poppins;
46
+ font-family: $font-default;
44
47
  font-size: 20px;
45
48
  font-weight: 400;
46
49
  line-height: 30px;
@@ -66,7 +69,7 @@
66
69
  display: unset !important;
67
70
  width: 100% !important;
68
71
  }
69
-
72
+
70
73
 
71
74
  [class~='ant-carousel'] {
72
75
  [class~='slick-dots'] {
@@ -94,12 +97,23 @@ width: 100% !important;
94
97
  }
95
98
  }
96
99
  }
100
+
101
+ .slick-prev,
102
+ .slick-next{
103
+ width: unset;
104
+ height: unset;
105
+
106
+ &::after{
107
+ display: none;
108
+ }
109
+ }
97
110
 
98
111
  }
99
-
112
+
100
113
  body{
101
114
  margin: 0;
102
115
  background: #F2F2F2;
116
+ font-family: Poppins, sans-serif;
103
117
  }
104
118
 
105
119
  #header{
@@ -127,6 +141,15 @@ body{
127
141
  .nav-menu a{
128
142
  color: white;
129
143
  text-transform: uppercase;
144
+ font-family: $font-default;
145
+ font-size: 16px;
146
+ font-weight: 500;
147
+ line-height: 24px;
148
+ letter-spacing: 0.05em;
149
+ text-align: left;
150
+ text-underline-position: from-font;
151
+ text-decoration-skip-ink: none;
152
+
130
153
  }
131
154
 
132
155
  #left-menu{
@@ -142,7 +165,7 @@ body{
142
165
  left: 568px;
143
166
  gap: 0px;
144
167
  opacity: 0px;
145
- z-index: 1;
168
+ z-index: 2;
146
169
  }
147
170
 
148
171
  #right-menu{
@@ -173,7 +196,7 @@ body{
173
196
  }
174
197
 
175
198
  #get-brochure span{
176
- font-family: Poppins;
199
+ font-family: $font-default;
177
200
  font-size: 14px;
178
201
  font-weight: 500;
179
202
  line-height: 21px;
@@ -193,23 +216,72 @@ body{
193
216
  position: absolute;
194
217
  display: flex;
195
218
  justify-content: center;
219
+ z-index: 1;
196
220
  }
197
221
 
198
222
  #search-bar-widget{
199
223
  width: 427px;
200
- /* height: 84px; */
201
- padding: 25px 0px 15px 0px;
224
+ height: 60px;
225
+ padding: 10px 0px 15px 0px;
202
226
  gap: 7px;
203
227
  opacity: 0px;
204
228
  background: #F7F4EB;
229
+
230
+ .ant-space{
231
+ justify-content: center;
232
+ width: 100%;
233
+ }
234
+
235
+ .ant-form-item{
236
+ margin: 0;
237
+
238
+ .ant-form-item-label{
239
+ padding-bottom: 3px;
240
+
241
+ label{
242
+ font-family: Poppins;
243
+ font-size: 12px;
244
+ font-weight: 400;
245
+ line-height: 16.5px;
246
+ letter-spacing: 0.05em;
247
+ text-align: left;
248
+ text-underline-position: from-font;
249
+ text-decoration-skip-ink: none;
250
+ }
251
+ }
252
+ }
253
+
254
+ .search-button{
255
+ background: #AA853E;
256
+ border-radius: 20px;
257
+
258
+ span{
259
+ font-family: Poppins;
260
+ font-size: 12px;
261
+ font-weight: 600;
262
+ line-height: 18px;
263
+ text-align: center;
264
+ text-underline-position: from-font;
265
+ text-decoration-skip-ink: none;
266
+
267
+ }
268
+ }
269
+
270
+ .ant-picker .ant-picker-input span.ant-picker-suffix {
271
+ margin-left: 1px;
272
+ margin-right: 10px;
273
+ order: -1;
274
+ color: #AA853E;
275
+ }
205
276
  }
206
277
 
278
+
207
279
  .flip{
208
280
  -webkit-transform: scaleX(-1);
209
281
  transform: scaleX(-1);
210
282
  }
211
283
 
212
- #cover{
284
+ #homepage-banner{
213
285
  width: 1440px;
214
286
  height: 760px;
215
287
  gap: 0px;
@@ -217,6 +289,19 @@ body{
217
289
  opacity: 0px;
218
290
  /* position: relative; */
219
291
 
292
+
293
+
294
+ [class~='ant-carousel'] {
295
+ .slick-prev{
296
+ inset-inline-start: 115px;
297
+ }
298
+ .slick-next{
299
+ inset-inline-end: 115px;
300
+ }
301
+
302
+ }
303
+
304
+
220
305
  }
221
306
 
222
307
  #tagline{
@@ -231,7 +316,7 @@ body{
231
316
  }
232
317
 
233
318
  #tagline span{
234
- font-family: Poppins;
319
+ font-family: $font-default;
235
320
  font-size: 45px;
236
321
  font-weight: 600;
237
322
  line-height: 69px;
@@ -250,7 +335,7 @@ body{
250
335
  }
251
336
 
252
337
  #popular-destinations h1{
253
- font-family: Poppins;
338
+ font-family: $font-default;
254
339
  font-size: 45px;
255
340
  font-weight: 200;
256
341
  line-height: 67.5px;
@@ -263,7 +348,7 @@ body{
263
348
 
264
349
 
265
350
  .top-cities h2{
266
- font-family: Poppins;
351
+ font-family: $font-default;
267
352
  font-size: 30px;
268
353
  font-weight: 600;
269
354
  line-height: 45px;
@@ -283,22 +368,30 @@ body{
283
368
 
284
369
  .top-cities .city-cover{
285
370
  border-radius: 20px;
371
+ overflow: hidden;
286
372
  }
287
373
 
288
374
  .city-cover{
289
375
  width: 540px;
290
- }
291
- .city-cover img{
292
- width: 100%;
293
- height: 230.5px;
294
- gap: 0px;
295
- opacity: 0px;
296
- border-top-left-radius: 20px;
297
- border-top-right-radius: 20px;
298
- display: block;
299
- object-fit: cover;
300
- object-position: top center;
301
376
 
377
+ img{
378
+ width: 100%;
379
+ height: 230.5px;
380
+ gap: 0px;
381
+ opacity: 0px;
382
+ border-top-left-radius: 20px;
383
+ border-top-right-radius: 20px;
384
+ display: block;
385
+ object-fit: cover;
386
+ object-position: top center;
387
+ transition: transform 0.4s ease;
388
+ transform-origin: 50% 100%;
389
+ &:hover{
390
+ transform: scale(1.2);
391
+ width: 100%;
392
+ }
393
+ }
394
+
302
395
  }
303
396
 
304
397
  .top-cities .city-details{
@@ -317,7 +410,7 @@ body{
317
410
  }
318
411
 
319
412
  .city-details .city-name{
320
- font-family: Poppins;
413
+ font-family: $font-default;
321
414
  font-size: 20px;
322
415
  font-weight: 400;
323
416
  line-height: 30px;
@@ -330,7 +423,7 @@ color: #FFFFFF;
330
423
  }
331
424
 
332
425
  .city-details .tour-count{
333
- font-family: Poppins;
426
+ font-family: $font-default;
334
427
  font-size: 14px;
335
428
  font-weight: 400;
336
429
  line-height: 21px;
@@ -343,10 +436,6 @@ cursor: pointer;
343
436
 
344
437
  }
345
438
 
346
- .city-details .tour-count:hover{
347
- text-decoration: underline;
348
- }
349
-
350
439
  .country-info {
351
440
  position: relative;
352
441
 
@@ -394,7 +483,7 @@ cursor: pointer;
394
483
  }
395
484
 
396
485
  #testimonial #testimonial-header>span{
397
- font-family: Poppins;
486
+ font-family: $font-default;
398
487
  font-size: 45px;
399
488
  font-weight: 200;
400
489
  line-height: 67.5px;
@@ -418,18 +507,29 @@ cursor: pointer;
418
507
  margin: auto;
419
508
  padding: 50px 170px 70px 170px;
420
509
  // gap: 20px;
510
+
511
+
512
+ [class~='ant-carousel'] {
513
+ .slick-prev,
514
+ .slick-next{
515
+ color: #959492;
516
+
517
+ &:hover{
518
+ color: #DFB163;
519
+ }
520
+ }
521
+ }
421
522
  }
422
523
  .testimonial{
423
- width: 317.33px !important;
424
- height: 383px;
425
- padding: 10px 18px 20px 18px;
426
- gap: 15px;
427
- border-radius: 20px;
428
- opacity: 0px;
429
- background: #FFFFFF;
430
- box-shadow: 0px 5px 20px 0px #E1B65B33;
431
- text-align: center;
432
- display: grid !important;
524
+ height: 383px;
525
+ padding: 10px 18px 20px 18px;
526
+ // gap: 15px;
527
+ border-radius: 20px;
528
+ opacity: 0px;
529
+ background: #FFFFFF;
530
+ box-shadow: 0px 5px 20px 0px #E1B65B33;
531
+ text-align: center;
532
+ display: grid !important;
433
533
  }
434
534
 
435
535
  .stars-icon{
@@ -451,7 +551,7 @@ display: grid !important;
451
551
  background: linear-gradient(270deg, #F9E298 0%, #FFFDF5 117.76%);
452
552
  box-shadow: 0px 7px 16.7px 0px #E1B65B80;
453
553
  box-sizing: border-box;
454
- display: flex;
554
+ display: inline-flex;
455
555
  align-items: center;
456
556
 
457
557
 
@@ -462,7 +562,7 @@ height: 26.5px;
462
562
 
463
563
  }
464
564
  .itinerary-summary span{
465
- font-family: Poppins;
565
+ font-family: $font-default;
466
566
  font-size: 12px;
467
567
  font-weight: 500;
468
568
  line-height: 18px;
@@ -470,12 +570,14 @@ text-align: left;
470
570
  text-underline-position: from-font;
471
571
  text-decoration-skip-ink: none;
472
572
  color: #AA853E;
573
+ width: 100%;
574
+ display: block;
473
575
 
474
576
 
475
577
  }
476
578
 
477
579
  .comment span{
478
- font-family: Poppins;
580
+ font-family: $font-default;
479
581
  font-size: 14px;
480
582
  font-style: italic;
481
583
  font-weight: 200;
@@ -486,19 +588,31 @@ color: #AA853E;
486
588
 
487
589
  }
488
590
 
489
- .customer-name span{
490
- font-family: Poppins;
491
- font-size: 20px;
492
- font-weight: 400;
493
- line-height: 30px;
494
- letter-spacing: 0.05em;
495
- text-align: left;
496
- text-underline-position: from-font;
497
- text-decoration-skip-ink: none;
591
+ .customer-name {
592
+ display: inline-flex;
593
+ align-items: center;
594
+ justify-content: center;
595
+ gap: 10px;
498
596
 
597
+ .author-icon{
598
+ color: rgba(0, 0, 0, 0.8);
599
+ width: 20px;
600
+ height: 20px;
601
+ }
602
+ span{
603
+ font-family: $font-default;
604
+ font-size: 20px;
605
+ font-weight: 400;
606
+ line-height: 30px;
607
+ letter-spacing: 0.05em;
608
+ text-align: left;
609
+ text-underline-position: from-font;
610
+ text-decoration-skip-ink: none;
611
+
612
+ }
499
613
  }
500
614
  .more-cities h2{
501
- font-family: Poppins;
615
+ font-family: $font-default;
502
616
  font-size: 30px;
503
617
  font-weight: 600;
504
618
  line-height: 45px;
@@ -514,7 +628,7 @@ text-decoration-skip-ink: none;
514
628
  gap: 10px;
515
629
 
516
630
  a{
517
- font-family: Poppins;
631
+ font-family: $font-default;
518
632
  font-size: 18px;
519
633
  font-weight: 400;
520
634
  line-height: 27px;
@@ -567,7 +681,7 @@ text-decoration-skip-ink: none;
567
681
  }
568
682
 
569
683
  .city-name{
570
- font-family: Poppins;
684
+ font-family: $font-default;
571
685
  font-size: 20px;
572
686
  font-weight: 400;
573
687
  line-height: 30px;
@@ -579,8 +693,8 @@ text-decoration-skip-ink: none;
579
693
  }
580
694
 
581
695
  .tour-count{
582
- width: 40px;
583
- font-family: Poppins;
696
+ width: 45px;
697
+ font-family: $font-default;
584
698
  font-size: 12px;
585
699
  font-weight: 400;
586
700
  line-height: 21px;
@@ -607,7 +721,7 @@ text-decoration-skip-ink: none;
607
721
  }
608
722
 
609
723
  #about-signature-tours h1{
610
- font-family: Poppins;
724
+ font-family: $font-default;
611
725
  font-size: 45px;
612
726
  font-weight: 200;
613
727
  line-height: 67.5px;
@@ -646,7 +760,7 @@ text-decoration-skip-ink: none;
646
760
  }
647
761
 
648
762
  #st-brand span{
649
- font-family: Poppins;
763
+ font-family: $font-default;
650
764
  font-size: 20px;
651
765
  font-weight: 400;
652
766
  line-height: 30px;
@@ -674,7 +788,7 @@ text-decoration-skip-ink: none;
674
788
  }
675
789
 
676
790
  #about-signature-tours p{
677
- font-family: Poppins;
791
+ font-family: $font-default;
678
792
  font-size: 18px;
679
793
  font-weight: 200;
680
794
  line-height: 27px;
@@ -703,7 +817,7 @@ text-decoration-skip-ink: none;
703
817
  }
704
818
 
705
819
  #footer .link-group-title{
706
- font-family: Poppins;
820
+ font-family: $font-default;
707
821
  font-size: 15px;
708
822
  font-weight: 400;
709
823
  line-height: 22.5px;
@@ -741,7 +855,7 @@ text-decoration-skip-ink: none;
741
855
  }
742
856
 
743
857
  #footer-links a{
744
- font-family: Poppins;
858
+ font-family: $font-default;
745
859
  font-size: 18px;
746
860
  font-weight: 500;
747
861
  line-height: 36px;
@@ -776,7 +890,7 @@ opacity: 0px;
776
890
  position: absolute;
777
891
  }
778
892
  #copyright span{
779
- font-family: Poppins;
893
+ font-family: $font-default;
780
894
  font-size: 14px;
781
895
  font-weight: 400;
782
896
  line-height: 16.93px;
@@ -1,6 +1,7 @@
1
1
  module Iceholidays
2
2
  module Frontend
3
3
  class ApplicationController < ::ApplicationController
4
+ skip_before_action :authenticate_user!
4
5
  end
5
6
  end
6
7
  end
@@ -1,72 +1,71 @@
1
+ import { faCaretRight } from "@fortawesome/free-solid-svg-icons/faCaretRight";
2
+ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
1
3
  import { Tabs, TabsProps } from "antd";
2
4
  import React from "react";
3
5
 
4
6
  const countries = [
5
7
  {
6
8
  name: "Africa",
7
- image: "africa.png",
8
- image2: "africa2.png",
9
+ image: "iceholidays-assets/images/africa.png",
9
10
  topCities: [{
10
- name: "Kenya",
11
- image: "kenya.png",
12
- image2: "kenya2.png",
11
+ name: "Kenya",
12
+ image: "iceholidays-assets/images/kenya.png",
13
13
  },
14
14
  {
15
- name: "South Africa",
16
- image: "southafrica.png",
15
+ name: "South Africa",
16
+ image: "iceholidays-assets/images/southafrica.png",
17
17
  },
18
18
  {
19
19
  name: "Tanzania",
20
- image: "tanzania.png",
20
+ image: "iceholidays-assets/images/tanzania.png",
21
21
  },
22
22
  {
23
- name: "Uaganda",
24
- image: "uganda.png",
23
+ name: "Uaganda",
24
+ image: "iceholidays-assets/images/uganda.png",
25
25
  }]
26
26
  },
27
27
  {
28
- name: "China",
29
- image: "china.jpeg",
30
- image2: "china2.png",
28
+ name: "China",
29
+ image: "iceholidays-assets/images/china.png",
31
30
  topCities: [{
32
31
  name: "Chong Qing",
33
- image: "chongqing.png",
32
+ image: "iceholidays-assets/images/china.png",
34
33
  },
35
34
  {
36
35
  name: "Guangzhou",
37
- image: "guangzhou.png",
36
+ image: "iceholidays-assets/images/guangzhou.png",
38
37
  },
39
38
  {
40
- name: "Guilin",
41
- image: "guilin.png",
39
+ name: "Guilin",
40
+ image: "iceholidays-assets/images/guilin.png",
42
41
  },
43
42
  {
44
- name: "Hongkong",
45
- image: "hongkong.png",
43
+ name: "Hongkong",
44
+ image: "iceholidays-assets/images/hongkong.png",
46
45
  }],
47
46
  moreCities: [
48
47
  "Leizhou", "Ningxia", "Qinghai", "Shanghai", "Tibet", "Xiamen", "Yunnan"
49
48
  ],
50
49
  tours: [
51
50
  {
52
- name: "Harbin",
53
- image: "harbin.png",
51
+ name: "Harbin",
52
+ image: "iceholidays-assets/images/harbin.png",
54
53
  },
55
54
  {
56
- name: "Inner Mongolia",
57
- image: "inner_mongolia.png",
55
+ name: "Inner Mongolia",
56
+ image: "iceholidays-assets/images/inner_mongolia.png",
58
57
  },
59
58
  {
60
- name: "Jiangxi",
61
- image: "jiangxi.png",
59
+ name: "Jiangxi",
60
+ image: "iceholidays-assets/images/jiangxi.png",
62
61
  },
63
62
  {
64
- name: "Kun Ming",
65
- image: "kunming.png",
63
+ name: "Kun Ming",
64
+ image: "iceholidays-assets/images/kunming.png",
66
65
  },
67
66
  {
68
- name: "Silk Road",
69
- image: "slikroad.png",
67
+ name: "Silk Road",
68
+ image: "iceholidays-assets/images/slikroad.png",
70
69
  }
71
70
  ]
72
71
  },
@@ -100,11 +99,9 @@ function Destinations(){
100
99
  <div>
101
100
  <div className="country-info">
102
101
  <img className="country-image"
103
- src={`/dev-assets/iceholidays/frontend/${country.image}`}
104
- onMouseOver={e => (e.currentTarget.src = `/dev-assets/iceholidays/frontend/${country.image2}`)}
105
- onMouseOut={e => (e.currentTarget.src = `/dev-assets/iceholidays/frontend/${country.image}`)}/>
102
+ src={`${country.image}`} />
106
103
  <h1 className="country-name"> {country.name} </h1>
107
- <img className="bottom-logo" src={"/dev-assets/iceholidays/frontend/Frame71.png"}></img>
104
+ <img className="bottom-logo" src="iceholidays-assets/images/Frame71.png"></img>
108
105
  </div>
109
106
  {
110
107
  country.topCities?.length &&
@@ -115,13 +112,10 @@ function Destinations(){
115
112
  country.topCities?.map((city, index)=>{
116
113
  return (
117
114
  <div key={index} className="city-cover">
118
- <img
119
- src={`/dev-assets/iceholidays/frontend/${city.image}`}
120
- onMouseOver={e => (e.currentTarget.src = `/dev-assets/iceholidays/frontend/${city.image2}`)}
121
- onMouseOut={e => (e.currentTarget.src = `/dev-assets/iceholidays/frontend/${city.image}`)}/>
115
+ <img src={`${city.image}`}/>
122
116
  <div className="city-details">
123
117
  <span className="city-name">{city.name}</span>
124
- <span className="tour-count">1 Tour</span>
118
+ <span className="tour-count">1 Tour <FontAwesomeIcon icon={faCaretRight}/> </span>
125
119
  </div>
126
120
  </div>
127
121
  )
@@ -150,10 +144,10 @@ function Destinations(){
150
144
  <div className="other-tours">
151
145
  {
152
146
  country.tours?.map((tour, index)=>{
153
- return <div key={index} className={"tour-story"} style={{backgroundImage:`linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.8) 100%), url("/dev-assets/iceholidays/frontend/${tour.image}")`}}>
147
+ return <div key={index} className={"tour-story"} style={{backgroundImage:`linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.8) 100%), url("${tour.image}")`}}>
154
148
  <div className="tour-detail">
155
149
  <span className="city-name"> {tour.name} </span>
156
- <span className="tour-count"> 1 tour </span>
150
+ <span className="tour-count"> 1 tour <FontAwesomeIcon icon={faCaretRight}/> </span>
157
151
  </div>
158
152
  </div>
159
153
  })
@@ -4,7 +4,6 @@ import Testimonials from "./Testimonials";
4
4
  import Destinations from "./Destinations";
5
5
 
6
6
 
7
-
8
7
  const Homepage = React.FC = () => (
9
8
  <div>
10
9
  <HomepageBanner/>