word-games-theme 1.0.6 → 1.0.9

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: 9b81f3cc5c2aca6169c50e25d0124764a71d80417ab6be82d85ece6686269014
4
- data.tar.gz: 1e6c4046c5f81f223c87fef765ca3d0267b7ed271be8fcc0469e757ecb652f8a
3
+ metadata.gz: 73ca57d9ff18e9f7862909c8dd4c19ea33fca2a9ec5a10677b7a7627fe169e55
4
+ data.tar.gz: 3b19c20a5fe875748cb647b386c1f17b26179a63a4837738d4a6edf6fdbdaf19
5
5
  SHA512:
6
- metadata.gz: 0aaccc6318fd2bf77a076620fbc879ba43f5c730767c0dbd97fd0815d4d8e1f8b2091b95211af0105d1dddc79e022ecaa007ba68fa6688e70bb9fee483fb30ab
7
- data.tar.gz: 837897950e5e40f89699f310d5cd3e3f9782b66886030ad3950e637511d01938e5348e92aaeda84273e9d601dde1e76a64840e48e608c09e367775991ef6abf0
6
+ metadata.gz: 5632642fb4d4bdc4b1307923cb9fbdd0cd2cb0051e550dd84b1beebba204a1bd1bc1e33d2dae270b9ba800a4feb391328ed2dde758677e696a7d3785a99f4492
7
+ data.tar.gz: 17f059bc3e17c66549101ddcb0c8a9075965e4a676c45c5c6ff6e95d45d2b151bfb16404a42fec683c200597089fd92bcc5bcba06601acbc0ae7bc5f6f28d022
@@ -1,27 +1,53 @@
1
- {% assign ankita = "Ankita&&/assets/images/Ankita.webp&&Ankita has majored in Applied Communication studies, with over 4 years of experience content writing. She is an expert at word games and freqently shares her thoughts on word games, and many other topics.&&https://twitter.com/roy93anki" | split: '&&' %}
2
- {% assign keshav = "Keshav Agarwal&&/assets/images/keshav.webp&&Keshav Agarwal is an aspiring Android developer with keen interest in computers, technology and development. He also has a knack of writing and loves to share his knowledge with the help of his posts.&&https://mobile.twitter.com/KeshavA76099697" | split: '&&' %}
3
- {% assign anushka = "Anushka Guha&&/assets/images/Anushka.webp&&Anushka is an aspiring Instrumentation engineer who thrives on good music, books and travelling. She has been creating content on all of this and often shares her thoughts on the technicalities behind various file formats and their processing.
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 who has a keen intererst in micro and nano science with a good sense of content creation on diverse topics and often shares his thoughts and helps those he can. He have a knack of writing essays,stories and poems.&&https://twitter.com/PaavanThandra" | split: '&&' %}
6
- {% assign thandra = "Thandra Paavan Kumar&&/assets/images/paavan.webp&&Paavan Kumar is an enthusiastic nanotech engineer who has a keen intererst in micro and nano science with a good sense of content creation on diverse topics and often shares his thoughts and helps those he can. He have a knack of writing essays,stories and poems.&&https://twitter.com/PaavanThandra" | split: '&&' %}
7
- {% assign arjyahi = "Arjyahi Bhattacharya&&/assets/images/Arjyahi.webp&&Arjyahi is an aspiring Civil engineer who loves photography, music, books and philosophy. She also loves nature and animals. She enjoys reading and sharing information on various topics involving her knacks.&&https://twitter.com/arjyahi" | split: '&&' %}
8
- {% assign nikita = "Nikita Gupta&&/assets/images/Nikita.webp&&Nikita is an aspiring MBA graduate, who loves creating content. She loves reading and watching anime. She is into other languages and currently learning Spanish, French and Japanese. Her favourite timepass is solving sudokus. &&N/A" | split: '&&' %}
9
- {% assign alka = "Alka Bisht&&/assets/images/Alka.webp&&Alka Bisht is an experienced content writer with a penchnat for writing compellinmg content within technical and non- technical areas. As a content writer her goals include providing the best content throughout her writing journey.&&N/A" | split: '&&' %}
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
- {%- if forloop.index==1 -%}
15
- {%- assign authorName = item -%}
16
- {%- endif -%}
17
- {%- if forloop.index==2 -%}
18
- {%- assign image = item -%}
19
- {%- endif -%}
20
- {%- if forloop.index==3 -%}
21
- {%- assign bio = item -%}
22
- {%- endif -%}
23
- {%- if forloop.index==4 -%}
24
- {%- assign twitter = item -%}
25
- {%- endif -%}
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 -%}
@@ -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 = 5
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-letter="{{page.letter}}"
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>
Binary file
Binary file
Binary file
@@ -33,8 +33,9 @@ txtBox.value = serachValue
33
33
 
34
34
  if (ablank) {
35
35
  if (!serachValue.includes("?")) {
36
- if (serachValue.length < letterLen) {
36
+ if (serachValue.length <= letterLen || serachValue.length >= letterLen) {
37
37
  serachValue = serachValue + '?'
38
+ txtBox.value = serachValue
38
39
  }
39
40
  }
40
41
  }
@@ -58,11 +59,12 @@ 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 = 5
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
  }
@@ -169,7 +171,7 @@ function x_with_letters(data) {
169
171
  filterData.map((item) => {
170
172
  let check = false
171
173
  for (let e = 0; e < exculdeValue.length; e++) {
172
- const element = exculdeValue[e]
174
+ const element = exculdeValue[e].toLowerCase()
173
175
  if (item.includes(element)) {
174
176
  check = true
175
177
  break
@@ -191,7 +193,7 @@ function x_with_letters(data) {
191
193
  filterData.map((item) => {
192
194
  let check = false
193
195
  for (let e = 0; e < includeValue.length; e++) {
194
- const element = includeValue[e]
196
+ const element = includeValue[e].toLowerCase()
195
197
  if (!item.includes(element)) {
196
198
  check = true
197
199
  break
@@ -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
- // active_now.scrollIntoView()
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) + 1)
743
- newStr = newStr.substring(newStr.indexOf(char) + 1)
746
+ newStr = newStr.substring(newStr.indexOf(char) + 5)
747
+ newStr = newStr.substring(newStr.indexOf(char) + 5)
744
748
  }
745
749
 
746
750
  return indexes
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
- // active_now.scrollIntoView()
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.6
4
+ version: 1.0.9
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-05 00:00:00.000000000 Z
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