word-games-theme 1.4.1 → 1.4.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 76948f748c93570cfed33b5ff486a7d8c63e01d09ef4f2590282c3fcf7b0cf7a
4
- data.tar.gz: 34e573efd53f7d2ab2f29168d848139a260f7ce75f521d007e587411e3791421
3
+ metadata.gz: 40325a69478800b888dd7e6c8983095dbacafc39505e785b1ec859afc1d59b93
4
+ data.tar.gz: 666ccac9ed2218acf8d1650744027f948b2c8c357d65bad78dbd0a63c1a530df
5
5
  SHA512:
6
- metadata.gz: 2e56f3436fe260ae6d529f9d43fdca230b0e3c4580cc4134f70aa1d8f6eb503e0f9bc70b868fef4f80bac4aa10df8743723c8d67993f39b3c2508fb5ece5abd9
7
- data.tar.gz: 41f451f77b24421f71e9945f5c25bacc50a7e339300ed662c80bacaafbdf62b7caec24b15741aa8f96c03eb3b92fc890b3b5f831f2b2383d373b204cac6a9289
6
+ metadata.gz: baf069f286e4972da993781af6f7809fc23b58bd440ec12633603185978ed9ef753895301dd8a8db01443156f8e6d227a5d6bc072d839df96f4ca2ef62171edd
7
+ data.tar.gz: 42fe25026668e803bd48af49628b9e3c766754619e38ea650edfe43d1bd237f15e44c2c696160fd63371ca13ae012b7dc22c81dc265cf3cda3eafa7fb32d48a1
@@ -35,11 +35,11 @@
35
35
  <div class="list-items-container">
36
36
  <li class="list_cat_heading">{{item.categoryName}}</li>
37
37
  {%- for item in item.links -%}
38
- <!-- <li class="list_cat_name"> -->
39
- <a class="list_cat_name dropdown-item" href="{{item.url}}">
40
- {{item.name}}
41
- </a>
42
- <!-- </li> -->
38
+ <li class="list_cat_links">
39
+ <a class="list_cat_name dropdown-item" href="{{item.url}}">
40
+ {{item.name}}
41
+ </a>
42
+ </li>
43
43
  {%- endfor -%}
44
44
  </div>
45
45
  {%- endfor -%}
@@ -154,6 +154,71 @@
154
154
  </nav>
155
155
  <!-- </header> -->
156
156
 
157
+ {%- if page.ezoicTest -%}
158
+
159
+ <style>
160
+ .faux-image-wrapper {
161
+ margin-bottom: 10px;
162
+ position: relative;
163
+ padding-bottom: 100%;
164
+ /* Or height: 200px; */
165
+ }
166
+
167
+ .faux-image {
168
+ background: #dddddd;
169
+ border-radius: 4px;
170
+ height: 100%;
171
+ position: absolute;
172
+ width: 100%;
173
+ }
174
+
175
+ .faux-text {
176
+ background: #dddddd;
177
+ border-radius: 4px;
178
+ height: 20px;
179
+ margin-bottom: 5px;
180
+ }
181
+
182
+ .faux-text.short {
183
+ width: 75%;
184
+ }
185
+
186
+ .faux-text.short2 {
187
+ width: 50%;
188
+ }
189
+
190
+ .shimmer {
191
+ overflow: hidden;
192
+ position: relative;
193
+ }
194
+
195
+ .shimmer::before {
196
+ content: "";
197
+ position: absolute;
198
+ background: linear-gradient(90deg,
199
+ rgba(255, 255, 255, 0) 0%,
200
+ rgba(255, 255, 255, 0.4) 50%,
201
+ rgba(255, 255, 255, 0) 100%);
202
+ height: 100%;
203
+ width: 100%;
204
+ z-index: 1;
205
+ animation: shimmer 1s infinite;
206
+ }
207
+
208
+ @keyframes shimmer {
209
+ 0% {
210
+ transform: translateX(-100%);
211
+ }
212
+
213
+ 100% {
214
+ transform: translateX(100%);
215
+ }
216
+ }
217
+ </style>
218
+
219
+ {%- endif -%}
220
+
221
+
157
222
  <!-- Ezoic - sidebar_floating_1 - sidebar_floating_1 -->
158
223
  <div id="ezoic-pub-ad-placeholder-109"> </div>
159
224
  <!-- End Ezoic - sidebar_floating_1 - sidebar_floating_1 -->
@@ -173,6 +238,18 @@
173
238
  {%- endif -%}
174
239
 
175
240
  {% include section/wordGroup.html %}
241
+
242
+ {%- if page.ezoicTest -%}
243
+ <div class="placeholder_loading placeholder shimmer">
244
+ <div class="faux-image-wrapper">
245
+ <div class="faux-text"></div>
246
+ <div class="faux-text short"></div>
247
+ <div class="faux-text short2"></div>
248
+ </div>
249
+
250
+ </div>
251
+ {%- endif -%}
252
+
176
253
  </div>
177
254
  <!-- navbar close -->
178
255
  <!-- header close -->
data/_layouts/page.html CHANGED
@@ -78,7 +78,7 @@
78
78
  {%- if page.language -%}
79
79
  <script data-language="{{page.language}}" src="/assets/js/other-lang-wordScrabble.js" crossorigin></script>
80
80
  {%- elsif page.tool != 'words-that-start-with-the-letters' and page.noAdsRefresh != true-%}
81
- <script defer data-url="{{site.url}}" data-range="{{page.blanktilerange}}" src="/assets/js/wordScrabble-test.js
81
+ <script defer data-ezoictest="{{page.ezoicTest}}" data-url="{{site.url}}" data-range="{{page.blanktilerange}}" src="/assets/js/wordScrabble-test.js
82
82
  "></script>
83
83
  {%- endif -%}
84
84
  {%- else -%}
@@ -51,6 +51,25 @@ letterCloseButton.addEventListener("click", () => {
51
51
  let txtBox = document.querySelector('.txtBox')
52
52
  txtBox.focus()
53
53
  txtBox.value = serachValue
54
+
55
+
56
+ var placeholder_loading = document.querySelector(".placeholder_loading")
57
+ if (script.dataset.ezoictest) {
58
+ function myFunction(x) {
59
+ if (x.matches) {
60
+ txtBox.addEventListener("click", () => {
61
+ const scrollingElement = (document.scrollingElement || document.body);
62
+ scrollingElement.scroll({ top: 500, behavior: 'smooth' });
63
+ })
64
+ } else {
65
+ console.log("false");
66
+ }
67
+ }
68
+ var x = window.matchMedia("(max-width: 768px)")
69
+ myFunction(x)
70
+ x.addListener(myFunction)
71
+ }
72
+
54
73
  txtBox.addEventListener('input', (e) => {
55
74
  if (e.target.value === "") {
56
75
  letterCloseButton.classList.remove("ltr-cls-btn-commonPage")
@@ -123,6 +142,10 @@ const getData = async (serachValue) => {
123
142
  try {
124
143
  errorMsg.innerHTML = ""
125
144
  wordCount.innerHTML = ""
145
+ if (script.dataset.ezoictest) {
146
+ placeholder_loading.style.display = "none"
147
+ }
148
+
126
149
  let selectedDictionary = document.querySelector('.select_dropDown2').value
127
150
  main.innerHTML = `<div class="loader">
128
151
  <img src='/assets/images/loading.gif'>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: word-games-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - manpreet-appscms
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-12 00:00:00.000000000 Z
11
+ date: 2022-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll