word-games-theme 3.2.2 → 3.2.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6b1bb294719ebcca78e2f1c7768889b6ea4dd1e8d155e13695e6e0c0ee6955c8
4
- data.tar.gz: 930a14edb611cde3f8544412b0ad4652c66b8c5f71f2effff4f545e3f89fa279
3
+ metadata.gz: e8cfb6f952d10ff68efe80e54ea434849f1efa5f6439b68dca9e82675b105dcc
4
+ data.tar.gz: cd8bf16b0f1b11bc1fd08f9af8c756512bac83088ef256f4f487791c1b2d9e50
5
5
  SHA512:
6
- metadata.gz: 577706afda122de800e7444e7ba5db4518e4cadbfca19d82d13bd1066064352144135d2d5f06b44dfa513217f9073a76c7de60671f6790818c73d8625011ecd9
7
- data.tar.gz: faed5fd30d75d28693e2fd3b2621c840a9652830609e1147c802e337dde78ee99577aa812bd2f3c0310ef189e351ec370b9cb6ad4b0bebb17a3a43f3d95ff39e
6
+ metadata.gz: 59c275c1f9acd89b3884e0c9597eca911ddb3d9629cd3e6503dc79e7ec7d3c7019c89fddd5648b6e482f277636e4d738caf19cf7b0dbb14dbe438bcc73d20e1e
7
+ data.tar.gz: c9b5c8923b20ad1fe2a56015fa5b0f146ec11bb115af59cad92fe8ca33bbb7272eb74f0529f3830906fa642077c31fdd54679921de86b7526867f3d612abd0fd
@@ -1,3 +1,4 @@
1
+
1
2
  <head>
2
3
  {% assign file = page.fileName %}
3
4
  {% assign lang = page.lang %}
@@ -49,8 +50,12 @@
49
50
  <title>{{ newtitle }}</title>
50
51
 
51
52
  {% include wordgames/seo/seo.html %}
52
-
53
+ {%- if page.customLink -%}
54
+ <link rel="canonical" href="{{site.url | append: page.customLink}}" />
55
+ {%- else -%}
53
56
  <link rel="canonical" href="{{site.url | append: page.url}}" />
57
+ {%- endif -%}
58
+
54
59
 
55
60
  {%- if site.keyboard -%}
56
61
  <meta name="keywords" content="{{site.keyboard}}" />
@@ -174,4 +179,4 @@
174
179
  })
175
180
  }
176
181
  </script>
177
- </head>
182
+ </head>
@@ -29,7 +29,6 @@
29
29
  <div class="row">
30
30
  <div class="col-12 mx-auto">
31
31
  <div class="wordgames-toolbar-list">
32
-
33
32
  {%- for item in dataToShow.megaMenu.dropdown -%}
34
33
  <div class="wordgames-toolbar-list-item">
35
34
  <span class="wordgames-toolbar-list-item-span d-flex justify-content-between">
@@ -116,7 +115,6 @@
116
115
  </div>
117
116
 
118
117
  <div class="searchBar">
119
- <img src="https://tinywow.com/v2/img/search2.svg" alt="Search">
120
118
  <input type="text" class="form-control" placeholder="Search">
121
119
  <div id="results" class="searchbarResults"></div>
122
120
  </div>
@@ -2,17 +2,13 @@
2
2
  {% assign lang = page.lang %}
3
3
  {% assign dataToShow = site.data.[page.folderName][lang][file] %}
4
4
  {%- assign CustomColor = site.data.theme.colors -%}
5
- <div class="mt-4 top-banner-ad"></div>
6
- <div class="mt-4 bottom-banner-ad"></div>
7
5
  <div class="container">
8
-
9
-
10
- <div class="pageHeading text-center my-4">
6
+ <div class="pageHeading text-center py-4">
11
7
  <h1 class="heading pb-0 mb-3">
12
8
  {{dataToShow.h1}}</h1>
13
9
  {%- if dataToShow.h2 != "" -%}
14
- <h2 class="heading-h2">
10
+ <!-- <h2 class="heading-h2">
15
11
  {{dataToShow.h2}}</h2>
16
- {%- endif -%}
12
+ {%- endif -%} -->
17
13
  </div>
18
14
  </div>
@@ -1,6 +1,7 @@
1
+
1
2
  {%- if site.noResultPage or page.noResultPage -%}
2
3
 
3
- <div class="serachSection" data-url="{{site.url}}" data-range="{{page.blanktilerange}}" data-letter="{{page.letter}}"
4
+ <div class="serachSection py-3" data-url="{{site.url}}" data-range="{{page.blanktilerange}}" data-letter="{{page.letter}}"
4
5
  data-ablank="{{page.ablank}}">
5
6
  <div class="position-relative serachBox">
6
7
  <form id='form' method="GET">
@@ -16,7 +17,9 @@
16
17
  </div>
17
18
  </div>
18
19
  <div class="search-btn-container">
19
- <button value="Search" type="submit" class="btn serachBtn" id="serach"></button>
20
+ <button aria-label="serachBtn" value="Search" type="submit" class="btn serachBtn" id="serach">
21
+ Search
22
+ </button>
20
23
  </div>
21
24
  <div class="dictonaryDropdown">
22
25
  <select class="form-select select_dropDown2" name="dictionary" aria-label="Default select example">
@@ -27,10 +30,10 @@
27
30
  </select>
28
31
  </div>
29
32
 
33
+
30
34
  </div>
31
35
  <div class="container" id="result-page-data">
32
36
  {%- include wordgames/advanced-filter/advanced-filter.html -%}
33
-
34
37
  </div>
35
38
 
36
39
  {%- if page.wordle == 'solver' -%}
@@ -39,7 +42,11 @@
39
42
  class="trywordle" href="/wordle-solver">Try Wordle Solver</a>
40
43
  </div>
41
44
  {%- endif -%}
45
+
46
+
47
+
42
48
  </form>
49
+
43
50
  </div>
44
51
  </div>
45
52
 
@@ -95,8 +102,9 @@
95
102
  {%- endif -%}
96
103
 
97
104
 
105
+
98
106
  {%- if site.noResultPage or page.noResultPage -%}
99
107
  <div class="container" id="containerWd">
100
108
  {% include wordgames/words-data/words-data.html %}
101
109
  </div>
102
- {%- endif -%}
110
+ {%- endif -%}
@@ -1,5 +1,5 @@
1
1
  ---
2
- layout: blog
2
+ layout: wordgames-blog
3
3
  ---
4
4
  <div class="container">
5
5
  <div class="row listrecent">
@@ -68,12 +68,18 @@ input[type="number"] {
68
68
  }
69
69
 
70
70
  .pageHeading h1 {
71
- font-size: 43px;
72
- font-weight: 600;
73
- color: #000;
74
- line-height: 64.5px;
71
+ font-size: 37px;
72
+ font-weight: 799;
73
+ margin: 10px 0;
74
+ color: var(--mid-gray);
75
75
  }
76
76
 
77
+ .heading-h2{
78
+ font-size: 17px;
79
+ padding-top: 8px;
80
+ font-weight: 500;
81
+ color: gray;
82
+ }
77
83
  #containerWd {
78
84
  max-width: 100%;
79
85
  width: 900px !important;
@@ -127,6 +133,7 @@ input[type="number"] {
127
133
  0% {
128
134
  box-shadow: 0 0 2px 2px var(--primary-color);
129
135
  }
136
+
130
137
  100% {
131
138
  box-shadow: 0 0 4px 4px var(--primary-color);
132
139
  }
@@ -146,7 +153,7 @@ input[type="number"] {
146
153
  display: block;
147
154
  }
148
155
 
149
- .search-btn-container{
156
+ .search-btn-container {
150
157
  display: flex;
151
158
  justify-content: center;
152
159
  align-items: center;
@@ -169,7 +176,8 @@ input[type="number"] {
169
176
  outline: 0;
170
177
  border-radius: 74px;
171
178
  }
172
- .serachSection .serachBox .serachBtn:focus{
179
+
180
+ .serachSection .serachBox .serachBtn:focus {
173
181
  box-shadow: unset;
174
182
  }
175
183
 
@@ -642,7 +650,7 @@ details>summary::after {
642
650
 
643
651
  .carousel {
644
652
  display: flex;
645
- max-width: 700px;
653
+ max-width: 100%;
646
654
  overflow-x: scroll;
647
655
  scroll-snap-type: x mandatory;
648
656
  scroll-behavior: smooth;
@@ -835,7 +843,11 @@ summary::-webkit-details-marker {
835
843
 
836
844
 
837
845
  @media (max-width: 768px) {
838
-
846
+
847
+ .letter-close-button img {
848
+ width: 30px;
849
+ }
850
+
839
851
  .main-header {
840
852
  padding-top: 0rem !important;
841
853
  margin-bottom: 0vh;
@@ -843,6 +855,7 @@ summary::-webkit-details-marker {
843
855
  background: var(--primary-color);
844
856
  height: auto !important;
845
857
  }
858
+
846
859
  .top_tool_bar {
847
860
  display: block !important;
848
861
  }
@@ -1206,17 +1219,21 @@ summary::-webkit-details-marker {
1206
1219
  0% {
1207
1220
  transform: translate(-50%, -50%) rotate(0deg);
1208
1221
  }
1222
+
1209
1223
  100% {
1210
1224
  transform: translate(-50%, -50%) rotate(360deg);
1211
1225
  }
1212
1226
  }
1213
1227
 
1214
1228
  #download-button.loading .button-loader {
1215
- display: block; /* Show the loader when button has loading class */
1229
+ display: block;
1230
+ /* Show the loader when button has loading class */
1216
1231
  }
1232
+
1217
1233
  #processing-btn {
1218
1234
  position: relative;
1219
1235
  }
1236
+
1220
1237
  #processing-btn .button-loader {
1221
1238
  left: 9%;
1222
1239
  }
@@ -183,7 +183,7 @@ input:-webkit-autofill:active {
183
183
  z-index: 99; */
184
184
  box-shadow: 0px 0px 30px #ffffff;
185
185
  /* background: white; */
186
- padding: 4px;
186
+ /* padding: 4px; */
187
187
  }
188
188
 
189
189
 
@@ -237,7 +237,8 @@ header {
237
237
  }
238
238
 
239
239
  .searchBar input {
240
- padding: 2rem 4rem;
240
+ height: 40px;
241
+ padding: 0rem 2rem;
241
242
  width: 400px;
242
243
  border-radius: 8px;
243
244
  font-size: 14px;
@@ -0,0 +1,4 @@
1
+ <svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <circle cx="9.7659" cy="9.76659" r="8.98856" stroke="#707375" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M16.0195 16.4851L19.5436 20" stroke="#707375" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -38,6 +38,8 @@ let sortValue;
38
38
  let sortBool = false;
39
39
  let ok = true;
40
40
 
41
+ let worker = new Worker('/assets/js/wordfinder-worker.js');
42
+
41
43
  textBoxes.forEach(txtBox => {
42
44
  txtBox.addEventListener("input", () => {
43
45
  if (txtBox.value !== '') {
@@ -51,6 +53,7 @@ textBoxes.forEach(txtBox => {
51
53
  txtBox.classList.remove('blinkBoxShadow');
52
54
  });
53
55
  });
56
+
54
57
  txtBox.addEventListener('input', (e) => {
55
58
  if (e.target.value === "") {
56
59
  letterCloseButton.style.display = "none"
@@ -121,7 +124,6 @@ sortup.addEventListener("click", () => {
121
124
  theSelect.style.display = "block";
122
125
  }
123
126
  });
124
-
125
127
  const getDiff = (text1, text2) => {
126
128
  var diffRange = [];
127
129
  var currentRange = undefined;
@@ -143,7 +145,6 @@ const getDiff = (text1, text2) => {
143
145
  }
144
146
  return diffRange;
145
147
  };
146
-
147
148
  const loadResource = (FILE_URL, data = {}, async = true, type = "text/javascript") => {
148
149
  return new Promise((resolve, reject) => {
149
150
  let resourceEle;
@@ -196,7 +197,6 @@ function sendPageViewEvent() {
196
197
  page_location: window.location.pathname + location.search
197
198
  });
198
199
  }
199
-
200
200
  function logSubmit(e) {
201
201
  e.preventDefault();
202
202
  if (txtBox.value != "" || startsWith.value != "" || endsWith.value != "" || mustInclude.value != "" || exculdeWith.value != "" || inculdeWith.value != "" || wordLength.value != "") {
@@ -303,6 +303,7 @@ function logSubmit(e) {
303
303
  "length" +
304
304
  "=" +
305
305
  wordLength.value;
306
+
306
307
  window.history.pushState({ path: newurl }, "", newurl);
307
308
 
308
309
  const params = new URLSearchParams(window.location.search);
@@ -337,6 +338,7 @@ function logSubmit(e) {
337
338
  console.log("Please Enter Valid Letters.");
338
339
  }
339
340
  }
341
+
340
342
  let selectedDictionary = document.querySelector(".select_dropDown2");
341
343
  selectedDictionary.addEventListener("change", (e) => {
342
344
  logSubmit(e);
@@ -345,7 +347,6 @@ formElement.addEventListener("submit", logSubmit);
345
347
  sortingFilter.addEventListener("change", logSubmit);
346
348
 
347
349
  // getWords define
348
- const worker = new Worker('/assets/js/wordfinder-worker.js');
349
350
  const getData = async (serachValue) => {
350
351
  try {
351
352
  let selectedDictionary = document.querySelector(".select_dropDown2").value;
@@ -353,17 +354,17 @@ const getData = async (serachValue) => {
353
354
  home_page_search_result = document.querySelector("#home_page_search_result")
354
355
  homePageSearchResult = `/?search=${serachValue}&dictionary=Dictionary&prefix=&contains=&suffix=&exculde=&inculde=&length=`;
355
356
  }
356
- // document.querySelector(".main-header").style.height = "auto"
357
357
  document.querySelector(".main-header").style.background = "#fff"
358
- // document.querySelector(".heading-h2").remove()
359
358
  document.querySelector(".sortingFilters").style.display = "none"
360
359
  errorMsg.innerHTML = "";
361
360
  wordCount.innerHTML = "";
362
361
 
363
-
364
362
  if (serachValue) {
365
363
  serachValue = serachValue + startsWith.value.toLowerCase() + endsWith.value.toLowerCase() + mustInclude.value.toLowerCase() + inculdeWith.value.toLowerCase() + exculdeWith.value.toLowerCase()
366
364
  }
365
+
366
+ const startTime = performance.now();
367
+
367
368
  worker.postMessage({
368
369
  type: "api",
369
370
  serachValue: serachValue,
@@ -373,7 +374,7 @@ const getData = async (serachValue) => {
373
374
  worker.onmessage = (event) => {
374
375
  main.innerHTML = "";
375
376
  serachBtn.style.background = 'url(/assets/images/search.svg) no-repeat center center';
376
- getWords(serachValue, event.data.data);
377
+ getWords(startTime, serachValue, event.data.data);
377
378
  }
378
379
  } catch (error) {
379
380
  console.log(error);
@@ -407,7 +408,7 @@ let previousID = null;
407
408
  let storepreviousIndex = []
408
409
  let moreData = []
409
410
  let data_index = 98;
410
- function getWords(serachValue, data) {
411
+ function getWords(startTime, serachValue, data) {
411
412
  data_index = 98
412
413
  moreData = []
413
414
  storepreviousIndex = []
@@ -424,6 +425,7 @@ function getWords(serachValue, data) {
424
425
  }
425
426
 
426
427
  } else {
428
+
427
429
  worker.postMessage({
428
430
  type: 'filterwords',
429
431
  data: data,
@@ -492,6 +494,11 @@ function getWords(serachValue, data) {
492
494
  home_page_search_result.innerHTML = `See words of any length with letters ${serachValue.split("")}`
493
495
  }
494
496
 
497
+ const endTime = performance.now();
498
+ const timeTaken = endTime - startTime; // Calculate time taken in milliseconds
499
+
500
+ // Log the time taken
501
+ console.log(`Time taken by worker: ${timeTaken.toFixed(2)} ms`);
495
502
 
496
503
  main.innerHTML += `
497
504
  <div class="allGroupWords wordlistContainer" id="alpha_${i}">
@@ -10,7 +10,6 @@ self.onmessage = async (event) => {
10
10
  const data = await response.json();
11
11
  self.postMessage({ data });
12
12
  }
13
-
14
13
  if (event.data.type === "filterwords") {
15
14
  const { data, serachValue, prefixValue, containsValue, suffixValue, exculdeValue, includeValue, lengthValue, sortingFilter, dictonary } = event.data
16
15
  let newWordsLength = 0;
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: 3.2.2
4
+ version: 3.2.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: 2024-10-09 00:00:00.000000000 Z
11
+ date: 2024-12-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -351,6 +351,7 @@ files:
351
351
  - assets/images/right_obj_01.png
352
352
  - assets/images/search.svg
353
353
  - assets/images/search.webp
354
+ - assets/images/search2.svg
354
355
  - assets/images/siddhika.jpeg
355
356
  - assets/images/sona.jpeg
356
357
  - assets/images/star.png