appscms-tools-theme 4.3.6 → 4.3.8

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: 8b3d7b5e36d5e5926c1c2b11776d071e5b9ad45d2be74fa4f428e10765efa4f5
4
- data.tar.gz: b6937677de5cdd56e12027410d9ce665c22cdff23a23d4e0363ec7693cc26920
3
+ metadata.gz: 13789faaa9d31caa1926d9a39eec3bbc2e64bcd699ddbc907b844150990bd40d
4
+ data.tar.gz: c87b6447e07d7aa9a960b380cfd0821e5f6014e53d6780b0513c8ea818fc3d1b
5
5
  SHA512:
6
- metadata.gz: 92c267b33e9a885a52b8ef1eb10190eb3ec9e567e297cf3aaedab7b382487b3971b1ee4a8d65d3d6f24a1f1e350be1ee9f277bf86dea47a64f66906d342d6176
7
- data.tar.gz: b9dbcd65dd357f12d0429f4e0a5a862eaa84517edd9dba381e0805637e4c1b98045c71de3e747a37d5d918272daee08075c16d03e78ad1cb784301f975a9498d
6
+ metadata.gz: 42c2a58c0fac20db8e85213cf4ceb01d9588b352554bb81caf39719e49a5f3d53d49e574925ecf6e001d09af6a59ddca618c1d44226968bc06fd301d5e8eb2f1
7
+ data.tar.gz: 275cc9eed6b686191cfaafaec8e4c8fb56a86ce3fc7a4dfc858258c0e4c0ec432bcf1bd6539aff4456fcec0acc7e2683525c1ee1d274739dc33a312ba04a2f15
@@ -321,5 +321,28 @@
321
321
  "url": "history-of-company-copy-15",
322
322
  "path": "_posts/2021-01-08-history-of-company copy 15.md"
323
323
  }
324
+ ],
325
+ "USP_Heading": "USP Heading",
326
+ "USPS": [
327
+ {
328
+ "USP_VALUE": "USP_VALUE",
329
+ "USP_FACTOR": "USP_FACTOR"
330
+ },
331
+ {
332
+ "USP_VALUE": "USP_VALUE",
333
+ "USP_FACTOR": "USP_FACTOR"
334
+ },
335
+ {
336
+ "USP_VALUE": "USP_VALUE",
337
+ "USP_FACTOR": "USP_FACTOR"
338
+ },
339
+ {
340
+ "USP_VALUE": "USP_VALUE",
341
+ "USP_FACTOR": "USP_FACTOR"
342
+ },
343
+ {
344
+ "USP_VALUE": "USP_VALUE",
345
+ "USP_FACTOR": "USP_FACTOR"
346
+ }
324
347
  ]
325
348
  }
@@ -68,8 +68,12 @@
68
68
  })
69
69
  .then(response => response.json())
70
70
  .then(data => {
71
- ratingValue.innerText = data.rating
72
- count.innerText = data.count
71
+ console.log(data)
72
+
73
+ ratingValue.innerText = data.rating
74
+ count.innerText = data.count
75
+
76
+
73
77
  })
74
78
  .catch((error) => {
75
79
  console.error('Error:', error);
@@ -79,8 +83,13 @@
79
83
  const fetchRating = async () => {
80
84
 
81
85
  const data = await fetch(`https://ratingapi-main.netlify.app/.netlify/functions/api/v1/${tool}/rating`).then(res => res.json())
86
+ if (data.rating === "NaN") {
87
+ ratingValue.innerText = "5.00"
88
+ count.innerText = "1"
89
+ }
90
+ else{
82
91
  ratingValue.innerText = data.rating
83
- count.innerText = data.votes
92
+ count.innerText = data.votes}
84
93
  }
85
94
  let ratingImg = document.querySelector('#rating-img');
86
95
  ratingImg.addEventListener('load', (event) => {
@@ -7,7 +7,7 @@ assign showFaqs = true -%} {%- endif -%} {%- endfor -%} {%- if showFaqs == true
7
7
  -%} {%- if pageData.FAQ.size>0 -%}
8
8
  <div class="container heading mt-5">
9
9
  <div class="row">
10
- <div class="col-12">
10
+ <div class="col-11">
11
11
  <div class="d-flex align-items-center justify-content-center">
12
12
  <hr
13
13
  class="flex-grow-1 mx-4 mb-0"
@@ -24,7 +24,9 @@ assign showFaqs = true -%} {%- endif -%} {%- endfor -%} {%- if showFaqs == true
24
24
  </div>
25
25
  </div>
26
26
  </div>
27
- <div class="container mx-auto appscms-faq-section col-md-9 p-3 pb-3 col-12">
27
+ <div class="container mx-auto appscms-faq-section ">
28
+ <div class="row">
29
+ <div class="col-md-11 mx-auto my-4">
28
30
  <div class="faq-section">
29
31
  {% for data in pageData.FAQ %}
30
32
  <div class="faq-item">
@@ -38,5 +40,7 @@ assign showFaqs = true -%} {%- endif -%} {%- endfor -%} {%- if showFaqs == true
38
40
  {% endfor %}
39
41
  </div>
40
42
  </div>
43
+ </div>
44
+ </div>
41
45
 
42
46
  {%- endif -%} {%- endif -%}
@@ -4,7 +4,7 @@
4
4
  <div class="container appscms-upload-section-container">
5
5
  <div class="row">
6
6
  <div
7
- class="col-xxl-4 col-lg-6 col-md-8 col-sm-10 offset-md-1 offset-sm-0 mx-auto"
7
+ class="col-xl-5 col-lg-4 col-md-8 col-sm-10 offset-md-1 offset-sm-0 mx-auto"
8
8
  >
9
9
  <div class="appscms-upload-section box">
10
10
 
@@ -0,0 +1,91 @@
1
+ {% assign file = page.fileName %}
2
+ {% assign lang = page.lang %}
3
+ {% assign folder = page.folderName %}
4
+ {% assign uspData= site.data[folder][lang][file] %}
5
+ {%- if site.showusps -%}
6
+ <section class="usp-section">
7
+ <div class="container">
8
+ <div class="row">
9
+ <div class="col-md-11 mx-auto p-0">
10
+ <h4 class="related_post_heading my-4">Our USPs</h4>
11
+ <table class="table table-bordered table-striped table-light ">
12
+ <tbody>
13
+ <tr>
14
+ <td class="font-weight-bold" scope="row">
15
+ Security
16
+ </td>
17
+ <td>
18
+ 100% (No files are sent to server for processing)
19
+ </td>
20
+ </tr>
21
+ <tr>
22
+ <td class="font-weight-bold" scope="row">
23
+ File size limits
24
+ </td>
25
+ <td>
26
+ None (No limit on size of files)
27
+ </td>
28
+ </tr>
29
+ <tr>
30
+ <td class="font-weight-bold" scope="row">
31
+ Usage limits
32
+ </td>
33
+ <td>
34
+ None (Process as many files as you want)
35
+ </td>
36
+ </tr>
37
+ <tr>
38
+ <td class="font-weight-bold" scope="row">
39
+ Price
40
+ </td>
41
+ <td>
42
+ Free
43
+ </td>
44
+ </tr>
45
+ <tr>
46
+ <td class="font-weight-bold" scope="row">
47
+ User Information Captured
48
+ </td>
49
+ <td>
50
+ None (We do not request for user information such as email / phone number)
51
+ </td>
52
+ </tr>
53
+ <tr>
54
+ <td class="font-weight-bold" scope="row">
55
+ Ads
56
+ </td>
57
+ <td>
58
+ None (We provide complete ad free experience)
59
+ </td>
60
+ </tr>
61
+ </tbody>
62
+ </table>
63
+ </div>
64
+ </section>
65
+ {%- else -%}
66
+ {%- if uspData -%}
67
+ <section class="usp-section">
68
+ <div class="container">
69
+ <div class="col-md-11 mx-auto p-0">
70
+ <h4 class="related_post_heading my-4">{{uspData.USP_Heading}}</h4>
71
+ <table class="table table-bordered table-striped table-light ">
72
+ <tbody>
73
+ {%- for item in uspData.USPS -%}
74
+ <tr>
75
+ <td class="font-weight-bold" scope="row">
76
+ {{item.USP_VALUE}}
77
+ </td>
78
+ <td>
79
+ {{item.USP_FACTOR}}
80
+ </td>
81
+ </tr>
82
+ {%- endfor -%}
83
+ </tbody>
84
+ </table>
85
+
86
+
87
+ </div>
88
+ </div>
89
+ </section>
90
+ {%- endif -%}
91
+ {%- endif -%}
@@ -430,9 +430,7 @@
430
430
  </div>
431
431
  </section>
432
432
 
433
-
434
-
435
- {% include script.html %}
433
+ {%- include appscms/scripts/script.html -%}
436
434
  {%- include appscms/footer/static-footer.html -%}
437
435
  </body>
438
436
 
@@ -160,7 +160,8 @@
160
160
  </div>
161
161
  {% include section/count.html %}
162
162
  </section>
163
- {%- include appscms/footer/static-footer.html -%} {% include script.html %}
163
+ {%- include appscms/footer/static-footer.html -%}
164
+ {%- include appscms/scripts/script.html -%}
164
165
  </body>
165
166
 
166
167
  </html>
@@ -29,6 +29,8 @@ assign boxColor = site.data[page.folderName][page.lang][page.fileName].color -%}
29
29
  appscms/howto/howto.html -%} {%- if pageData.infographics.size > 0 -%} {%-
30
30
  include appscms/infographics/infographics.html -%} {%- endif -%} {%- include
31
31
  appscms/faq/faq.html -%}
32
+ {%- include
33
+ appscms/usp/usp.html -%}
32
34
  <!-- {%- include
33
35
  appscms/extras/traffic-count.html -%} -->
34
36
  {%- if site.userTrackingCount -%} {%- include userTracking.html -%} {%-
@@ -49,7 +51,9 @@ assign boxColor = site.data[page.folderName][page.lang][page.fileName].color -%}
49
51
  endif -%} {%- include appscms/extras/ratings.html -%} {%- if
50
52
  pageData.author.size > 0 -%} {% include
51
53
  appscms/featurePageAuthors/featurePageAuthors.html %} {%- endif -%} {%-
52
- include appscms/footer/products.html -%} {%- include
54
+ include appscms/footer/products.html -%}
55
+
56
+ {%- include
53
57
  appscms/footer/footer.html -%} {%- if site.customCode -%} {%- include
54
58
  customCode.html -%} {%- endif -%} {%- include appscms/scripts/script.html
55
59
  -%}
@@ -34,7 +34,10 @@ assign boxColor = site.data[page.folderName][page.lang][page.fileName].color -%}
34
34
  categories= page.categories %} {%- endif -%} {%- if
35
35
  site.data[folder][langen][file].tags -%} {% assign tags=
36
36
  site.data[folder][langen][file].tags %} {%- else -%} {% assign tags=
37
- page.tags %} {%- endif -%} {%- if pageData.posts.size > 0 -%} {%- include
37
+ page.tags %} {%- endif -%}
38
+ {%- include
39
+ appscms/usp/usp.html -%}
40
+ {%- if pageData.posts.size > 0 -%} {%- include
38
41
  appscms/customblog/pageRelatedPosts.html -%} {%- else -%} {%- if
39
42
  categories.size > 0 or tags.size > 0 -%} {%- include
40
43
  appscms/recent-posts/related_categories_post.html -%} {%- else -%} {%-
@@ -289,7 +289,7 @@
289
289
 
290
290
  .inforgraphics_section .wrapper {
291
291
  display: flex;
292
- max-width: 700px;
292
+ max-width: 90%;
293
293
  position: relative;
294
294
  }
295
295
 
@@ -329,7 +329,7 @@
329
329
 
330
330
  .carousel {
331
331
  display: flex;
332
- max-width: 700px;
332
+ max-width: 100%;
333
333
  overflow-x: scroll;
334
334
  scroll-snap-type: x mandatory;
335
335
  scroll-behavior: smooth;
@@ -391,4 +391,3 @@
391
391
  margin-right: 0;
392
392
  }
393
393
  }
394
-
@@ -1881,4 +1881,77 @@ body {
1881
1881
 
1882
1882
  .appscms-loader{
1883
1883
  display: none;
1884
- }
1884
+ }
1885
+ /* CSS for the table design */
1886
+ .usp-section .table {
1887
+ border-collapse: collapse;
1888
+ width: 100%;
1889
+ border-radius: 8px;
1890
+ overflow: hidden;
1891
+ }
1892
+
1893
+ .usp-section .table th,
1894
+ .usp-section .table td {
1895
+ padding: 12px;
1896
+ text-align: left;
1897
+ border-bottom: 1px solid #dee2e6;
1898
+ }
1899
+
1900
+ .usp-section .table th {
1901
+ background-color: #f8f9fa;
1902
+ }
1903
+
1904
+ .usp-section .table-striped tbody tr:nth-of-type(odd) {
1905
+ background-color: #f8f9fa;
1906
+ }
1907
+
1908
+ .usp-section .table-bordered {
1909
+ border: 1px solid #dee2e6;
1910
+ }
1911
+
1912
+ .usp-section .table-bordered th,
1913
+ .usp-section .table-bordered td {
1914
+ border: 1px solid #dee2e6;
1915
+ }
1916
+
1917
+ /* Rounded corners */
1918
+ .usp-section .table-rounded {
1919
+ border-collapse: separate;
1920
+ border-spacing: 0;
1921
+ }
1922
+
1923
+ .usp-section .table-rounded th:first-child,
1924
+ .usp-section .table-rounded td:first-child {
1925
+ border-top-left-radius: 10px;
1926
+ border-bottom-left-radius: 10px;
1927
+ }
1928
+
1929
+ .usp-section .table-rounded th:last-child,
1930
+ .usp-section .table-rounded td:last-child {
1931
+ border-top-right-radius: 10px;
1932
+ border-bottom-right-radius: 10px;
1933
+ }
1934
+
1935
+ /* Clean and modern UI */
1936
+ .usp-section .table-striped {
1937
+ background-color: transparent;
1938
+ }
1939
+
1940
+ .usp-section .table-light {
1941
+ background-color: #ffffff;
1942
+ }
1943
+
1944
+ /* Responsive design */
1945
+ @media (max-width: 768px) {
1946
+ .usp-section .table-responsive {
1947
+ display: block;
1948
+ width: 100%;
1949
+ overflow-x: auto;
1950
+ -webkit-overflow-scrolling: touch;
1951
+ -ms-overflow-style: -ms-autohiding-scrollbar;
1952
+ }
1953
+
1954
+ .usp-section .table {
1955
+ white-space: nowrap;
1956
+ }
1957
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appscms-tools-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.6
4
+ version: 4.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - vivek-appscms
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-09 00:00:00.000000000 Z
11
+ date: 2024-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -146,6 +146,7 @@ files:
146
146
  - _includes/appscms/searchbar/devtool-searchbar.html
147
147
  - _includes/appscms/searchbar/searchbar.html
148
148
  - _includes/appscms/uploadbutton/uploadbutton.html
149
+ - _includes/appscms/usp/usp.html
149
150
  - _includes/author_bio.html
150
151
  - _includes/authorpagehead/index.html
151
152
  - _includes/authors/authors.html