iceholidays-frontend 0.3.0 → 0.5.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/actiontext.scss +119 -0
- data/app/assets/stylesheets/iceholidays/frontend/application.sass.scss +2194 -0
- data/app/assets/stylesheets/iceholidays/frontend/common.scss +317 -0
- data/app/assets/stylesheets/iceholidays/frontend/layout.scss +281 -0
- data/app/assets/stylesheets/iceholidays/frontend/utils/_antd_overrides.scss +122 -0
- data/app/assets/stylesheets/iceholidays/frontend/utils/_variables.scss +4 -0
- data/app/assets/stylesheets/iceholidays/frontend/widgets/filter_pills.scss +52 -0
- data/app/assets/stylesheets/iceholidays/frontend/widgets/search_bar.scss +116 -0
- data/app/controllers/iceholidays/frontend/posts_controller.rb +14 -0
- data/app/controllers/iceholidays/frontend/site_controller.rb +32 -0
- data/app/javascript/api-services/agents-api.service.ts +33 -0
- data/app/javascript/api-services/banners-api.service.ts +28 -0
- data/app/javascript/api-services/locations-api.service.ts +71 -0
- data/app/javascript/api-services/search-api.service.ts +16 -0
- data/app/javascript/api-services/series-api.service.ts +64 -0
- data/app/javascript/api-services/testimonials-api.service.ts +27 -0
- data/app/javascript/interfaces/agent.interface.ts +11 -0
- data/app/javascript/interfaces/banner.interface.ts +10 -0
- data/app/javascript/interfaces/country.interface.ts +19 -0
- data/app/javascript/interfaces/itinerary.interface.ts +111 -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 +84 -143
- data/app/javascript/react/components/PriceDetails.tsx +146 -0
- data/app/javascript/react/components/Testimonials.tsx +68 -61
- data/app/javascript/react/components/shared/ContactAgentsForm.tsx +44 -0
- data/app/javascript/react/components/shared/Headline.tsx +30 -0
- data/app/javascript/react/components/shared/LocationDropdown.tsx +34 -0
- data/app/javascript/react/components/shared/LocationPostcards.tsx +52 -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 +97 -0
- data/app/javascript/react/layouts/MainHeader.tsx +83 -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 +81 -0
- data/app/javascript/react/pages/BlogShowPage.tsx +43 -0
- data/app/javascript/react/pages/ContactAgentsPage.tsx +185 -0
- data/app/javascript/react/pages/ContactUsPage.tsx +122 -0
- data/app/javascript/react/pages/CountriesPage.tsx +57 -0
- data/app/javascript/react/pages/Homepage.tsx +100 -0
- data/app/javascript/react/pages/ListingPage.tsx +292 -0
- data/app/javascript/react/pages/ShowPage.tsx +402 -0
- data/app/javascript/react/widgets/FilterPills.tsx +111 -0
- data/app/javascript/react/widgets/SearchBarWidget.tsx +58 -0
- data/app/views/iceholidays/frontend/posts/index.html.erb +9 -0
- data/app/views/iceholidays/frontend/posts/show.html.erb +2 -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 +10 -0
- data/lib/iceholidays/frontend/version.rb +1 -1
- data/public/iceholidays-assets/application.css +2638 -0
- data/public/iceholidays-assets/application.js +212 -651
- data/public/iceholidays-assets/application.js.map +4 -4
- data/public/iceholidays-assets/images/about-us_logo_mobile.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_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/destinations_logo.png +0 -0
- data/public/iceholidays-assets/images/ethical.png +0 -0
- data/public/iceholidays-assets/images/footer-bg_mobile.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/logo_mobile.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
- metadata +74 -71
- 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
- data/public/iceholidays-assets/images/Frame71.png +0 -0
- data/public/iceholidays-assets/images/africa.png +0 -0
- data/public/iceholidays-assets/images/banner1.png +0 -0
- data/public/iceholidays-assets/images/banner2.png +0 -0
- data/public/iceholidays-assets/images/china.png +0 -0
- data/public/iceholidays-assets/images/china2.png +0 -0
- data/public/iceholidays-assets/images/guangzhou.png +0 -0
- data/public/iceholidays-assets/images/guilin.png +0 -0
- data/public/iceholidays-assets/images/harbin.png +0 -0
- data/public/iceholidays-assets/images/hongkong.png +0 -0
- data/public/iceholidays-assets/images/inner_mongolia.png +0 -0
- data/public/iceholidays-assets/images/jiangxi.png +0 -0
- data/public/iceholidays-assets/images/kenya.png +0 -0
- data/public/iceholidays-assets/images/kenya2.png +0 -0
- data/public/iceholidays-assets/images/kunming.png +0 -0
- data/public/iceholidays-assets/images/slikroad.png +0 -0
- data/public/iceholidays-assets/images/southafrica.png +0 -0
- data/public/iceholidays-assets/images/tanzania.png +0 -0
- data/public/iceholidays-assets/images/uganda.png +0 -0
- /data/public/iceholidays-assets/images/{Group_71.png → about-us_logo.png} +0 -0
- /data/public/iceholidays-assets/images/{chongqing.png → china_listings_cover.png} +0 -0
- /data/public/iceholidays-assets/images/{logo_container.png → logo.png} +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9543a8bab876ad4982f485380d55661e2be5bfc331c5aeac759e9bc7994956db
|
|
4
|
+
data.tar.gz: 66a5be926856f9cb40f5cff827168e2d4d3f33ad10b60505680be62bd5f90cd4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 116f2957d4e6557c76fb96a8477cd4d8316f2e0309a8a3fb412563089e13fefbe63287148095255532e29e5256c5bff7116ed07e2e0c0471f516d75a2b04066d
|
|
7
|
+
data.tar.gz: fb90a122c99796f4388378857fde351a57b8daf4baa025d2fdb0aa5d222853ef88b3840924d2e4339c78c921e765e38cbe54eced1813ae9a798061552f226afb
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
.trix-content .attachment-gallery > action-text-attachment,
|
|
2
|
+
.trix-content .attachment-gallery > .attachment {
|
|
3
|
+
flex: 1 0 33%;
|
|
4
|
+
padding: 0 0.5em;
|
|
5
|
+
max-width: 33%;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.trix-content .attachment-gallery.attachment-gallery--2 > action-text-attachment,
|
|
9
|
+
.trix-content .attachment-gallery.attachment-gallery--2 > .attachment, .trix-content .attachment-gallery.attachment-gallery--4 > action-text-attachment,
|
|
10
|
+
.trix-content .attachment-gallery.attachment-gallery--4 > .attachment {
|
|
11
|
+
flex-basis: 50%;
|
|
12
|
+
max-width: 50%;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.trix-content action-text-attachment .attachment {
|
|
16
|
+
padding: 0 !important;
|
|
17
|
+
max-width: 100% !important;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.actiontext-content {
|
|
21
|
+
font-family: Arial, sans-serif;
|
|
22
|
+
line-height: 1.5;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.actiontext-table {
|
|
26
|
+
border-collapse: collapse!important;
|
|
27
|
+
width: 100%!important;
|
|
28
|
+
margin-top: 20px!important;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.actiontext-table th, .actiontext-table td {
|
|
32
|
+
border: 1px solid black!important;
|
|
33
|
+
padding: 8px!important;
|
|
34
|
+
text-align: left!important;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.actiontext-table th {
|
|
38
|
+
background-color: #f2f2f2!important;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.actiontext-link {
|
|
42
|
+
color: #007BFF!important;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.trix-content {
|
|
46
|
+
line-height: 1.5; }
|
|
47
|
+
.trix-content * {
|
|
48
|
+
box-sizing: border-box;
|
|
49
|
+
margin: 0;
|
|
50
|
+
padding: 0; }
|
|
51
|
+
.trix-content h1 {
|
|
52
|
+
font-size: 1.2em;
|
|
53
|
+
line-height: 1.2; }
|
|
54
|
+
.trix-content blockquote {
|
|
55
|
+
border: 0 solid #ccc;
|
|
56
|
+
border-left-width: 0.3em;
|
|
57
|
+
margin-left: 0.3em;
|
|
58
|
+
padding-left: 0.6em; }
|
|
59
|
+
.trix-content [dir=rtl] blockquote,
|
|
60
|
+
.trix-content blockquote[dir=rtl] {
|
|
61
|
+
border-width: 0;
|
|
62
|
+
border-right-width: 0.3em;
|
|
63
|
+
margin-right: 0.3em;
|
|
64
|
+
padding-right: 0.6em; }
|
|
65
|
+
.trix-content li {
|
|
66
|
+
margin-left: 1em; }
|
|
67
|
+
.trix-content [dir=rtl] li {
|
|
68
|
+
margin-right: 1em; }
|
|
69
|
+
.trix-content pre {
|
|
70
|
+
display: inline-block;
|
|
71
|
+
width: 100%;
|
|
72
|
+
vertical-align: top;
|
|
73
|
+
font-family: monospace;
|
|
74
|
+
font-size: 0.9em;
|
|
75
|
+
padding: 0.5em;
|
|
76
|
+
white-space: pre;
|
|
77
|
+
background-color: #eee;
|
|
78
|
+
overflow-x: auto; }
|
|
79
|
+
.trix-content img {
|
|
80
|
+
max-width: 100%;
|
|
81
|
+
height: auto; }
|
|
82
|
+
.trix-content .attachment {
|
|
83
|
+
display: inline-block;
|
|
84
|
+
position: relative;
|
|
85
|
+
max-width: 100%; }
|
|
86
|
+
.trix-content .attachment a {
|
|
87
|
+
color: inherit;
|
|
88
|
+
text-decoration: none; }
|
|
89
|
+
.trix-content .attachment a:hover, .trix-content .attachment a:visited:hover {
|
|
90
|
+
color: inherit; }
|
|
91
|
+
.trix-content .attachment__caption {
|
|
92
|
+
text-align: center; }
|
|
93
|
+
.trix-content .attachment__caption .attachment__name + .attachment__size::before {
|
|
94
|
+
content: ' \2022 '; }
|
|
95
|
+
.trix-content .attachment--preview {
|
|
96
|
+
width: 100%;
|
|
97
|
+
text-align: center; }
|
|
98
|
+
.trix-content .attachment--preview .attachment__caption {
|
|
99
|
+
color: #666;
|
|
100
|
+
font-size: 0.9em;
|
|
101
|
+
line-height: 1.2; }
|
|
102
|
+
.trix-content .attachment--file {
|
|
103
|
+
color: #333;
|
|
104
|
+
line-height: 1;
|
|
105
|
+
margin: 0 2px 2px 2px;
|
|
106
|
+
padding: 0.4em 1em;
|
|
107
|
+
border: 1px solid #bbb;
|
|
108
|
+
border-radius: 5px; }
|
|
109
|
+
.trix-content .attachment-gallery {
|
|
110
|
+
display: flex;
|
|
111
|
+
flex-wrap: wrap;
|
|
112
|
+
position: relative; }
|
|
113
|
+
.trix-content .attachment-gallery .attachment {
|
|
114
|
+
flex: 1 0 33%;
|
|
115
|
+
padding: 0 0.5em;
|
|
116
|
+
max-width: 33%; }
|
|
117
|
+
.trix-content .attachment-gallery.attachment-gallery--2 .attachment, .trix-content .attachment-gallery.attachment-gallery--4 .attachment {
|
|
118
|
+
flex-basis: 50%;
|
|
119
|
+
max-width: 50%; }
|