word-games-theme 2.6.4 → 2.6.5
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/_includes/wordgames/faqs/faqs.html +1 -1
- data/_includes/wordgames/featurehighlights/featurehighlights.html +1 -1
- data/_includes/wordgames/header/header.html +2 -2
- data/_includes/wordgames/headings/headings.html +1 -1
- data/_includes/wordgames/howto/howto.html +1 -1
- data/_includes/wordgames/infographics/infographics.html +3 -2
- data/assets/css/wordfinder-result.css +23 -3
- data/assets/css/wordgames-home.css +40 -2
- data/assets/images/close-menu.svg +14 -0
- data/assets/js/theme.js +15 -8
- data/assets/js/wordfinder.js +75 -65
- data/assets/js/xletter-result.js +18 -35
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 583d8660aa57700a56401d24ea111b9eee67f0a8be6af0b172477aab3ffd0959
|
|
4
|
+
data.tar.gz: 43337bc3fec456ef29888e512a532b5bf3f432cc0d0da51c28ae31f71103734d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 652b32c88d0d1b8065a27f07bde1c357655c168f495c68cfc41ea008b8bd87787726e42d03a63c1508be36edbda337a46e4927c230e42e6d1f4277d85a4186df
|
|
7
|
+
data.tar.gz: 1535ded04c79f347be83f1846fa277236f6c439663f15832153349ab8a548b808f1eb2996207b60017c75c66dae68ab50037bcef61d0a031fb8e66cae436d4d2
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{% assign file = page.fileName %}
|
|
2
2
|
{% assign lang = page.lang %}
|
|
3
3
|
{% assign dataToShow = site.data.[page.folderName][lang][file] %}
|
|
4
|
-
<div class="container my-5">
|
|
4
|
+
<div class="container my-5" id="faqsContainer">
|
|
5
5
|
<p class="feature-highlight-title mb-0">FAQ</p>
|
|
6
6
|
{%- if site.ezoicAds -%}
|
|
7
7
|
<div class="container">
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
{%- if dataToShow.featureList.first.feature_heading !='' -%}
|
|
6
6
|
|
|
7
|
-
<div class="container" style="margin-top:7rem;">
|
|
7
|
+
<div class="container" id="featureContainer" style="margin-top:7rem;">
|
|
8
8
|
<div class="row">
|
|
9
9
|
<p class="feature-highlight-title mb-0">Features</p>
|
|
10
10
|
{%- if dataToShow.feature_description -%}
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
data-target="#navbarSupportedContent" aria-label="bars-toggle-icon">
|
|
22
22
|
<img src="/assets/images/hamburger-menu.svg" alt="hamburger-menu">
|
|
23
23
|
</button>
|
|
24
|
-
<div class="collapse navbar-collapse justify-content-end" id="navbarSupportedContent">
|
|
24
|
+
<div class="mobile-top-bar collapse navbar-collapse justify-content-end" id="navbarSupportedContent">
|
|
25
25
|
<div class="navbar-nav">
|
|
26
26
|
<div class="nav-item">
|
|
27
|
-
<a class="nav-link" href="/blog">Blog</a>
|
|
27
|
+
<a class="blog-link nav-link" href="/blog">Blog</a>
|
|
28
28
|
</div>
|
|
29
29
|
<div class="nav-item dropdown" id="navbarDropdown">
|
|
30
30
|
<span class="nav-link dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown">
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
<div class="container">
|
|
1
|
+
<div class="container" id="infographicsContainer">
|
|
2
2
|
<h3 class="mb-5 infographics-title"><b>Other useful information</b></h3>
|
|
3
|
-
</div>
|
|
4
3
|
|
|
5
4
|
<div class="inforgraphics_section">
|
|
6
5
|
<div class="wrapper">
|
|
@@ -35,6 +34,8 @@
|
|
|
35
34
|
</div>
|
|
36
35
|
</div>
|
|
37
36
|
|
|
37
|
+
</div>
|
|
38
|
+
|
|
38
39
|
<script>
|
|
39
40
|
const carousel = document.querySelector(".carousel"),
|
|
40
41
|
firstImg = carousel.querySelectorAll("img")[0],
|
|
@@ -175,7 +175,14 @@
|
|
|
175
175
|
}
|
|
176
176
|
|
|
177
177
|
.serachSection {
|
|
178
|
-
|
|
178
|
+
height: auto;
|
|
179
|
+
position: sticky;
|
|
180
|
+
top: 68px;
|
|
181
|
+
z-index: 99;
|
|
182
|
+
box-shadow: 0px 0px 30px #ffffff;
|
|
183
|
+
background: white;
|
|
184
|
+
padding: 4px;
|
|
185
|
+
|
|
179
186
|
}
|
|
180
187
|
|
|
181
188
|
|
|
@@ -374,10 +381,12 @@
|
|
|
374
381
|
|
|
375
382
|
.allGroupWords>.wordListHeading {
|
|
376
383
|
background: var(--black-color);
|
|
377
|
-
padding: 10px 0px
|
|
384
|
+
padding: 10px 0px 10px 25px;
|
|
378
385
|
border-top-right-radius: 13px;
|
|
379
386
|
border-top-left-radius: 13px;
|
|
380
387
|
color: #fff;
|
|
388
|
+
font-size: 20px;
|
|
389
|
+
font-weight: 600;
|
|
381
390
|
}
|
|
382
391
|
|
|
383
392
|
.wordListHeading>h3 {
|
|
@@ -387,6 +396,9 @@
|
|
|
387
396
|
|
|
388
397
|
.wordList {
|
|
389
398
|
padding: 15px;
|
|
399
|
+
display: inline-flex;
|
|
400
|
+
width: 100%;
|
|
401
|
+
flex-wrap: wrap;
|
|
390
402
|
}
|
|
391
403
|
|
|
392
404
|
.wordList>ul {
|
|
@@ -404,7 +416,6 @@
|
|
|
404
416
|
}
|
|
405
417
|
|
|
406
418
|
.wordList>ul li {
|
|
407
|
-
|
|
408
419
|
padding: 8px 0;
|
|
409
420
|
background: #f8f9fa;
|
|
410
421
|
border-radius: 5px;
|
|
@@ -422,6 +433,15 @@
|
|
|
422
433
|
text-decoration: none !important;
|
|
423
434
|
font-weight: 600;
|
|
424
435
|
list-style: none;
|
|
436
|
+
padding: 8px 0;
|
|
437
|
+
background: #f8f9fa;
|
|
438
|
+
border-radius: 5px;
|
|
439
|
+
margin: 6px 6px;
|
|
440
|
+
width: auto;
|
|
441
|
+
min-width: 100px;
|
|
442
|
+
text-align: center;
|
|
443
|
+
border: solid 1px var(--black-color);
|
|
444
|
+
box-shadow: 2px 2px 1px 0px var(--black-color);
|
|
425
445
|
}
|
|
426
446
|
|
|
427
447
|
.wordList .anchor__style .highlight {
|
|
@@ -76,7 +76,7 @@ input[type="number"] {
|
|
|
76
76
|
|
|
77
77
|
#containerWd {
|
|
78
78
|
max-width: 100%;
|
|
79
|
-
width:
|
|
79
|
+
width: 900px !important;
|
|
80
80
|
padding: 0px;
|
|
81
81
|
position: relative;
|
|
82
82
|
}
|
|
@@ -271,6 +271,7 @@ input:focus-visible {
|
|
|
271
271
|
position: absolute;
|
|
272
272
|
right: 13px;
|
|
273
273
|
}
|
|
274
|
+
|
|
274
275
|
.fillterWrapper input {
|
|
275
276
|
border-radius: 74px;
|
|
276
277
|
border: solid 2px #313131;
|
|
@@ -803,6 +804,42 @@ summary::-webkit-details-marker {
|
|
|
803
804
|
|
|
804
805
|
|
|
805
806
|
@media (max-width: 768px) {
|
|
807
|
+
.top_tool_bar {
|
|
808
|
+
display: block !important;
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
.blog-link,
|
|
812
|
+
#navbarDropdown {
|
|
813
|
+
display: none;
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
.navbar-toggler{
|
|
817
|
+
position: absolute;
|
|
818
|
+
right: 10px;
|
|
819
|
+
z-index: 999999;
|
|
820
|
+
top: 10px;
|
|
821
|
+
width: 50px;
|
|
822
|
+
height: 50px;
|
|
823
|
+
padding: 0;
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
.navbar-toggler img{
|
|
827
|
+
height: 50px;
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
.mobile-top-bar {
|
|
831
|
+
display: block;
|
|
832
|
+
position: absolute;
|
|
833
|
+
right: 0;
|
|
834
|
+
width: 100%;
|
|
835
|
+
top: 0;
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
.navbar-nav .top_tool_bar {
|
|
839
|
+
max-height: 100vh;
|
|
840
|
+
padding: 3rem;
|
|
841
|
+
}
|
|
842
|
+
|
|
806
843
|
.advancedFilterOptions {
|
|
807
844
|
display: block;
|
|
808
845
|
}
|
|
@@ -811,10 +848,11 @@ summary::-webkit-details-marker {
|
|
|
811
848
|
display: none;
|
|
812
849
|
}
|
|
813
850
|
|
|
814
|
-
.fillterWrapper{
|
|
851
|
+
.fillterWrapper {
|
|
815
852
|
gap: 10px;
|
|
816
853
|
margin: 1rem 0px !important;
|
|
817
854
|
}
|
|
855
|
+
|
|
818
856
|
.overlay {
|
|
819
857
|
display: none;
|
|
820
858
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<svg height="50px" width="1em" style="font-size: 25px" viewBox="0 0 24 24" fill="#000" xmlns="http://www.w3.org/2000/svg" stroke="#000">
|
|
2
|
+
<g id="SVGRepo_bgCarrier" stroke-width="0"></g>
|
|
3
|
+
<g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g>
|
|
4
|
+
<g id="SVGRepo_iconCarrier">
|
|
5
|
+
<g clip-path="url(#clip0_429_11083)">
|
|
6
|
+
<path d="M7 7.00006L17 17.0001M7 17.0001L17 7.00006" stroke="#000" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
7
|
+
</g>
|
|
8
|
+
<defs>
|
|
9
|
+
<clipPath id="clip0_429_11083">
|
|
10
|
+
<rect width="24" height="24" fill="white"></rect>
|
|
11
|
+
</clipPath>
|
|
12
|
+
</defs>
|
|
13
|
+
</g>
|
|
14
|
+
</svg>
|
data/assets/js/theme.js
CHANGED
|
@@ -49,16 +49,23 @@ navbarDropdown.addEventListener("click", () => {
|
|
|
49
49
|
|
|
50
50
|
}
|
|
51
51
|
});
|
|
52
|
-
const navbarToggler = document.querySelector('.navbar-toggler')
|
|
53
|
-
const navBar = document.querySelector('#navbarSupportedContent')
|
|
52
|
+
const navbarToggler = document.querySelector('.navbar-toggler');
|
|
53
|
+
const navBar = document.querySelector('#navbarSupportedContent');
|
|
54
|
+
const menuIcon = '/assets/images/hamburger-menu.svg';
|
|
55
|
+
const closeIcon = '/assets/images/close-menu.svg';
|
|
56
|
+
const imgElement = navbarToggler.querySelector('img');
|
|
57
|
+
|
|
54
58
|
navbarToggler.addEventListener('click', () => {
|
|
55
|
-
if (navBar.classList.contains(
|
|
56
|
-
|
|
57
|
-
|
|
59
|
+
if (navBar.classList.contains('show')) {
|
|
60
|
+
navBar.classList.remove('show');
|
|
61
|
+
navBar.style.display = 'none';
|
|
62
|
+
imgElement.src = menuIcon; // Change to hamburger menu icon when closing
|
|
58
63
|
} else {
|
|
59
|
-
|
|
60
|
-
|
|
64
|
+
navBar.classList.add('show');
|
|
65
|
+
navBar.style.display = 'block';
|
|
66
|
+
imgElement.src = closeIcon; // Change to close icon when opening
|
|
61
67
|
}
|
|
62
|
-
})
|
|
68
|
+
});
|
|
69
|
+
|
|
63
70
|
|
|
64
71
|
}
|
data/assets/js/wordfinder.js
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
***************/
|
|
4
4
|
console.log(true);
|
|
5
5
|
const getScript = document.currentScript;
|
|
6
|
-
console.log(getScript);
|
|
7
6
|
let form = document.querySelector("#form");
|
|
8
7
|
let wordCount = document.querySelector(".wordCount");
|
|
9
8
|
let main = document.querySelector(".main");
|
|
@@ -39,6 +38,12 @@ const siteUrl = getScript.dataset.url;
|
|
|
39
38
|
var sortValue;
|
|
40
39
|
var sortBool = false;
|
|
41
40
|
|
|
41
|
+
let featureContainer = document.querySelector("#featureContainer")
|
|
42
|
+
let howContainer = document.querySelector("#howContainer")
|
|
43
|
+
let faqsContainer = document.querySelector("#faqsContainer")
|
|
44
|
+
let infographicsContainer = document.querySelector("#infographicsContainer")
|
|
45
|
+
|
|
46
|
+
|
|
42
47
|
// let letterCloseButton = document.querySelector(
|
|
43
48
|
// ".letter-close-button-commonPage"
|
|
44
49
|
// );
|
|
@@ -208,9 +213,18 @@ const getDiff = (text1, text2) => {
|
|
|
208
213
|
return diffRange;
|
|
209
214
|
};
|
|
210
215
|
|
|
216
|
+
let authorsLists = document.querySelector(".authors-list")
|
|
217
|
+
|
|
211
218
|
// getWords define...
|
|
212
219
|
const getData = async (serachValue) => {
|
|
213
220
|
try {
|
|
221
|
+
document.querySelector(".main-header").style.background = "#fff"
|
|
222
|
+
document.querySelector(".heading-h2").style.display = "none"
|
|
223
|
+
featureContainer.remove()
|
|
224
|
+
howContainer.remove()
|
|
225
|
+
faqsContainer.remove()
|
|
226
|
+
infographicsContainer.remove()
|
|
227
|
+
authorsLists.remove()
|
|
214
228
|
errorMsg.innerHTML = "";
|
|
215
229
|
wordCount.innerHTML = "";
|
|
216
230
|
let selectedDictionary = document.querySelector(".select_dropDown2").value;
|
|
@@ -227,17 +241,17 @@ const getData = async (serachValue) => {
|
|
|
227
241
|
</li>
|
|
228
242
|
<li class="blog-post o-media">
|
|
229
243
|
<div class="o-media__figure">
|
|
230
|
-
<span class="skeleton-box" style="width:
|
|
244
|
+
<span class="skeleton-box" style="width:900px;height:140px;"></span>
|
|
231
245
|
</div>
|
|
232
246
|
</li>
|
|
233
247
|
<li class="blog-post o-media">
|
|
234
248
|
<div class="o-media__figure">
|
|
235
|
-
<span class="skeleton-box" style="width:
|
|
249
|
+
<span class="skeleton-box" style="width:900px;height:140px;"></span>
|
|
236
250
|
</div>
|
|
237
251
|
</li>
|
|
238
252
|
<li class="blog-post o-media">
|
|
239
253
|
<div class="o-media__figure">
|
|
240
|
-
<span class="skeleton-box" style="width:
|
|
254
|
+
<span class="skeleton-box" style="width:900px;height:140px;"></span>
|
|
241
255
|
</div>
|
|
242
256
|
</li>
|
|
243
257
|
</ul>
|
|
@@ -343,7 +357,7 @@ function getWords(data) {
|
|
|
343
357
|
main.innerHTML = "";
|
|
344
358
|
// tab_container.innerHTML = "";
|
|
345
359
|
lengthSelect.innerHTML = ""
|
|
346
|
-
document.querySelector(".sortingFilters").style.display="flex"
|
|
360
|
+
document.querySelector(".sortingFilters").style.display = "flex"
|
|
347
361
|
if (typeof data === "string") {
|
|
348
362
|
errorMsg.innerHTML = "no words found";
|
|
349
363
|
wordCount.innerHTML = `<strong>Found 0 words with letters ${serachValue.split(
|
|
@@ -483,10 +497,12 @@ function getWords(data) {
|
|
|
483
497
|
sum += ScrabbleLetterScore[item[i]] || 0; // for unknown characters
|
|
484
498
|
}
|
|
485
499
|
dataArr.push(item);
|
|
486
|
-
return
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
500
|
+
return `
|
|
501
|
+
<a class="anchor__style" title="Lookup ${item} in Dictionary" target="_blank" href="/word-meaning?search=${item.toLowerCase()}">
|
|
502
|
+
${itemHtml}
|
|
503
|
+
<span class="points" value="${sum}" style="position:relative; top:4px; font-size:12px">${sum}</span>
|
|
504
|
+
</a>
|
|
505
|
+
`;
|
|
490
506
|
}
|
|
491
507
|
});
|
|
492
508
|
|
|
@@ -505,13 +521,9 @@ function getWords(data) {
|
|
|
505
521
|
// tabs[0] ? tabs[0].classList.add("active-tab") : "";
|
|
506
522
|
main.innerHTML += `
|
|
507
523
|
<div class="allGroupWords wordlistContainer" id="alpha_${i}">
|
|
508
|
-
|
|
509
|
-
<h3 class="lead">${i} Letter Words</h3>
|
|
510
|
-
</div>
|
|
524
|
+
<h3 class="wordListHeading lead">${i} Letter Words</h3>
|
|
511
525
|
<div class="wordList">
|
|
512
|
-
<ul class="ul list-unstyled">
|
|
513
526
|
${result.join("")}
|
|
514
|
-
</ul>
|
|
515
527
|
</div>
|
|
516
528
|
</div>
|
|
517
529
|
`;
|
|
@@ -579,7 +591,6 @@ function sortPointsby(sortValue, data) {
|
|
|
579
591
|
newArray.push(value);
|
|
580
592
|
}
|
|
581
593
|
});
|
|
582
|
-
|
|
583
594
|
newArray.sort(function (a, b) {
|
|
584
595
|
return b.points - a.points;
|
|
585
596
|
});
|
|
@@ -618,42 +629,42 @@ function sortPointsby(sortValue, data) {
|
|
|
618
629
|
itemHtml += `<span class='highlight'>${itemValue}</span>`;
|
|
619
630
|
}
|
|
620
631
|
});
|
|
621
|
-
return
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
632
|
+
return `
|
|
633
|
+
<a class="anchor__style" title="Lookup ${item} in Dictionary" target="_blank" href="/word-meaning?search=${item.words}">
|
|
634
|
+
${itemHtml}
|
|
635
|
+
<span class="points" value="${item.points}" style="position:relative; top:4px; font-size:12px"> ${item.points}</span>
|
|
636
|
+
</a>
|
|
637
|
+
`;
|
|
625
638
|
});
|
|
626
|
-
|
|
627
639
|
main.innerHTML += `
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
</ul>
|
|
636
|
-
</div>
|
|
637
|
-
</div>
|
|
638
|
-
`;
|
|
640
|
+
<div class="allGroupWords wordlistContainer" id="alpha_${i}">
|
|
641
|
+
<h3 class="wordListHeading lead">${i} Letter Words</h3>
|
|
642
|
+
<div class="wordList">
|
|
643
|
+
${result.join("")}
|
|
644
|
+
</div>
|
|
645
|
+
</div>
|
|
646
|
+
`;
|
|
639
647
|
}
|
|
640
648
|
}
|
|
641
649
|
}
|
|
642
650
|
}
|
|
651
|
+
|
|
652
|
+
// document.querySelector(".sortingFilters").style.display = "flex"
|
|
653
|
+
// document.querySelector(".wordCount").style.display = "block"
|
|
654
|
+
|
|
643
655
|
// sort by aplhabets
|
|
644
656
|
function sortby(sortBool, data) {
|
|
657
|
+
main.innerHTML = "";
|
|
645
658
|
if (sortBool) {
|
|
646
|
-
main.innerHTML = "";
|
|
647
659
|
data.reverse();
|
|
660
|
+
console.log(data)
|
|
648
661
|
let newWordsLength = 0;
|
|
649
662
|
for (let i = serachValue.length; i >= 1; i--) {
|
|
650
663
|
var newdata = data.filter((item) => item.length === i);
|
|
651
|
-
|
|
652
664
|
if (newdata.length === 0) {
|
|
653
665
|
main.innerHTML += "";
|
|
654
666
|
} else {
|
|
655
667
|
newWordsLength += newdata.length;
|
|
656
|
-
|
|
657
668
|
const result = newdata.map((item) => {
|
|
658
669
|
var text1 = serachValue.replace("?", "");
|
|
659
670
|
var text2 = item;
|
|
@@ -689,28 +700,29 @@ function sortby(sortBool, data) {
|
|
|
689
700
|
sum += ScrabbleLetterScore[item[i]] || 0; // for unknown characters
|
|
690
701
|
}
|
|
691
702
|
|
|
692
|
-
return
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
703
|
+
return `
|
|
704
|
+
<a class="anchor__style" title="Lookup ${item} in Dictionary" target="_blank" href="/word-meaning?search=${item.toLowerCase()}">
|
|
705
|
+
${itemHtml}
|
|
706
|
+
<span class="points" value="${sum}" style="position:relative; top:4px; font-size:12px">${sum}</span>
|
|
707
|
+
</a>
|
|
708
|
+
`;
|
|
696
709
|
}
|
|
697
710
|
});
|
|
698
711
|
|
|
712
|
+
|
|
713
|
+
|
|
699
714
|
main.innerHTML += `
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
</ul>
|
|
708
|
-
</div>
|
|
709
|
-
</div>
|
|
710
|
-
`;
|
|
715
|
+
<div class="allGroupWords wordlistContainer" id="alpha_${i}">
|
|
716
|
+
<h3 class="wordListHeading lead">${i} Letter Words</h3>
|
|
717
|
+
<div class="wordList">
|
|
718
|
+
${result.join("")}
|
|
719
|
+
</div>
|
|
720
|
+
</div>
|
|
721
|
+
`;
|
|
711
722
|
}
|
|
712
723
|
}
|
|
713
|
-
}
|
|
724
|
+
}
|
|
725
|
+
else {
|
|
714
726
|
main.innerHTML = "";
|
|
715
727
|
data.sort();
|
|
716
728
|
for (let i = serachValue.length; i >= 1; i--) {
|
|
@@ -752,24 +764,22 @@ function sortby(sortBool, data) {
|
|
|
752
764
|
sum += ScrabbleLetterScore[item[i]] || 0; // for unknown characters
|
|
753
765
|
}
|
|
754
766
|
|
|
755
|
-
return
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
767
|
+
return `
|
|
768
|
+
<a class="anchor__style" title="Lookup ${item} in Dictionary" target="_blank" href="/word-meaning?search=${item.toLowerCase()}">
|
|
769
|
+
${itemHtml}
|
|
770
|
+
<span class="points" value="${sum}" style="position:relative; top:4px; font-size:12px">${sum}</span>
|
|
771
|
+
</a>
|
|
772
|
+
`;
|
|
759
773
|
}
|
|
760
774
|
});
|
|
761
775
|
main.innerHTML += `
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
</ul>
|
|
770
|
-
</div>
|
|
771
|
-
</div>
|
|
772
|
-
`;
|
|
776
|
+
<div class="allGroupWords wordlistContainer" id="alpha_${i}">
|
|
777
|
+
<h3 class="wordListHeading lead">${i} Letter Words</h3>
|
|
778
|
+
<div class="wordList">
|
|
779
|
+
${result.join("")}
|
|
780
|
+
</div>
|
|
781
|
+
</div>
|
|
782
|
+
`;
|
|
773
783
|
}
|
|
774
784
|
}
|
|
775
785
|
}
|
data/assets/js/xletter-result.js
CHANGED
|
@@ -505,26 +505,21 @@ function x_with_letters(data) {
|
|
|
505
505
|
|
|
506
506
|
dataArr.push(item)
|
|
507
507
|
return `<a class="anchor__style" title="Lookup ${item} in Dictionary" target="_blank" href="/word-meaning?search=${item}">
|
|
508
|
-
|
|
508
|
+
${itemHtml}
|
|
509
509
|
<span class="points" value="${sum}" style="position:relative; top:4px; font-size:12px"> ${sum}</span>
|
|
510
|
-
|
|
510
|
+
</a>`
|
|
511
511
|
})
|
|
512
512
|
home_page_search_result.href = homePageSearchResult
|
|
513
513
|
home_page_search_result.innerHTML = `See words of any length with letters ${serachValue.split("")}`
|
|
514
514
|
|
|
515
|
-
|
|
516
515
|
main.innerHTML += `
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
</ul>
|
|
525
|
-
</div>
|
|
526
|
-
</div>
|
|
527
|
-
`
|
|
516
|
+
<div class="allGroupWords">
|
|
517
|
+
<h3 class="wordListHeading lead">${itemLength} Letter Words</h3>
|
|
518
|
+
<div class="wordList">
|
|
519
|
+
${result.join("")}
|
|
520
|
+
</div>
|
|
521
|
+
</div>
|
|
522
|
+
`;
|
|
528
523
|
|
|
529
524
|
// sort eventlistener
|
|
530
525
|
theSelect.addEventListener('change', () => {
|
|
@@ -644,20 +639,16 @@ function sortPointsby(sortValue, data, i) {
|
|
|
644
639
|
}
|
|
645
640
|
})
|
|
646
641
|
return `<a class="anchor__style" title="Lookup ${item} in Dictionary" target="_blank" href="/word-meaning?search=${item.words}">
|
|
647
|
-
|
|
642
|
+
${itemHtml}
|
|
648
643
|
<span class="points" value="${item.points}" style="position:relative; top:4px; font-size:12px"> ${item.points}</span>
|
|
649
|
-
|
|
644
|
+
</a>`
|
|
650
645
|
})
|
|
651
646
|
|
|
652
647
|
main.innerHTML += `
|
|
653
648
|
<div class="allGroupWords wordlistContainer" id="alpha_${i}">
|
|
654
|
-
|
|
655
|
-
<h3 class="lead">${i} Letter Words</h3>
|
|
656
|
-
</div>
|
|
649
|
+
<h3 class="wordListHeading lead">${i} Letter Words</h3>
|
|
657
650
|
<div class="wordList">
|
|
658
|
-
<ul class="ul list-unstyled">
|
|
659
651
|
${result.join('')}
|
|
660
|
-
</ul>
|
|
661
652
|
</div>
|
|
662
653
|
</div>
|
|
663
654
|
`
|
|
@@ -712,20 +703,16 @@ function sortby(sortBool, data, i) {
|
|
|
712
703
|
})
|
|
713
704
|
|
|
714
705
|
return `<a class="anchor__style" title="Lookup ${item} in Dictionary" target="_blank" href="/word-meaning?search=${item}">
|
|
715
|
-
|
|
706
|
+
${itemHtml}
|
|
716
707
|
<span class="points" value="${sum}" style="position:relative; top:4px; font-size:12px"> ${sum}</span>
|
|
717
|
-
|
|
708
|
+
</a>`
|
|
718
709
|
})
|
|
719
710
|
|
|
720
711
|
main.innerHTML += `
|
|
721
712
|
<div class="allGroupWords wordlistContainer" id="alpha_${i}">
|
|
722
|
-
|
|
723
|
-
<h3 class="lead">${i} Letter Words</h3>
|
|
724
|
-
</div>
|
|
713
|
+
<h3 class="wordListHeading lead">${i} Letter Words</h3>
|
|
725
714
|
<div class="wordList">
|
|
726
|
-
<ul class="ul list-unstyled">
|
|
727
715
|
${result.join('')}
|
|
728
|
-
</ul>
|
|
729
716
|
</div>
|
|
730
717
|
</div>
|
|
731
718
|
|
|
@@ -777,20 +764,16 @@ function sortby(sortBool, data, i) {
|
|
|
777
764
|
})
|
|
778
765
|
|
|
779
766
|
return `<a class="anchor__style" title="Lookup ${item} in Dictionary" target="_blank" href="/word-meaning?search=${item}">
|
|
780
|
-
|
|
767
|
+
${itemHtml}
|
|
781
768
|
<span class="points" value="${sum}" style="position:relative; top:4px; font-size:12px"> ${sum}</span>
|
|
782
|
-
|
|
769
|
+
</a>`
|
|
783
770
|
})
|
|
784
771
|
|
|
785
772
|
main.innerHTML += `
|
|
786
773
|
<div class="allGroupWords wordlistContainer" id="alpha_${i}">
|
|
787
|
-
|
|
788
|
-
<h3 class="lead">${i} Letter Words</h3>
|
|
789
|
-
</div>
|
|
774
|
+
<h3 class="wordListHeading lead">${i} Letter Words</h3>
|
|
790
775
|
<div class="wordList">
|
|
791
|
-
<ul class="ul list-unstyled">
|
|
792
776
|
${result.join('')}
|
|
793
|
-
</ul>
|
|
794
777
|
</div>
|
|
795
778
|
</div>
|
|
796
779
|
|
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: 2.6.
|
|
4
|
+
version: 2.6.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- manpreet-appscms
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-03-
|
|
11
|
+
date: 2024-03-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -287,6 +287,7 @@ files:
|
|
|
287
287
|
- assets/images/check.svg
|
|
288
288
|
- assets/images/close-btn.svg
|
|
289
289
|
- assets/images/close-button.svg
|
|
290
|
+
- assets/images/close-menu.svg
|
|
290
291
|
- assets/images/close.png
|
|
291
292
|
- assets/images/copy.svg
|
|
292
293
|
- assets/images/debosmita.jpeg
|