word-games-theme 2.1.6 → 2.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/_data/blog/share.yml +1 -1
  3. data/_data/footer/en/data.json +20 -18
  4. data/_data/header/en/data.json +1 -0
  5. data/_data/rating/rating.json +47 -0
  6. data/_data/wordgames/en/root.json +5 -2
  7. data/_includes/script.html +0 -2
  8. data/_includes/wordgames/advanced-filter/advanced-filter.html +56 -0
  9. data/_includes/wordgames/authorpagehead/authorpagehead.html +40 -0
  10. data/_includes/wordgames/faqs/faqs.html +44 -0
  11. data/_includes/wordgames/featurehighlights/featurehighlights.html +76 -0
  12. data/_includes/wordgames/footer/footer.html +277 -0
  13. data/_includes/wordgames/head/bloghead.html +78 -0
  14. data/_includes/wordgames/head/head.html +148 -0
  15. data/_includes/wordgames/header/blog-header.html +51 -0
  16. data/_includes/wordgames/header/header.html +51 -0
  17. data/_includes/wordgames/headings/headings.html +14 -0
  18. data/_includes/wordgames/howto/howto.html +73 -0
  19. data/_includes/wordgames/infographics/infographics.html +131 -0
  20. data/_includes/wordgames/paginations/blog-pagination.html +44 -0
  21. data/_includes/wordgames/paginations/post-pagination.html +24 -0
  22. data/_includes/wordgames/rating/rating.html +124 -0
  23. data/_includes/wordgames/rating/structureddata.html +53 -0
  24. data/_includes/wordgames/recent-posts/recent-posts.html +104 -0
  25. data/_includes/wordgames/related-posts/related-posts.html +203 -0
  26. data/_includes/wordgames/result-page/result-page.html +95 -0
  27. data/_includes/wordgames/scripts/scripts.html +66 -0
  28. data/_includes/wordgames/search-box/search-box.html +49 -0
  29. data/_includes/wordgames/seo/seo.html +58 -0
  30. data/_includes/wordgames/words-data/words-data.html +58 -0
  31. data/_includes/wordgames/words-point-table/words-point-table.html +106 -0
  32. data/_layouts/wordgames-about.html +194 -0
  33. data/_layouts/wordgames-author.html +408 -0
  34. data/_layouts/wordgames-authors.html +138 -0
  35. data/_layouts/wordgames-autogencontent.html +0 -0
  36. data/_layouts/wordgames-blog.html +94 -0
  37. data/_layouts/wordgames-disclaimer.html +148 -0
  38. data/_layouts/wordgames-home.html +78 -0
  39. data/_layouts/wordgames-post.html +215 -0
  40. data/_layouts/wordgames-privacy-policy.html +640 -0
  41. data/_layouts/wordgames-result.html +38 -0
  42. data/_layouts/wordgames-terms-and-conditions.html +569 -0
  43. data/_layouts/wordgames-tools.html +0 -0
  44. data/_layouts/wordgames-word-meaning.html +180 -0
  45. data/_layouts/wordgames-xyz.html +0 -0
  46. data/_layouts/wordgames.categories.html +0 -0
  47. data/assets/css/wordgames-blog.css +431 -0
  48. data/assets/css/wordgames-home.css +948 -0
  49. data/assets/css/wordgames-result.css +498 -0
  50. data/assets/css/wordgames-theme.css +227 -0
  51. data/assets/css/wordgames-variables.css +20 -0
  52. data/assets/images/background.svg +80 -0
  53. data/assets/images/close-btn.svg +16 -0
  54. data/assets/images/facebook-icon.svg +9 -0
  55. data/assets/images/facebook.svg +10 -1
  56. data/assets/images/how-to.svg +1 -0
  57. data/assets/images/idea.svg +113 -0
  58. data/assets/images/instagram.svg +1 -1
  59. data/assets/images/logo wordswithletter final black.svg +95 -0
  60. data/assets/images/logo.svg +106 -0
  61. data/assets/images/minus-btn.svg +14 -0
  62. data/assets/images/plus btn.svg +16 -0
  63. data/assets/images/questionmark.svg +17 -0
  64. data/assets/images/search.svg +16 -1
  65. data/assets/images/twitter.svg +1 -1
  66. data/assets/images/wordfinder-favicon.svg +69 -0
  67. data/assets/images/wordfinder-pink.svg +82 -0
  68. data/assets/images/wordfinder-result-logo.svg +105 -0
  69. data/assets/images/words with letters logo white text.svg +95 -0
  70. data/assets/js/X-letter-test.js +2 -2
  71. data/assets/js/default.js +2 -2
  72. data/assets/js/repeat-letters.js +2 -2
  73. data/assets/js/scrabble-words.js +885 -0
  74. data/assets/js/theme.js +2 -1
  75. data/assets/js/wordScrabble-test.js +2 -2
  76. data/assets/js/wordgames-home.js +82 -0
  77. data/assets/js/wordgames-result.js +885 -0
  78. data/assets/js/wordgames-xletter.js +740 -0
  79. metadata +65 -2
data/assets/js/theme.js CHANGED
@@ -60,4 +60,5 @@ navbarToggler.addEventListener('click', () => {
60
60
  navBar.style.display = "block"
61
61
  }
62
62
  })
63
- }
63
+
64
+ }
@@ -85,8 +85,8 @@ function mobileScrollTop(x) {
85
85
  }
86
86
  }
87
87
  var x = window.matchMedia("(max-width: 768px)");
88
- mobileScrollTop(x);
89
- x.addListener(mobileScrollTop);
88
+ // mobileScrollTop(x);
89
+ // x.addListener(mobileScrollTop);
90
90
 
91
91
  let rangeOfBlankTile = script.dataset.range;
92
92
  let quesMark = "?";
@@ -0,0 +1,82 @@
1
+ let letterCloseButton = document.querySelector('.letter-close-button')
2
+ let txtBox = document.querySelector('.txtBox')
3
+ let focusBorder = document.querySelector('.focus-border')
4
+ txtBox.focus()
5
+
6
+ function myFunction(x) {
7
+ if (x.matches) {
8
+ txtBox.addEventListener("click", () => {
9
+ document.documentElement.scrollTop = 200
10
+ setTimeout(() => {
11
+ document.documentElement.scrollTop = 200
12
+ }, 150);
13
+ })
14
+ } else {
15
+ console.log("false");
16
+ }
17
+ }
18
+ var x = window.matchMedia("(max-width: 768px)")
19
+ // myFunction(x)
20
+ // x.addListener(myFunction)
21
+
22
+ txtBox.addEventListener('input', (e) => {
23
+ if (e.target.value === "") {
24
+ letterCloseButton.style.display = "none"
25
+ }
26
+ else {
27
+ letterCloseButton.style.display = "block"
28
+ }
29
+ focusBorder.classList.remove("focus-border")
30
+
31
+ e.target.value = e.target.value.replace(/[^a-zA-Z? ]/g, "")
32
+ let rangeOfBlankTile = 3
33
+ if (rangeOfBlankTile === "") {
34
+ rangeOfBlankTile = 3
35
+ }
36
+ e.target.value = e.target.value.replace(/ /g, '?')
37
+ let data = []
38
+ data = e.target.value.split('').filter((i) => i === '?')
39
+ if (data.length > rangeOfBlankTile) {
40
+ e.target.value = e.target.value.replace(/\?$/, '')
41
+ }
42
+ })
43
+ letterCloseButton.addEventListener("click", () => {
44
+ txtBox.value = ""
45
+ letterCloseButton.style.display = "none"
46
+ })
47
+
48
+ const filterInputs = document.querySelectorAll('.filter_val');
49
+ Array.from(filterInputs).forEach((item) => {
50
+ item.addEventListener("input", (e) => {
51
+ const inputValue = e.target.value;
52
+ const parentElement = e.target.parentElement;
53
+ const imgElement = parentElement.querySelector('img');
54
+ const tooltipElement = parentElement.querySelector('.filter-tooltip');
55
+
56
+ if (inputValue == "") {
57
+ imgElement.src = "/assets/images/questionmark.svg"
58
+ setTimeout(() => {
59
+ item.nextElementSibling.setAttribute("data-tip", item.nextElementSibling.id)
60
+ }, 100);
61
+ tooltipElement.style.setProperty('--tooltip-padding', '0.5rem');
62
+ tooltipElement.style.setProperty('--tooltip-border-style', 'soild');
63
+
64
+ } else {
65
+ item.nextElementSibling.removeAttribute("data-tip")
66
+ imgElement.src = "/assets/images/close-btn.svg"
67
+ tooltipElement.style.setProperty('--tooltip-padding', '0');
68
+ tooltipElement.style.setProperty('--tooltip-border-style', 'none');
69
+ }
70
+ item.nextElementSibling.addEventListener("click", () => {
71
+ e.target.value = ""
72
+ imgElement.src = "/assets/images/questionmark.svg"
73
+ setTimeout(() => {
74
+ item.nextElementSibling.setAttribute("data-tip", item.nextElementSibling.id)
75
+ }, 100);
76
+ tooltipElement.style.setProperty('--tooltip-padding', '0.5rem');
77
+ tooltipElement.style.setProperty('--tooltip-border-style', 'soild');
78
+ })
79
+ })
80
+ })
81
+
82
+