word-games-theme 0.7.0 → 0.7.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_data/footer/en/data.json +37 -53
- data/_data/footer/networksites.json +4 -4
- data/_data/wordgames/en/root.json +1 -0
- data/_data/wordleSolver/en/data.json +2 -0
- data/_includes/footer/index.html +59 -2
- data/_includes/section/blog.html +40 -18
- data/_includes/section/commonPage.html +14 -15
- data/_includes/section/feature.html +9 -8
- data/_includes/section/home.html +11 -4
- data/_includes/section/home2.html +14 -8
- data/_includes/section/related_categories_post.html +13 -4
- data/_includes/section/wordGroup.html +1 -1
- data/_includes/section/xyzGroup.html +1 -1
- data/_includes/wordle-solver/wordle-solver.html +42 -27
- data/_layouts/default.html +8 -2
- data/_layouts/page.html +0 -1
- data/_layouts/page2.html +0 -1
- data/_layouts/wordMeaning.html +3 -0
- data/_layouts/wordleSolver.html +9 -0
- data/_layouts/xyzpages.html +7 -2
- data/assets/css/advancedFilter.css +19 -3
- data/assets/css/feature.css +6 -6
- data/assets/css/footer.css +158 -2
- data/assets/css/home.css +68 -7
- data/assets/css/wordGroup.css +1 -1
- data/assets/css/wordleSolver.css +36 -5
- data/assets/js/X-letter.js +4 -3
- data/assets/js/wordScrabble.js +4 -3
- data/assets/js/wordleSolver.js +18 -8
- metadata +2 -3
- data/_data/footer/hi/data.json +0 -69
data/assets/css/wordleSolver.css
CHANGED
@@ -11,7 +11,9 @@
|
|
11
11
|
}
|
12
12
|
.forms_data {
|
13
13
|
border: 1px solid rgba(0, 0, 0, 0.1);
|
14
|
-
padding: 25px;
|
14
|
+
padding: 0px 25px;
|
15
|
+
padding-top: 15px;
|
16
|
+
text-align: center;
|
15
17
|
}
|
16
18
|
.wordleSolver_headings {
|
17
19
|
margin-top: 110px;
|
@@ -23,8 +25,8 @@
|
|
23
25
|
font-size: 30px;
|
24
26
|
text-transform: uppercase;
|
25
27
|
text-align: center;
|
26
|
-
width:
|
27
|
-
height:
|
28
|
+
width: 48px;
|
29
|
+
height: 48px;
|
28
30
|
line-height: 55px;
|
29
31
|
font-weight: bold;
|
30
32
|
border: 1px solid rgba(0, 0, 0, 0.1);
|
@@ -53,6 +55,7 @@
|
|
53
55
|
border-color: #6aaa64;
|
54
56
|
color: #fff;
|
55
57
|
border-radius: 5px;
|
58
|
+
width: 100px;
|
56
59
|
font-weight: 900;
|
57
60
|
}
|
58
61
|
.wordlesolver-btn:focus {
|
@@ -70,10 +73,11 @@
|
|
70
73
|
|
71
74
|
.allfiveletterswords {
|
72
75
|
background-color: white !important;
|
73
|
-
width:
|
76
|
+
width: 75%;
|
77
|
+
margin: 10px auto;
|
74
78
|
height: auto;
|
75
79
|
box-shadow: 0 0 2px rgb(0 0 0 / 20%);
|
76
|
-
margin: 10px 0;
|
80
|
+
/* margin: 10px 0; */
|
77
81
|
border-radius: 15px;
|
78
82
|
}
|
79
83
|
.allfiveletterswords > .wordListHeading {
|
@@ -86,6 +90,8 @@
|
|
86
90
|
|
87
91
|
#wordleWordCount {
|
88
92
|
font-size: 18px;
|
93
|
+
width: 75%;
|
94
|
+
margin: 10px auto;
|
89
95
|
}
|
90
96
|
|
91
97
|
.ws-fcs {
|
@@ -101,3 +107,28 @@
|
|
101
107
|
color: #fff !important;
|
102
108
|
background-color: #787c7e !important;
|
103
109
|
}
|
110
|
+
.related_post_heading {
|
111
|
+
width: 100%;
|
112
|
+
font-size: 46px;
|
113
|
+
text-align: center;
|
114
|
+
font-weight: 800;
|
115
|
+
font-stretch: normal;
|
116
|
+
font-style: normal;
|
117
|
+
line-height: 1.24;
|
118
|
+
letter-spacing: normal;
|
119
|
+
color: #11304e;
|
120
|
+
margin-bottom: 45px;
|
121
|
+
padding-top: 75px;
|
122
|
+
display: inline-block;
|
123
|
+
}
|
124
|
+
|
125
|
+
#wordleSolvererrorMsg {
|
126
|
+
margin: 10px auto;
|
127
|
+
width: 75%;
|
128
|
+
}
|
129
|
+
@media (max-width: 768px) {
|
130
|
+
.allfiveletterswords,
|
131
|
+
#wordleWordCount {
|
132
|
+
width: 80%;
|
133
|
+
}
|
134
|
+
}
|
data/assets/js/X-letter.js
CHANGED
@@ -20,6 +20,7 @@ let dictonary = params.get('dictionary')
|
|
20
20
|
let tab_container = document.querySelector('.tab_container')
|
21
21
|
|
22
22
|
let txtBox = document.querySelector('.txtBox')
|
23
|
+
txtBox.focus()
|
23
24
|
txtBox.value = serachValue
|
24
25
|
|
25
26
|
var theSelect = document.getElementById('select_dropDown')
|
@@ -46,7 +47,7 @@ getData(serachValue.toLowerCase())
|
|
46
47
|
function x_with_letters(data) {
|
47
48
|
if (typeof data === 'string') {
|
48
49
|
errorMsg.innerHTML = 'No words found'
|
49
|
-
wordCount.innerHTML = `<strong> 0 words with letters ${serachValue.split(
|
50
|
+
wordCount.innerHTML = `<strong>Found 0 words with letters ${serachValue.split(
|
50
51
|
''
|
51
52
|
)}</strong>`
|
52
53
|
} else {
|
@@ -158,7 +159,7 @@ function x_with_letters(data) {
|
|
158
159
|
sum += ScrabbleLetterScore[item[i]] || 0 // for unknown characters
|
159
160
|
}
|
160
161
|
wordLength.value = itemLength
|
161
|
-
return `<a class="anchor__style" title="Lookup
|
162
|
+
return `<a class="anchor__style" title="Lookup ${item} in Dictionary" target="_blank" href="/word-meaning?search=${item}">
|
162
163
|
<li>${item}
|
163
164
|
<span class="points" value="${sum}" style="position:relative; top:4px; font-size:12px"> ${sum}</span>
|
164
165
|
</li></a>`
|
@@ -187,7 +188,7 @@ function x_with_letters(data) {
|
|
187
188
|
</div>
|
188
189
|
`
|
189
190
|
}
|
190
|
-
wordCount.innerHTML = `<strong
|
191
|
+
wordCount.innerHTML = `<strong>Found ${newWordsLength} words with letters with ${serachValue.split(
|
191
192
|
''
|
192
193
|
)}</strong>`
|
193
194
|
}
|
data/assets/js/wordScrabble.js
CHANGED
@@ -37,6 +37,7 @@ var sortValue
|
|
37
37
|
var sortBool = false
|
38
38
|
|
39
39
|
let txtBox = document.querySelector('.txtBox')
|
40
|
+
txtBox.focus()
|
40
41
|
txtBox.value = serachValue
|
41
42
|
txtBox.addEventListener('input', (e) => {
|
42
43
|
let rangeOfBlankTile = script.dataset.range
|
@@ -105,7 +106,7 @@ if (lengthValue === '1') {
|
|
105
106
|
function getWords(data) {
|
106
107
|
if (typeof data === 'string') {
|
107
108
|
errorMsg.innerHTML = 'no words found'
|
108
|
-
wordCount.innerHTML = `<strong> 0 words with letters ${serachValue.split(
|
109
|
+
wordCount.innerHTML = `<strong>Found 0 words with letters ${serachValue.split(
|
109
110
|
''
|
110
111
|
)}</strong>`
|
111
112
|
} else {
|
@@ -240,7 +241,7 @@ function getWords(data) {
|
|
240
241
|
for (let i = 0; i < item.length; i++) {
|
241
242
|
sum += ScrabbleLetterScore[item[i]] || 0 // for unknown characters
|
242
243
|
}
|
243
|
-
return `<a class="anchor__style" title="Lookup
|
244
|
+
return `<a class="anchor__style" title="Lookup ${item} in Dictionary" target="_blank" href="/word-meaning?search=${item.toLowerCase()}">
|
244
245
|
<li>${itemHtml}
|
245
246
|
<span class="points" value="${sum}" style="position:relative; top:4px; font-size:12px"> ${sum}</span>
|
246
247
|
</li></a>`
|
@@ -273,7 +274,7 @@ function getWords(data) {
|
|
273
274
|
if (newWordsLength === 0) {
|
274
275
|
errorMsg.innerHTML = 'no words found'
|
275
276
|
} else {
|
276
|
-
wordCount.innerHTML = `<strong
|
277
|
+
wordCount.innerHTML = `<strong>Found ${newWordsLength} words with letters with ${serachValue.split(
|
277
278
|
''
|
278
279
|
)}</strong>`
|
279
280
|
}
|
data/assets/js/wordleSolver.js
CHANGED
@@ -2,11 +2,11 @@ console.log('wordle solver ...')
|
|
2
2
|
|
3
3
|
let form = document.querySelector('[name=verify')
|
4
4
|
|
5
|
-
let greenLetters = document.querySelectorAll('
|
6
|
-
let yellowLetters = document.querySelectorAll('
|
7
|
-
let greyLetters = document.querySelectorAll('
|
5
|
+
let greenLetters = document.querySelectorAll('.greenLetters')
|
6
|
+
let yellowLetters = document.querySelectorAll('.yellowLetters')
|
7
|
+
let greyLetters = document.querySelectorAll('.greyLetters')
|
8
8
|
let wordleSolverData = document.getElementById('wordleSolverData')
|
9
|
-
|
9
|
+
greenLetters[0].focus()
|
10
10
|
let wordleWordCount = document.querySelector('#wordleWordCount')
|
11
11
|
let wordleSolvererrorMsg = document.querySelector('#wordleSolvererrorMsg')
|
12
12
|
let wordlesolver_submit = document.getElementById('wordlesolver_submit')
|
@@ -38,9 +38,12 @@ addMore.addEventListener('click', (e) => {
|
|
38
38
|
}
|
39
39
|
})
|
40
40
|
|
41
|
+
let spinner = document.querySelector('.spinner')
|
41
42
|
const wordleSolver = async (value, value2, value3, greenWithIndex) => {
|
42
43
|
try {
|
43
44
|
let result = ''
|
45
|
+
document.querySelector('#updateTxt').innerHTML = ''
|
46
|
+
spinner.classList.add('spinner-border')
|
44
47
|
wordleWordCount.innerHTML = 'Searching for best possible letters...'
|
45
48
|
let response = await fetch('/.netlify/functions/wordleSolver', {
|
46
49
|
method: 'POST',
|
@@ -52,6 +55,8 @@ const wordleSolver = async (value, value2, value3, greenWithIndex) => {
|
|
52
55
|
}),
|
53
56
|
})
|
54
57
|
const data = await response.json()
|
58
|
+
document.querySelector('#updateTxt').innerHTML = 'Update'
|
59
|
+
spinner.classList.remove('spinner-border')
|
55
60
|
|
56
61
|
let ok = true
|
57
62
|
if (data.length === 0) {
|
@@ -59,10 +64,13 @@ const wordleSolver = async (value, value2, value3, greenWithIndex) => {
|
|
59
64
|
wordleSolverData.innerHTML = ''
|
60
65
|
wordleSolvererrorMsg.classList.add('alert-danger')
|
61
66
|
wordleSolvererrorMsg.innerHTML = 'Sorry!! No words found'
|
67
|
+
wordleWordCount.style.display = 'none'
|
68
|
+
// console.log(wordleWordCount)
|
62
69
|
} else {
|
70
|
+
wordleWordCount.style.display = 'block'
|
71
|
+
wordleSolverData.innerHTML = ''
|
63
72
|
wordleSolvererrorMsg.classList.remove('alert-danger')
|
64
73
|
wordleSolvererrorMsg.innerHTML = ''
|
65
|
-
wordleSolverData.innerHTML = ''
|
66
74
|
newWordsLength = ''
|
67
75
|
newWordsLength += data.length
|
68
76
|
result = data.map((item) => {
|
@@ -77,7 +85,7 @@ const wordleSolver = async (value, value2, value3, greenWithIndex) => {
|
|
77
85
|
sum += ScrabbleLetterScore[item[i]] || 0 // for unknown characters
|
78
86
|
}
|
79
87
|
return `
|
80
|
-
<a class="anchor__style" title="Lookup
|
88
|
+
<a class="anchor__style" title="Lookup ${item} in Dictionary" target="_blank" href="/word-meaning?search=${item.toLowerCase()}">
|
81
89
|
<li>
|
82
90
|
${item.toLowerCase()}
|
83
91
|
<span class="points" value="${sum}" style="position:relative; top:4px; font-size:12px"> ${sum}</span>
|
@@ -90,7 +98,7 @@ const wordleSolver = async (value, value2, value3, greenWithIndex) => {
|
|
90
98
|
wordleSolverData.innerHTML += `
|
91
99
|
<div class="allfiveletterswords wordlistContainer">
|
92
100
|
<div class="wordListHeading">
|
93
|
-
<h3 class="lead">
|
101
|
+
<h3 class="lead">Solve wordle with these words</h3>
|
94
102
|
</div>
|
95
103
|
<div class="wordList">
|
96
104
|
<ul class="ul list-unstyled">
|
@@ -101,11 +109,13 @@ const wordleSolver = async (value, value2, value3, greenWithIndex) => {
|
|
101
109
|
`
|
102
110
|
}
|
103
111
|
}
|
112
|
+
|
104
113
|
if (newWordsLength === 0) {
|
114
|
+
console.log(true)
|
105
115
|
wordleSolvererrorMsg.classList.add('alert-danger')
|
106
116
|
wordleSolvererrorMsg.innerHTML = 'Sorry!! No words found'
|
107
117
|
} else {
|
108
|
-
wordleWordCount.innerHTML = `<strong>${newWordsLength}
|
118
|
+
wordleWordCount.innerHTML = `<strong>Found <span style="color:#6aaa64">${newWordsLength}</span> matching words for wordle</strong>`
|
109
119
|
}
|
110
120
|
} catch (error) {
|
111
121
|
console.log(error)
|
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: 0.7.
|
4
|
+
version: 0.7.4
|
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-01-
|
11
|
+
date: 2022-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -72,7 +72,6 @@ files:
|
|
72
72
|
- _data/content/en/python.json
|
73
73
|
- _data/content/en/react.json
|
74
74
|
- _data/footer/en/data.json
|
75
|
-
- _data/footer/hi/data.json
|
76
75
|
- _data/footer/networksites.json
|
77
76
|
- _data/header/en/data.json
|
78
77
|
- _data/theme/colors.json
|
data/_data/footer/hi/data.json
DELETED
@@ -1,69 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"logo":"https://sta1.pdfdoctor.com/1/2962/logo.png.png",
|
3
|
-
"heading":"We make PDF easy.",
|
4
|
-
"company":[
|
5
|
-
{
|
6
|
-
"name":"About",
|
7
|
-
"url":"/about"
|
8
|
-
|
9
|
-
},
|
10
|
-
{
|
11
|
-
"name":"Help",
|
12
|
-
"url":"/help"
|
13
|
-
|
14
|
-
},
|
15
|
-
{
|
16
|
-
"name":"Blog",
|
17
|
-
"url":"/blog"
|
18
|
-
|
19
|
-
}
|
20
|
-
],
|
21
|
-
"product":[
|
22
|
-
{
|
23
|
-
"name":"Pricing",
|
24
|
-
"url":"/pricing"
|
25
|
-
|
26
|
-
},
|
27
|
-
{
|
28
|
-
"name":"Team",
|
29
|
-
"url":"/team"
|
30
|
-
},
|
31
|
-
{
|
32
|
-
"name":"Developers",
|
33
|
-
"url":"/developers"
|
34
|
-
|
35
|
-
}
|
36
|
-
],
|
37
|
-
"social":[
|
38
|
-
{
|
39
|
-
"logo":"/assets/facebook.svg",
|
40
|
-
"url": "/",
|
41
|
-
"title":"abc"
|
42
|
-
|
43
|
-
},
|
44
|
-
{
|
45
|
-
"logo":"/assets/youtube.svg",
|
46
|
-
"url": "/",
|
47
|
-
"title":"abc"
|
48
|
-
},
|
49
|
-
{
|
50
|
-
"logo":"/assets/instagram.svg",
|
51
|
-
"url": "/",
|
52
|
-
"title":"abc"
|
53
|
-
|
54
|
-
},
|
55
|
-
{
|
56
|
-
"logo":"/assets/linkdin.svg",
|
57
|
-
"url": "/",
|
58
|
-
"title":"abc"
|
59
|
-
|
60
|
-
},
|
61
|
-
{
|
62
|
-
"logo":"/assets/twitter.svg",
|
63
|
-
"url": "/",
|
64
|
-
"title":"abc"
|
65
|
-
|
66
|
-
}
|
67
|
-
],
|
68
|
-
"messege": "© 2021 pdf AG — Made with love for the people of the internet."
|
69
|
-
}
|