word-games-theme 3.3.5 → 3.3.7

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 (53) hide show
  1. checksums.yaml +4 -4
  2. data/_data/footer/en/data.json +95 -0
  3. data/_data/header/en/data.json +559 -36
  4. data/_data/home_sections.json +453 -0
  5. data/_data/wordgames/en/root.json +16 -13
  6. data/_includes/home/ad-preview.html +3 -0
  7. data/_includes/home/ad-slot.html +3 -0
  8. data/_includes/home/chips.html +6 -0
  9. data/_includes/home/crosswords.html +18 -0
  10. data/_includes/home/daily-hints.html +15 -0
  11. data/_includes/home/footer.html +212 -0
  12. data/_includes/home/game-art.html +18 -0
  13. data/_includes/home/game-cards.html +22 -0
  14. data/_includes/home/header.html +82 -0
  15. data/_includes/home/icon.html +19 -0
  16. data/_includes/home/letter-lists.html +17 -0
  17. data/_includes/home/logo.html +84 -0
  18. data/_includes/home/solvers.html +9 -0
  19. data/_includes/wordgames/advanced-filter/advanced-filter.html +15 -14
  20. data/_includes/wordgames/faqs/faqs.html +2 -4
  21. data/_includes/wordgames/headings/headings.html +1 -1
  22. data/_includes/wordgames/infographics/infographics.html +2 -136
  23. data/_includes/wordgames/search-box/search-box.html +1 -1
  24. data/_includes/wordgames-v2/advanced-filter/advanced-filter.html +421 -0
  25. data/_includes/wordgames-v2/faqs/faqs.html +35 -0
  26. data/_includes/wordgames-v2/featurehighlights/featurehighlights.html +70 -0
  27. data/_includes/wordgames-v2/head/head.html +170 -0
  28. data/_includes/wordgames-v2/headings/headings.html +14 -0
  29. data/_includes/wordgames-v2/howto/howto.html +94 -0
  30. data/_includes/wordgames-v2/infographics/infographics.html +358 -0
  31. data/_includes/wordgames-v2/search-box/dict-picker.html +26 -0
  32. data/_includes/wordgames-v2/search-box/search-box.html +87 -0
  33. data/_layouts/wordgames-home-v2.html +141 -0
  34. data/assets/css/ad-preview.css +85 -0
  35. data/assets/css/home-hub.css +1879 -0
  36. data/assets/css/wordfinder-result.css +5 -5
  37. data/assets/css/wordgames-home-v2.css +2955 -0
  38. data/assets/css/wordgames-home.css +3 -4
  39. data/assets/css/wordgames-result.css +1 -1
  40. data/assets/css/wordle-solver.css +2 -2
  41. data/assets/images/close-menu.svg +1 -14
  42. data/assets/images/hamburger-menu.svg +1 -5
  43. data/assets/images/logo-hub.svg +24 -0
  44. data/assets/images/logo.svg +13 -106
  45. data/assets/images/questionmark.svg +1 -1
  46. data/assets/images/wordswithletters-logo.svg +96 -0
  47. data/assets/js/ad-preview.js +141 -0
  48. data/assets/js/home-hub.js +275 -0
  49. data/assets/js/home-ui.js +286 -0
  50. data/assets/js/scrabbleDictonary.js +8 -202
  51. data/assets/js/wordleSolver-worker.js +2 -7
  52. data/assets/js/wordleSolver.js +2 -2
  53. metadata +34 -2
@@ -0,0 +1,358 @@
1
+ <style>
2
+ .slide img:hover {
3
+ transform: scale(1.02);
4
+ box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.12);
5
+ cursor: pointer;
6
+ }
7
+
8
+ .modal-arrow-btn {
9
+ position: absolute;
10
+ top: 50%;
11
+ width: 50px;
12
+ height: 50px;
13
+ background: rgba(0, 0, 0, 0.5);
14
+ color: #fff;
15
+ border: none;
16
+ cursor: pointer;
17
+ font-size: 24px;
18
+ text-align: center;
19
+ line-height: 50px;
20
+ border-radius: 50%;
21
+ transform: translateY(-50%);
22
+ }
23
+
24
+ .modal-arrow-btn.prev {
25
+ left: 10px;
26
+ }
27
+
28
+ .modal-arrow-btn.next {
29
+ right: 10px;
30
+ }
31
+
32
+ @media (max-width: 768px) {
33
+ .infographics-title {
34
+ width: auto !important;
35
+ }
36
+
37
+ .modal-arrow-btn {
38
+ top: 30%;
39
+ width: 40px;
40
+ height: 40px;
41
+ font-size: 20px;
42
+ line-height: 40px;
43
+ }
44
+
45
+ .modal-arrow-btn.prev {
46
+ left: 5px;
47
+ }
48
+
49
+ .modal-arrow-btn.next {
50
+ right: 5px;
51
+ }
52
+ }
53
+
54
+ @media (max-width: 480px) {
55
+ .modal-arrow-btn {
56
+ width: 30px;
57
+ height: 30px;
58
+ font-size: 16px;
59
+ line-height: 30px;
60
+ }
61
+
62
+ .modal-arrow-btn.prev {
63
+ left: 3px;
64
+ }
65
+
66
+ .modal-arrow-btn.next {
67
+ right: 3px;
68
+ }
69
+ }
70
+
71
+ .modal1 {
72
+ position: fixed;
73
+ z-index: 1000;
74
+ left: 0;
75
+ top: 0;
76
+ width: 100%;
77
+ height: 100%;
78
+ overflow: auto;
79
+ background-color: rgba(59, 58, 58, 0.9);
80
+ opacity: 0;
81
+ visibility: hidden;
82
+ transform: scale(0.8);
83
+ transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
84
+ }
85
+
86
+ .modal1.show {
87
+ opacity: 1;
88
+ visibility: visible;
89
+ transform: scale(1);
90
+ transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s;
91
+ }
92
+
93
+ .modal1-content1 {
94
+ margin: auto;
95
+ display: block;
96
+ width: 80%;
97
+ max-width: 800px;
98
+ margin-top: 20px;
99
+ opacity: 0;
100
+ transform: translateY(-20px);
101
+ transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
102
+ }
103
+
104
+ .modal1.show .modal1-content1 {
105
+ opacity: 1;
106
+ transform: translateY(0);
107
+ }
108
+
109
+ .modal1-body img {
110
+ width: 100%;
111
+ height: auto;
112
+ }
113
+
114
+ .close1 {
115
+ position: absolute;
116
+ top: 10px;
117
+ right: 10px;
118
+ font-size: 24px;
119
+ color: #fff;
120
+ cursor: pointer;
121
+ }
122
+
123
+ .close1:hover {
124
+ color: #ccc;
125
+ }
126
+
127
+ #left {
128
+ left: 3%;
129
+ z-index: 99;
130
+ }
131
+
132
+ #right {
133
+ right: 3%;
134
+ z-index: 99;
135
+ }
136
+
137
+ .inforgraphics_section .wrapper i {
138
+ top: 50%;
139
+ height: 44px;
140
+ width: 44px;
141
+ color: #343f4f;
142
+ cursor: pointer;
143
+ font-size: 2.15rem;
144
+ position: absolute;
145
+ text-align: center;
146
+ line-height: 44px;
147
+ background: #eee;
148
+ border-radius: 50%;
149
+ transform: translateY(-50%);
150
+ transition: transform 0.1s linear;
151
+ }
152
+ </style>
153
+
154
+ <style>
155
+ /* Common styles for carousel arrow buttons */
156
+ .carousel-control {
157
+ position: absolute;
158
+ top: 50%;
159
+ transform: translateY(-50%);
160
+ width: 38px;
161
+ height: 38px;
162
+ border: none;
163
+ border-radius: 50%;
164
+ background: rgba(0, 0, 0, 0.4);
165
+ backdrop-filter: blur(4px);
166
+ cursor: pointer;
167
+ z-index: 10;
168
+ }
169
+
170
+ /* Left button */
171
+ .carousel-control.left {
172
+ left: 10px;
173
+ }
174
+
175
+ /* Right button */
176
+ .carousel-control.right {
177
+ right: 10px;
178
+ }
179
+
180
+ /* Arrow icon inside button (pseudo-element) */
181
+ .carousel-control.left::before {
182
+ content: "\276E";
183
+ color: white;
184
+ font-size: 18px;
185
+ position: absolute;
186
+ top: 50%;
187
+ left: 50%;
188
+ transform: translate(-50%, -50%);
189
+ }
190
+
191
+ .carousel-control.right::before {
192
+ content: "\276F";
193
+ color: white;
194
+ font-size: 18px;
195
+ position: absolute;
196
+ top: 50%;
197
+ left: 50%;
198
+ transform: translate(-50%, -50%);
199
+ }
200
+
201
+ /* Touch feel improve */
202
+ .carousel-control:active {
203
+ background: rgba(0, 0, 0, 0.6);
204
+ }
205
+
206
+ /* Hide on desktop */
207
+ @media (min-width: 769px) {
208
+
209
+ #leftBtn,
210
+ #rightBtn {
211
+ display: none !important;
212
+ }
213
+ }
214
+ </style>
215
+ <div class="container" id="infographicsContainer">
216
+ <h3 class="mb-5 infographics-title" style="width:445px"><b>Other useful information</b></h3>
217
+ <div class="inforgraphics_section">
218
+ <div class="wrapper">
219
+ <button id="leftBtn" class="carousel-control left" aria-label="Previous slide"></button>
220
+ <div class="carousel">
221
+ <div class="carousel-inner">
222
+ {%- if dataToShow.infographics -%} {% for item in dataToShow.infographics %}
223
+ <div class="slide">
224
+ <img loading="lazy" src="{{ item.image }}" alt="{{item.alt}}" draggable="false"
225
+ class="infographic-img" onclick="openModal1('{{ item.image }}')" />
226
+ <p class="infographic-desc">{{ item.description | capitalize }}</p>
227
+ </div>
228
+ {% endfor %} {%- endif -%}
229
+ </div>
230
+ </div>
231
+ <button id="rightBtn" class="carousel-control right" aria-label="Next slide"></button>
232
+ </div>
233
+ </div>
234
+ <div id="imageModal1" class="modal1" onclick="closeModal1()">
235
+ <span class="close1" role="button" tabindex="0" aria-label="Close image" onclick="closeModal1()">&times;</span>
236
+ <button class="modal-arrow-btn prev" aria-label="Previous image">&#10094;</button>
237
+ <button class="modal-arrow-btn next" aria-label="Next image">&#10095;</button>
238
+ <div class="modal1-content1">
239
+ <div class="modal1-body">
240
+ <img id="modal1Image" src="" alt="Enlarged infographic" />
241
+ </div>
242
+ </div>
243
+ </div>
244
+ </div>
245
+
246
+ <script>
247
+ const carousel = document.querySelector(".carousel-inner");
248
+ const leftBtn = document.getElementById("leftBtn");
249
+ const rightBtn = document.getElementById("rightBtn");
250
+
251
+ // Update arrow visibility
252
+ function updateArrows() {
253
+ const maxScroll = carousel.scrollWidth - carousel.clientWidth;
254
+
255
+ if (carousel.scrollLeft <= 0) {
256
+ leftBtn.style.display = "none"; // hide left
257
+ } else {
258
+ leftBtn.style.display = "block"; // show left
259
+ }
260
+
261
+ if (carousel.scrollLeft >= maxScroll - 2) {
262
+ rightBtn.style.display = "none"; // hide right
263
+ } else {
264
+ rightBtn.style.display = "block"; // show right
265
+ }
266
+ }
267
+
268
+ // Move slides
269
+ leftBtn.addEventListener("click", (e) => {
270
+ e.stopPropagation();
271
+ let slideWidth = document.querySelector(".slide").offsetWidth;
272
+ carousel.scrollLeft -= slideWidth;
273
+ setTimeout(updateArrows, 200);
274
+ });
275
+
276
+ rightBtn.addEventListener("click", (e) => {
277
+ e.stopPropagation();
278
+ let slideWidth = document.querySelector(".slide").offsetWidth;
279
+ carousel.scrollLeft += slideWidth;
280
+ setTimeout(updateArrows, 200);
281
+ });
282
+
283
+ // Update on scroll too
284
+ carousel.addEventListener("scroll", updateArrows);
285
+
286
+ // Initial update on load
287
+ updateArrows();
288
+
289
+ document.addEventListener("DOMContentLoaded", () => {
290
+ let modal_array_of_images = [];
291
+ let current_modal_img = 0;
292
+
293
+ // Function to update the modal image
294
+ function updateModalImage() {
295
+ const modal1Img = document.getElementById("modal1Image");
296
+ if (modal_array_of_images.length > 0) {
297
+ modal1Img.src = modal_array_of_images[current_modal_img].src;
298
+ }
299
+ }
300
+
301
+ // Function to prepare the array of images for the modal
302
+ function readyallimages() {
303
+ modal_array_of_images = Array.from(document.querySelectorAll('.infographic-img'));
304
+ }
305
+
306
+ // Function to open the modal and set the current image
307
+ function openModal1(imageSrc) {
308
+ const modal1 = document.getElementById("imageModal1");
309
+ modal1.classList.add("show");
310
+ modal_array_of_images = Array.from(document.querySelectorAll('.infographic-img'));
311
+ current_modal_img = modal_array_of_images.findIndex(img => img.src === imageSrc);
312
+ updateModalImage();
313
+ }
314
+
315
+ // Function to close the modal
316
+ function closeModal1() {
317
+ const modal1 = document.getElementById("imageModal1");
318
+ modal1.classList.remove("show");
319
+ }
320
+
321
+ // Add click event listeners to each infographic image
322
+ document.querySelectorAll('.infographic-img').forEach(img => {
323
+ img.addEventListener('click', (event) => {
324
+ openModal1(event.target.src);
325
+ });
326
+ });
327
+
328
+ // Event listeners for the modal arrow buttons
329
+ const modal_btns = document.querySelectorAll('.modal-arrow-btn');
330
+ modal_btns.forEach(modal_btn => {
331
+ modal_btn.addEventListener('click', (e) => {
332
+ e.stopPropagation();
333
+ if (modal_btn.classList.contains('prev')) {
334
+ current_modal_img = (current_modal_img > 0) ? current_modal_img - 1 : modal_array_of_images.length - 1;
335
+ } else {
336
+ current_modal_img = (current_modal_img < modal_array_of_images.length - 1) ? current_modal_img + 1 : 0;
337
+ }
338
+ updateModalImage();
339
+ });
340
+ });
341
+
342
+ // Event listener for the close button
343
+ document.querySelectorAll(".close1").forEach(element => {
344
+ element.addEventListener("click", closeModal1);
345
+ });
346
+
347
+ // Event listener for closing the modal when clicking outside the image
348
+ document.getElementById("imageModal1").addEventListener("click", (event) => {
349
+ if (event.target === document.getElementById("imageModal1")) {
350
+ closeModal1();
351
+ }
352
+ });
353
+
354
+ // Initialize modal images on page load
355
+ readyallimages();
356
+ });
357
+
358
+ </script>
@@ -0,0 +1,26 @@
1
+ {%- comment -%} Dictionary chip + popover. Rendered server-side (no JS DOM moves) so it cannot cause layout shift. include.sfx keeps ids unique per form variant. {%- endcomment -%}
2
+ <div class="wg-input-tools">
3
+ <span class="wg-char-count">0/15</span>
4
+ <div class="letter-close-button" aria-label="Clear letters" title="Clear">
5
+ <img loading="lazy" decoding="async" width="28" height="28" src="/assets/images/close-button.svg" alt="close-btn">
6
+ </div>
7
+ <div class="wg-dd">
8
+ <select id="wg-dictionary{{ include.sfx }}" class="form-select select_dropDown2 wg-dd__select" name="dictionary" aria-label="Choose dictionary" tabindex="-1">
9
+ <option value="Dictionary">All Dictionaries</option>
10
+ <option value="twl06" id="twl06{{ include.sfx }}">Scrabble US (TWL)</option>
11
+ <option selected value="sowpods" id="sowpods{{ include.sfx }}">Scrabble UK (SOWPODS)</option>
12
+ <option value="wwf" id="wwf{{ include.sfx }}">Words With Friends</option>
13
+ </select>
14
+ <button type="button" class="wg-dd__btn" aria-haspopup="listbox" aria-expanded="false" aria-label="Dictionary">
15
+ <svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2.3" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H20v20H6.5a2.5 2.5 0 0 1-2.5-2.5Z"/><path d="M6 6h10M6 10h7"/></svg>
16
+ <span class="wg-dd__label">UK · SOWPODS</span>
17
+ <svg class="wg-dd__chev" viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="2.3" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m6 9 6 6 6-6"/></svg>
18
+ </button>
19
+ <ul class="wg-dd__menu" role="listbox" hidden>
20
+ <li role="option" tabindex="-1" data-value="Dictionary"><span class="wg-dd__check"><svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="2.3" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m5 12 5 5 9-10"/></svg></span><span class="wg-dd__txt"><b>All dictionaries</b><small>Search every word list at once</small></span></li>
21
+ <li role="option" tabindex="-1" data-value="twl06"><span class="wg-dd__check"><svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="2.3" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m5 12 5 5 9-10"/></svg></span><span class="wg-dd__txt"><b>Scrabble US (TWL)</b><small>North American Scrabble</small></span></li>
22
+ <li role="option" tabindex="-1" data-value="sowpods" class="is-on" aria-selected="true"><span class="wg-dd__check"><svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="2.3" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m5 12 5 5 9-10"/></svg></span><span class="wg-dd__txt"><b>Scrabble UK (SOWPODS)</b><small>UK &amp; international Scrabble</small></span></li>
23
+ <li role="option" tabindex="-1" data-value="wwf"><span class="wg-dd__check"><svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="2.3" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m5 12 5 5 9-10"/></svg></span><span class="wg-dd__txt"><b>Words With Friends</b><small>Words With Friends word list</small></span></li>
24
+ </ul>
25
+ </div>
26
+ </div>
@@ -0,0 +1,87 @@
1
+ {%- if site.noResultPage or page.noResultPage -%}
2
+
3
+ <div class="serachSection py-3" data-url="{{site.url}}" data-range="{{page.blanktilerange}}" data-letter="{{page.letter}}"
4
+ data-ablank="{{page.ablank}}">
5
+ <div class="position-relative serachBox">
6
+ <form id='form' method="GET">
7
+ <div class="wg-tool-card">
8
+
9
+ <div class="container-fluid" id="containerWd">
10
+ <div class="txt-box-container" style="position: relative;">
11
+ <input type="text"
12
+ placeholder="{% if page.size > 15 %}Enter up to {{page.size}} letters?{% else %}Enter your letters…{% endif %}"
13
+ class="textBoxes txtBox" name="search"
14
+ maxlength="{% if page.size > 15 %}{{page.size}}{% else %}15?{% endif %}" autocomplete="off"
15
+ aria-label="Letters" value="{{page.value}}">
16
+ {%- include wordgames-v2/search-box/dict-picker.html sfx="" -%}
17
+ </div>
18
+ </div>
19
+
20
+ <div class="container" id="result-page-data">
21
+ {%- include wordgames-v2/advanced-filter/advanced-filter.html -%}
22
+ </div>
23
+
24
+ <div class="search-btn-container">
25
+ <button aria-label="Find Words" value="Search" type="submit" class="serachBtn" id="serach" style="background: linear-gradient(135deg, #b641da 0%, #8c20ad 100%) !important; color: #ffffff !important;">
26
+ <span>Find Words</span>
27
+ <svg viewBox="0 0 24 24" width="20" height="20" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14M12 5l7 7-7 7"/></svg>
28
+ </button>
29
+ </div>
30
+ </div>
31
+
32
+ {%- if page.wordle == 'solver' -%}
33
+ <div class="d-flex w-100 justify-content-center m-0 mt-5 text-center" style="font-size:16px">
34
+ <a onclick="gtag('event', 'click', {'event_category': 'Link click', 'event_label': 'Try Wordle Solver'});"
35
+ class="trywordle" href="/wordle-solver">Try Wordle Solver</a>
36
+ </div>
37
+ {%- endif -%}
38
+ </form>
39
+ </div>
40
+ </div>
41
+
42
+ {%- else -%}
43
+ <div class="serachSection py-3" data-url="{{site.url}}" data-range="{{page.blanktilerange}}" data-letter="{{page.letter}}"
44
+ data-ablank="{{page.ablank}}">
45
+ <div class="position-relative serachBox">
46
+ <form action="{% if page.url == '/' %}/result{% else %}{{page.url}}/result{% endif %}" id='form' method="GET">
47
+ <div class="wg-tool-card">
48
+
49
+ <div class="container-fluid" id="containerWd">
50
+ <div class="txt-box-container" style="position: relative;">
51
+ <input type="text"
52
+ placeholder="{% if page.size > 15 %}Enter up to {{page.size}} letters?{% else %}Enter your letters…{% endif %}"
53
+ class="textBoxes txtBox" name="search"
54
+ maxlength="{% if page.size > 15 %}{{page.size}}{% else %}15?{% endif %}" required autocomplete="off"
55
+ aria-label="Letters" value="{{page.value}}">
56
+ {%- include wordgames/search-box/dict-picker.html sfx="-alt" -%}
57
+ </div>
58
+ </div>
59
+
60
+ <div class="container" id="result-page-data">
61
+ {%- include wordgames-v2/advanced-filter/advanced-filter.html -%}
62
+ </div>
63
+
64
+ <div class="search-btn-container">
65
+ <button aria-label="Find Words" value="Search" type="submit" class="serachBtn" id="serach" style="background: linear-gradient(135deg, #b641da 0%, #8c20ad 100%) !important; color: #ffffff !important;">
66
+ <span>Find Words</span>
67
+ <svg viewBox="0 0 24 24" width="20" height="20" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14M12 5l7 7-7 7"/></svg>
68
+ </button>
69
+ </div>
70
+ </div>
71
+
72
+ {%- if page.wordle == 'solver' -%}
73
+ <div class="d-flex w-100 justify-content-center m-0 mt-5 text-center" style="font-size:16px">
74
+ <a onclick="gtag('event', 'click', {'event_category': 'Link click', 'event_label': 'Try Wordle Solver'});"
75
+ class="trywordle" href="/wordle-solver">Try Wordle Solver</a>
76
+ </div>
77
+ {%- endif -%}
78
+ </form>
79
+ </div>
80
+ </div>
81
+ {%- endif -%}
82
+
83
+ {%- if site.noResultPage or page.noResultPage -%}
84
+ <div class="container" id="containerWd">
85
+ {% include wordgames/words-data/words-data.html %}
86
+ </div>
87
+ {%- endif -%}
@@ -0,0 +1,141 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+
4
+ {%- include wordgames-v2/head/head.html -%}
5
+
6
+ {%- if site.noResultPage or page.noResultPage -%}
7
+ {%- if page.letter -%}
8
+
9
+ {%- if page.permalink == "/five-letter-words-with-these-letters" -%}
10
+ <style>
11
+ .serachSection {
12
+ position: relative !important;
13
+ top: 0px !important;
14
+ }
15
+ </style>
16
+ {%- endif -%}
17
+
18
+ <style>
19
+ .main-header {
20
+ margin: 0px !important;
21
+ /* background-image: radial-gradient(#e4e4f4 2px, transparent 2px); */
22
+ background-size: 25px 25px;
23
+ background-color: unset !important;
24
+ }
25
+ </style>
26
+ {%- else -%}
27
+ <style>
28
+ .main-header {
29
+ margin: 0px !important;
30
+ background-color: unset !important;
31
+ }
32
+ </style>
33
+ {%- endif -%}
34
+ {%- endif -%}
35
+
36
+
37
+
38
+ <body class="wg-home">
39
+ <a class="wg-skip" href="#main-content">Skip to content</a>
40
+ {%- include home/header.html -%}
41
+
42
+ {%- if site.newFeatureBox -%}
43
+ <div class="wordgametheme-sidebar-left"></div>
44
+ <div class="wordgametheme-sidebar-right"></div>
45
+ {%- endif -%}
46
+
47
+
48
+
49
+ <main id="main-content">
50
+ <div class="main-header wg-hero">
51
+ {% include wordgames-v2/headings/headings.html %}
52
+ {% include wordgames-v2/search-box/search-box.html %}
53
+ </div>
54
+
55
+ {%- if page.homeHub -%}
56
+ <div class="wg-page">
57
+ {%- include home/letter-lists.html -%}
58
+ {%- include home/game-cards.html -%}
59
+ {%- include home/solvers.html -%}
60
+ </div>
61
+ {%- endif -%}
62
+
63
+ <div class="wg-seo" data-seo>
64
+ <div class="wg-seo__body" id="wg-seo-body">
65
+ {% include wordgames-v2/featurehighlights/featurehighlights.html %}
66
+ {%- include wordgames-v2/howto/howto.html -%}
67
+ </div>
68
+ </div>
69
+
70
+ {%- if dataToShow.faqList -%}
71
+ {%- if dataToShow.faqList.first.Question !='' -%}
72
+ {% include wordgames-v2/faqs/faqs.html %}
73
+ {% endif %}
74
+ {% endif %}
75
+
76
+ {% include wordgames/adblocker/adblocker.html %}
77
+
78
+
79
+ {%- if dataToShow.infographics.size > 0 -%}
80
+ {%- include wordgames-v2/infographics/infographics.html -%}
81
+ {%- endif -%}
82
+
83
+ {%- include wordgames/rating/rating.html -%}
84
+
85
+ {%- assign langen = "en" -%}
86
+ {%- if site.data[folder][langen][file].categories -%}
87
+ {% assign categories= site.data[folder][langen][file].categories %}
88
+ {%- else -%}
89
+ {% assign categories= page.categories %}
90
+ {%- endif -%}
91
+ {%- if site.data[folder][langen][file].tags -%}
92
+ {% assign tags= site.data[folder][langen][file].tags %}
93
+ {%- else -%}
94
+ {% assign tags= page.tags %}
95
+ {%- endif -%}
96
+ {%- if categories.size> 0 or tags.size>0-%}
97
+ {%- include section/related_categories_post.html -%}
98
+ {%- else -%}
99
+ {%- include wordgames/recent-posts/recent-posts.html -%}
100
+ {% endif %}
101
+
102
+ {% include featurePageAuthors/featurePageAuthors.html %}
103
+
104
+
105
+ </main>
106
+
107
+ {%- include home/footer.html -%}
108
+
109
+ <button class="wg-top" id="wg-top" type="button" aria-label="Back to top" hidden>
110
+ <svg viewBox="0 0 24 24" width="22" height="22" aria-hidden="true"><path fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round" d="M12 19V5M5 12l7-7 7 7"/></svg>
111
+ </button>
112
+
113
+ {%- include wordgames/scripts/scripts.html -%}
114
+
115
+ {%- if page.language -%}
116
+ <script>
117
+ const select_dropDown2 = document.querySelector(".select_dropDown2")
118
+ select_dropDown2select_dropDown2.style.display = "none"
119
+ select_dropDown2[1].style.display = "none"
120
+ select_dropDown2[2].style.display = "none"
121
+ select_dropDown2[3].style.display = "none"
122
+ </script>
123
+ {%- endif -%}
124
+
125
+
126
+ <script data-lang="{{page.lang}}" defer src="/assets/js/theme.js"></script>
127
+ <script defer src="/assets/js/home-ui.js"></script>
128
+ {%- if site.ad_preview -%}
129
+ {%- include home/ad-preview.html -%}
130
+ {%- endif -%}
131
+
132
+ {%- if site.noResultPage -%}
133
+ <script data-url="{{site.url}}" data-blanktilerange="{{page.blanktilerange}}" defer
134
+ src="/assets/js/wordfinder-home.js"></script>
135
+ {%- else -%}
136
+ <script defer src="/assets/js/wordgames-home.js"></script>
137
+ {%- endif -%}
138
+
139
+ </body>
140
+
141
+ </html>