appscms-tools-theme 3.3.8 → 3.3.9

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b86beb1238793536ec7e4a2b6bcb1ff1d7ed871fef27a13f83c5991835122179
4
- data.tar.gz: 0aea04f06086f64e7b6b1df50ce8adbf51bd5856140e502e2ac84f621b7ed77e
3
+ metadata.gz: 53f32361454cb329036077cc410fbee29b7e035da81a456d663de435f12f8f87
4
+ data.tar.gz: 381f27f423b9fabbb78c5fd24c6d5ed60255e8a3f29e9405a85e884b6de6aabe
5
5
  SHA512:
6
- metadata.gz: abb31e46893661b237a22d4255318bf33e8cc0499fdecbc455edb48f570e3edc7e6c4b15701ac7ac3b3419448fe542df2f640a636cccaa4846ffeecee3446f6f
7
- data.tar.gz: 64f37d4d4d3cdb24ae8fdb81d99e94e450160f65e61e139ed6bd810cd2887a92aadaafe9bd15afcbf94d6132c22a7f2a636d0fe3391514d5fb4a560129b63508
6
+ metadata.gz: '079cce186287327f16622cab9fd73a5c9c9a03d773b1724c4dda3c4705b55013fb4a8da45f5d3111718eefe900428aa916369802ea0af7114cb87aba3061f9c5'
7
+ data.tar.gz: 70f03ee39def81c9d2e4a2314be992b9296ca5e67e4f38c3a6ba949d29961afbb79966d01d47c7ac42195e7ffc9f02822223c2565515440af98a67913e6757dd
@@ -33,6 +33,20 @@
33
33
  "name": "Nikita"
34
34
  }
35
35
  ],
36
+ "infographics": [
37
+ {
38
+ "image": "https://venngage-wordpress-gallery.s3.amazonaws.com/uploads/2016/09/8-ways-to-fortify-the-usability-of-your-website-design.png",
39
+ "description": "desc"
40
+ },
41
+ {
42
+ "image": "path",
43
+ "description": "desc"
44
+ },
45
+ {
46
+ "image": "path",
47
+ "description": "desc"
48
+ }
49
+ ],
36
50
  "TEXTUAL_CONTENT": [
37
51
  {
38
52
  "priority": 1,
@@ -0,0 +1,19 @@
1
+ <style>
2
+ .infographics_section{
3
+ width: 100%;
4
+ display: flex;
5
+ justify-content: center;
6
+ align-items: center;
7
+ padding: 50px 0px 50px 0px;
8
+ border-top: 1px solid rgb(224, 224, 224);
9
+ }
10
+ </style>
11
+ <div class="infographics_section">
12
+ <div class="row">
13
+ <div class="col-md-9 mx-auto">
14
+ {%- for item in featureData.infographics -%}
15
+ <img src="{{item.image}}" alt="">
16
+ {%- endfor -%}
17
+ </div>
18
+ </div>
19
+ </div>
@@ -331,8 +331,9 @@
331
331
  </div>
332
332
  </div>
333
333
  </section>
334
- {%- endif -%} {%- endif -%} {%- include share/socialshare.html -%} {%-
335
- include Rating/rating.html -%} {%- include /Usp/usp.html -%} {%- if
334
+ {%- endif -%} {%- endif -%} {%- include share/socialshare.html -%}
335
+ {%- include Rating/rating.html -%}
336
+ {%- include /Usp/usp.html -%} {%- if
336
337
  featureData.display_formats -%}
337
338
  <div class="container compare-table">
338
339
  {%- include fileformat/fileformatdetail.html -%}
data/_layouts/home.html CHANGED
@@ -112,7 +112,14 @@
112
112
  {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
113
113
  <div class="col-md-9 mx-auto">
114
114
  <div class="row">
115
- {%- endif -%} {% for data in homeData.TEXTUAL_CONTENT %}
115
+ {%- endif -%}
116
+ {% assign totalHeaderCount = 0 %}
117
+ {% for data in homeData.TEXTUAL_CONTENT %}
118
+ {% assign words = data.header | split: " " %}
119
+ {% assign word_count = words | size %}
120
+ {% assign totalHeaderCount = totalHeaderCount | plus: word_count %}
121
+ {% endfor %}
122
+ {% for data in homeData.TEXTUAL_CONTENT %}
116
123
  <div
117
124
  class="{%- if site.monumetricId and page.url != '/' and page.lang == 'en' -%} col-md-6 my-4 {%- else -%} col-md-4 my-4 {%- endif -%}"
118
125
  >
@@ -134,7 +141,13 @@
134
141
  -%}
135
142
  />
136
143
  <div class="feature-card-title">
144
+ {%- if totalHeaderCount > site.count_of_words_in_headings -%}
145
+ {%- for word in homeData.h2 -%} {%- if forloop.first == true -%}
146
+ {{word | capitalize }} {%- else -%} {{word}} {%- endif -%} {%- endfor
147
+ -%}
148
+ {%- else -%}
137
149
  {{data.header | replace: "$variable", page.value}}
150
+ {%- endif -%}
138
151
  </div>
139
152
  <div class="feature-card-desc">
140
153
  {{data.content | replace: "$variable", page.value}}
@@ -157,7 +170,12 @@
157
170
  <div class="row">
158
171
  {%- endif -%}
159
172
  <div class="col-md-6 order-0">
160
- {%- if homeData.HOW_TO_CONTENT.logoImageUrl -%}
173
+ {%- if featureData.HOW_TO_CONTENT.YoutubeVideoUrl -%}
174
+ <div class="how-to-video-wrapper">
175
+ <iframe width="500" height="315" src="https://www.youtube.com/embed/{{featureData.HOW_TO_CONTENT.YoutubeVideoUrl}}?autoplay=1&mute=1">
176
+ </iframe>
177
+ </div>
178
+ {%- else -%}
161
179
  <div class="how-to-img-wrapper">
162
180
  <img
163
181
  class="how-to-leftimg"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appscms-tools-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.8
4
+ version: 3.3.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - vivek-appscms
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-21 00:00:00.000000000 Z
11
+ date: 2023-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -129,6 +129,7 @@ files:
129
129
  - _includes/head/index.html
130
130
  - _includes/header/blogHeader.html
131
131
  - _includes/header/index.html
132
+ - _includes/infographics/infographics.html
132
133
  - _includes/languages/languages.html
133
134
  - _includes/monumetric/ads.html
134
135
  - _includes/monumetric/monumetric.html