word-games-theme 1.0.5 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/authors/authors.html +48 -22
- data/_layouts/default.html +1 -1
- data/_layouts/page2.html +2 -2
- data/assets/css/home.css +5 -4
- data/assets/images/krutika.jpeg +0 -0
- data/assets/images/siddhika.jpeg +0 -0
- data/assets/images/sona.jpeg +0 -0
- data/assets/js/X-letter.js +21 -4
- data/assets/js/wordScrabble.js +10 -6
- data/assets/js/words-starting-with.js +15 -0
- data/assets/js/xyz.js +1 -2
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 53499f3e9def218a757cf03340035c4737d3417efe0f66c119691b4e08d49317
|
4
|
+
data.tar.gz: 6980f30a3e60d54fbe1eca9d0246bdf8dae7e51df08e69c72e1626e50321dbb0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31b1f8dbc498634f5a4b30373445af0703ce8bf333625b092a3457234df12ce6f4916ccfa9c3cc3aba2fc3d02117895156358c83327985da0efdaefd5762390c
|
7
|
+
data.tar.gz: 92d3c5266bfff4f577a57248393f6fcbc8734e9bbf1862b4962045092e83002748ebbe53fc8edcf637d204ccc37ec8ed1bd00f1e5026afd61d991653a5b921ed
|
@@ -1,27 +1,53 @@
|
|
1
|
-
{% assign ankita = "Ankita&&/assets/images/Ankita.webp&&Ankita has majored in Applied Communication studies, with over 4
|
2
|
-
|
3
|
-
|
1
|
+
{% assign ankita = "Ankita&&/assets/images/Ankita.webp&&Ankita has majored in Applied Communication studies, with over 4
|
2
|
+
years of experience content writing. She is an expert at word games and freqently shares her thoughts on word games, and
|
3
|
+
many other topics.&&https://twitter.com/roy93anki" | split: '&&' %}
|
4
|
+
{% assign keshav = "Keshav Agarwal&&/assets/images/keshav.webp&&Keshav Agarwal is an aspiring Android developer with
|
5
|
+
keen interest in computers, technology and development. He also has a knack of writing and loves to share his knowledge
|
6
|
+
with the help of his posts.&&https://mobile.twitter.com/KeshavA76099697" | split: '&&' %}
|
7
|
+
{% assign anushka = "Anushka Guha&&/assets/images/Anushka.webp&&Anushka is an aspiring Instrumentation engineer who
|
8
|
+
thrives on good music, books and travelling. She has been creating content on all of this and often shares her thoughts
|
9
|
+
on the technicalities behind various file formats and their processing.
|
4
10
|
&&https://twitter.com/its_anushka_" | split: '&&' %}
|
5
|
-
{% assign paavan = "Thandra Paavan Kumar&&/assets/images/paavan.webp&&Paavan Kumar is an enthusiastic nanotech engineer
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
{% assign
|
11
|
+
{% assign paavan = "Thandra Paavan Kumar&&/assets/images/paavan.webp&&Paavan Kumar is an enthusiastic nanotech engineer
|
12
|
+
who has a keen intererst in micro and nano science with a good sense of content creation on diverse topics and often
|
13
|
+
shares his thoughts and helps those he can. He have a knack of writing essays,stories and
|
14
|
+
poems.&&https://twitter.com/PaavanThandra" | split: '&&' %}
|
15
|
+
{% assign thandra = "Thandra Paavan Kumar&&/assets/images/paavan.webp&&Paavan Kumar is an enthusiastic nanotech engineer
|
16
|
+
who has a keen intererst in micro and nano science with a good sense of content creation on diverse topics and often
|
17
|
+
shares his thoughts and helps those he can. He have a knack of writing essays,stories and
|
18
|
+
poems.&&https://twitter.com/PaavanThandra" | split: '&&' %}
|
19
|
+
{% assign arjyahi = "Arjyahi Bhattacharya&&/assets/images/Arjyahi.webp&&Arjyahi is an aspiring Civil engineer who loves
|
20
|
+
photography, music, books and philosophy. She also loves nature and animals. She enjoys reading and sharing information
|
21
|
+
on various topics involving her knacks.&&https://twitter.com/arjyahi" | split: '&&' %}
|
22
|
+
{% assign nikita = "Nikita Gupta&&/assets/images/Nikita.webp&&Nikita is an aspiring MBA graduate, who loves creating
|
23
|
+
content. She loves reading and watching anime. She is into other languages and currently learning Spanish, French and
|
24
|
+
Japanese. Her favourite timepass is solving sudokus. &&N/A" | split: '&&' %}
|
25
|
+
{% assign alka = "Alka Bisht&&/assets/images/Alka.webp&&Alka Bisht is an experienced content writer with a penchnat for
|
26
|
+
writing compellinmg content within technical and non- technical areas. As a content writer her goals include providing
|
27
|
+
the best content throughout her writing journey.&&N/A" | split: '&&' %}
|
28
|
+
{% assign siddhika = "Siddhika Prajapati&&/assets/images/siddhika.jpeg&&Siddhika Prajapati is an English Honors graduate
|
29
|
+
and postgraduate in journalism. A freelance writer and a nutritionist, she is a fashion, fitness, art, tech, culture and
|
30
|
+
travel writer, who loves to explore and experiment through words with an add-on of personal touch. Her enthusiasm for
|
31
|
+
fashion, lifestyle, tech and fitness is what prompts her to write regularly.&&N/A" | split: '&&' %}
|
32
|
+
{% assign krutika = "Krutika&&/assets/images/krutika.jpeg&&I am from an IT background along with being a techno geek, a
|
33
|
+
writer is hidden in me. You can found me with my laptop either coding or writing journals.&&N/A" | split: '&&' %}
|
34
|
+
{% assign shubhangi = "Shubhangi Singh&&/assets/images/sona.jpeg&&I am pursuing a degree in computer science and love
|
35
|
+
reading. I am also a BTS Army and enjoy anime and K-dramas. My favourite pastime is reading on Wattpad.&&N/A" | split:
|
36
|
+
'&&' %}
|
10
37
|
{%- assign postAuthor = post.author | split: " " -%}
|
11
38
|
{%- assign author = postAuthor.first | downcase -%}
|
12
39
|
{%- assign collection = [author] -%}
|
13
40
|
{%- for item in collection -%}
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
{%- endfor -%}
|
27
|
-
|
41
|
+
{%- if forloop.index==1 -%}
|
42
|
+
{%- assign authorName = item -%}
|
43
|
+
{%- endif -%}
|
44
|
+
{%- if forloop.index==2 -%}
|
45
|
+
{%- assign image = item -%}
|
46
|
+
{%- endif -%}
|
47
|
+
{%- if forloop.index==3 -%}
|
48
|
+
{%- assign bio = item -%}
|
49
|
+
{%- endif -%}
|
50
|
+
{%- if forloop.index==4 -%}
|
51
|
+
{%- assign twitter = item -%}
|
52
|
+
{%- endif -%}
|
53
|
+
{%- endfor -%}
|
data/_layouts/default.html
CHANGED
@@ -87,7 +87,7 @@
|
|
87
87
|
e.target.value = e.target.value.replace(/[^a-zA-Z? ]/g, "")
|
88
88
|
let rangeOfBlankTile = '{{ page.blanktilerange }}'
|
89
89
|
if (rangeOfBlankTile === "") {
|
90
|
-
rangeOfBlankTile =
|
90
|
+
rangeOfBlankTile = 3
|
91
91
|
}
|
92
92
|
e.target.value = e.target.value.replace(/ /g, '?')
|
93
93
|
let data = []
|
data/_layouts/page2.html
CHANGED
@@ -52,8 +52,8 @@
|
|
52
52
|
{%- include footer/index.html -%}
|
53
53
|
|
54
54
|
{%- include script.html -%}
|
55
|
-
<script src="/assets/js/X-letter.js" data-url="{{site.url}}" data-
|
56
|
-
data-ablank="{{page.ablank}}"></script>
|
55
|
+
<script src="/assets/js/X-letter.js" data-url="{{site.url}}" data-range="{{page.blanktilerange}}"
|
56
|
+
data-letter="{{page.letter}}" data-ablank="{{page.ablank}}"></script>
|
57
57
|
</body>
|
58
58
|
|
59
59
|
</html>
|
data/assets/css/home.css
CHANGED
@@ -313,7 +313,8 @@ input:-webkit-autofill:active {
|
|
313
313
|
|
314
314
|
@media (max-width: 500px) {
|
315
315
|
#select_dropDown{
|
316
|
-
top:
|
316
|
+
top: 150px !important;
|
317
|
+
right: -15px !important
|
317
318
|
}
|
318
319
|
|
319
320
|
}
|
@@ -361,9 +362,9 @@ input:-webkit-autofill:active {
|
|
361
362
|
#select_dropDown {
|
362
363
|
display: none;
|
363
364
|
background: white;
|
364
|
-
position:
|
365
|
-
top:
|
366
|
-
right:
|
365
|
+
position: absolute;
|
366
|
+
top: 149px;
|
367
|
+
right: 0px;
|
367
368
|
border-radius: 0;
|
368
369
|
padding: 7.5px;
|
369
370
|
z-index: 9999999999;
|
Binary file
|
Binary file
|
Binary file
|
data/assets/js/X-letter.js
CHANGED
@@ -33,8 +33,9 @@ txtBox.value = serachValue
|
|
33
33
|
|
34
34
|
if (ablank) {
|
35
35
|
if (!serachValue.includes("?")) {
|
36
|
-
if (serachValue.length
|
36
|
+
if (serachValue.length <= letterLen) {
|
37
37
|
serachValue = serachValue + '?'
|
38
|
+
txtBox.value = serachValue
|
38
39
|
}
|
39
40
|
}
|
40
41
|
}
|
@@ -58,17 +59,33 @@ txtBox.addEventListener('input', (e) => {
|
|
58
59
|
let rangeOfBlankTile = script.dataset.range
|
59
60
|
e.target.value = e.target.value.replace(/[^a-zA-Z? ]/g, '')
|
60
61
|
if (rangeOfBlankTile === '') {
|
61
|
-
rangeOfBlankTile =
|
62
|
+
rangeOfBlankTile = 3
|
62
63
|
}
|
63
64
|
e.target.value = e.target.value.replace(/ /g, '?')
|
64
65
|
let data = []
|
65
66
|
data = e.target.value.split('').filter((i) => i === '?')
|
67
|
+
// console.log(data)
|
66
68
|
if (data.length > rangeOfBlankTile) {
|
67
69
|
e.target.value = e.target.value.replace(/\?$/, '')
|
68
70
|
}
|
69
71
|
})
|
70
72
|
|
71
73
|
var theSelect = document.getElementById('select_dropDown')
|
74
|
+
|
75
|
+
const sortup = document.querySelector(".sortup-icon")
|
76
|
+
let bool = false
|
77
|
+
sortup.addEventListener("click", () => {
|
78
|
+
if (bool) {
|
79
|
+
theSelect.size = 0
|
80
|
+
bool = false
|
81
|
+
theSelect.style.display = "none"
|
82
|
+
}
|
83
|
+
else {
|
84
|
+
bool = true
|
85
|
+
theSelect.size = 3
|
86
|
+
theSelect.style.display = "block"
|
87
|
+
}
|
88
|
+
})
|
72
89
|
document.querySelector('.select_dropDown2').value = dictonary
|
73
90
|
const getDiff = (text1, text2) => {
|
74
91
|
var diffRange = []
|
@@ -154,7 +171,7 @@ function x_with_letters(data) {
|
|
154
171
|
filterData.map((item) => {
|
155
172
|
let check = false
|
156
173
|
for (let e = 0; e < exculdeValue.length; e++) {
|
157
|
-
const element = exculdeValue[e]
|
174
|
+
const element = exculdeValue[e].toLowerCase()
|
158
175
|
if (item.includes(element)) {
|
159
176
|
check = true
|
160
177
|
break
|
@@ -176,7 +193,7 @@ function x_with_letters(data) {
|
|
176
193
|
filterData.map((item) => {
|
177
194
|
let check = false
|
178
195
|
for (let e = 0; e < includeValue.length; e++) {
|
179
|
-
const element = includeValue[e]
|
196
|
+
const element = includeValue[e].toLowerCase()
|
180
197
|
if (!item.includes(element)) {
|
181
198
|
check = true
|
182
199
|
break
|
data/assets/js/wordScrabble.js
CHANGED
@@ -192,7 +192,7 @@ function getWords(data) {
|
|
192
192
|
newdata.map((item) => {
|
193
193
|
let check = false
|
194
194
|
for (let e = 0; e < exculdeValue.length; e++) {
|
195
|
-
const element = exculdeValue[e]
|
195
|
+
const element = exculdeValue[e].toLowerCase()
|
196
196
|
if (item.includes(element)) {
|
197
197
|
check = true
|
198
198
|
break
|
@@ -213,7 +213,7 @@ function getWords(data) {
|
|
213
213
|
newdata.map((item) => {
|
214
214
|
let check = false
|
215
215
|
for (let e = 0; e < includeValue.length; e++) {
|
216
|
-
const element = includeValue[e]
|
216
|
+
const element = includeValue[e].toLowerCase()
|
217
217
|
if (!item.includes(element)) {
|
218
218
|
check = true
|
219
219
|
break
|
@@ -245,6 +245,8 @@ function getWords(data) {
|
|
245
245
|
var text2 = item
|
246
246
|
var text3 = item
|
247
247
|
let chars = text1.split('')
|
248
|
+
|
249
|
+
|
248
250
|
let indexs = []
|
249
251
|
chars.map((i) => {
|
250
252
|
let findIndexes = findIndex(text3, i)
|
@@ -252,12 +254,14 @@ function getWords(data) {
|
|
252
254
|
text3 = text3.split('')
|
253
255
|
text3[findIndexes] = '$'
|
254
256
|
text3 = text3.join('')
|
257
|
+
|
255
258
|
indexs = [...indexs, ...findIndexes]
|
256
259
|
}
|
257
260
|
})
|
258
261
|
let itemHtml = ''
|
259
262
|
text2.split('').map((itemValue, index) => {
|
260
263
|
let check = indexs.find((i) => i === index)
|
264
|
+
|
261
265
|
if (check !== undefined) {
|
262
266
|
itemHtml += `${itemValue}`
|
263
267
|
} else {
|
@@ -664,7 +668,7 @@ window.onscroll = function () {
|
|
664
668
|
document.querySelector('.active-tab').classList.remove('active-tab')
|
665
669
|
var active_now = document.querySelector('#Tab_' + i.split('_')[1])
|
666
670
|
active_now.classList.add('active-tab')
|
667
|
-
|
671
|
+
active_now.scrollIntoView({ block: 'nearest' })
|
668
672
|
}
|
669
673
|
}
|
670
674
|
}
|
@@ -682,6 +686,7 @@ function Filtering(id) {
|
|
682
686
|
let activeLetter = event.target
|
683
687
|
activeLetter.classList.add('active-tab')
|
684
688
|
|
689
|
+
|
685
690
|
var section = document.querySelectorAll('.wordlistContainer')
|
686
691
|
var sort_val = document.querySelector('.sort-select').value
|
687
692
|
Array.prototype.forEach.call(section, function (e) {
|
@@ -713,7 +718,6 @@ window.addEventListener('scroll', function () {
|
|
713
718
|
})
|
714
719
|
function scroll_visible() {
|
715
720
|
let tab_container = document.querySelector('#tab-container')
|
716
|
-
|
717
721
|
if (tab_container) {
|
718
722
|
if (tab_container.clientWidth === tab_container.scrollWidth) {
|
719
723
|
prev.style.display = 'none'
|
@@ -739,8 +743,8 @@ function findIndex(str, char) {
|
|
739
743
|
|
740
744
|
while (newStr && newStr.indexOf(char) > -1) {
|
741
745
|
indexes.push(newStr.indexOf(char) + strLength - newStr.length)
|
742
|
-
newStr = newStr.substring(newStr.indexOf(char) +
|
743
|
-
newStr = newStr.substring(newStr.indexOf(char) +
|
746
|
+
newStr = newStr.substring(newStr.indexOf(char) + 5)
|
747
|
+
newStr = newStr.substring(newStr.indexOf(char) + 5)
|
744
748
|
}
|
745
749
|
|
746
750
|
return indexes
|
@@ -55,6 +55,21 @@ txtBox.addEventListener('input', (e) => {
|
|
55
55
|
})
|
56
56
|
|
57
57
|
var theSelect = document.getElementById('select_dropDown')
|
58
|
+
|
59
|
+
const sortup = document.querySelector(".sortup-icon")
|
60
|
+
let bool = false
|
61
|
+
sortup.addEventListener("click", () => {
|
62
|
+
if (bool) {
|
63
|
+
theSelect.size = 0
|
64
|
+
bool = false
|
65
|
+
theSelect.style.display = "none"
|
66
|
+
}
|
67
|
+
else {
|
68
|
+
bool = true
|
69
|
+
theSelect.size = 3
|
70
|
+
theSelect.style.display = "block"
|
71
|
+
}
|
72
|
+
})
|
58
73
|
document.querySelector('.select_dropDown2').value = dictonary
|
59
74
|
// getWords define...
|
60
75
|
const getData = async (serachValue) => {
|
data/assets/js/xyz.js
CHANGED
@@ -11,7 +11,6 @@ tabs[0] ? tabs[0].classList.add('active-tab') : ''
|
|
11
11
|
// handling of filter on scroll
|
12
12
|
window.onscroll = function () {
|
13
13
|
var section = document.querySelectorAll('.allGroupWords')
|
14
|
-
console.log(section)
|
15
14
|
let new_sections = {}
|
16
15
|
Array.prototype.forEach.call(section, function (e) {
|
17
16
|
if (document.body.clientWidth > 991) {
|
@@ -32,7 +31,7 @@ window.onscroll = function () {
|
|
32
31
|
document.querySelector('.active-tab').classList.remove('active-tab')
|
33
32
|
var active_now = document.querySelector('#Tab_' + i.split('_')[1])
|
34
33
|
active_now.classList.add('active-tab')
|
35
|
-
|
34
|
+
active_now.scrollIntoView({ block: 'nearest' })
|
36
35
|
}
|
37
36
|
}
|
38
37
|
}
|
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.0.
|
4
|
+
version: 1.0.8
|
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-03-
|
11
|
+
date: 2022-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -204,6 +204,7 @@ files:
|
|
204
204
|
- assets/images/hero-media-illustration-light.svg
|
205
205
|
- assets/images/instagram-square.svg
|
206
206
|
- assets/images/keshav.webp
|
207
|
+
- assets/images/krutika.jpeg
|
207
208
|
- assets/images/left_obj_01 (1).svg
|
208
209
|
- assets/images/left_obj_01.png
|
209
210
|
- assets/images/left_obj_01.svg
|
@@ -223,6 +224,8 @@ files:
|
|
223
224
|
- assets/images/right_obj_01.png
|
224
225
|
- assets/images/search.svg
|
225
226
|
- assets/images/search.webp
|
227
|
+
- assets/images/siddhika.jpeg
|
228
|
+
- assets/images/sona.jpeg
|
226
229
|
- assets/images/star.png
|
227
230
|
- assets/images/star.svg
|
228
231
|
- assets/images/test.png
|