appscms-tools-theme 0.8.0 → 0.8.1

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: 2388defe1413c42bcf3e10a82c71dbd3ea7d15e1713413194b70cce5e5d80972
4
- data.tar.gz: 58e08304a5f3e1695870df893c7f4a5d811b9de17800f4c38505226fdbf3a12a
3
+ metadata.gz: 97d670d16ac3abd6425d391b5f5f39554fd6945920671fff56d08889778f4238
4
+ data.tar.gz: 59a520281955bfdee18ea73ec124b0d1e890a7974599c6f36acccce59cdad98e
5
5
  SHA512:
6
- metadata.gz: c0c7b8b2543ade8394559c3c771994970708cc8ebfcacffb35b0f6b71acb7dc2217252c3edf02a6cbc504e24829cdd2c08b12a8de976af0f4c112d4e318dcbd7
7
- data.tar.gz: 0b05542aed618b726b0db0cc342e9c3fb844ef8dedaa313c8545f02c9f2f14b98a85ad41daffb177045bd5e74dcb0057986ffa6936d9dc0dc5f49ca2815b4be8
6
+ metadata.gz: 7a12a41e4e134a36596c6f27ef8aed4c6be7430c541f8d9455fc36f87c16d7f4462e44a32e2b803db6693b4a3e5b192df1713f9439380f3a730ac52d416b6080
7
+ data.tar.gz: 2f8081437fc34c958bda52da3f9e24ab5c7da028e2747f923ae24da0df96b74924206bc6c1a518066e92eced0eb41164667a6f17df5a0975552a1ebbfdd9ad8a
@@ -6,33 +6,6 @@
6
6
  "button-background":"red",
7
7
  "socialshareheading":"We are a free to use platform for safe processing of your files. We need to your support to grow. Help us by sharing us on social media. Thanks ! ",
8
8
  "recommendedsitesheading":"Try our other sites for safe processing of you files ! ",
9
- "recommendedsites":[
10
- {
11
- "name":"Safepdfkit.com",
12
- "url":"https://safepdfkit.com",
13
- "logo":"https://d33wubrfki0l68.cloudfront.net/0623ca017395ac8b757b16b645ff38a89963b01b/a43c6/assets/logo.svg"
14
- },
15
- {
16
- "name":"Safepdfkit.com",
17
- "url":"https://safepdfkit.com",
18
- "logo":"https://d33wubrfki0l68.cloudfront.net/0623ca017395ac8b757b16b645ff38a89963b01b/a43c6/assets/logo.svg"
19
- },
20
- {
21
- "name":"Safepdfkit.com",
22
- "url":"https://safepdfkit.com",
23
- "logo":"https://d33wubrfki0l68.cloudfront.net/0623ca017395ac8b757b16b645ff38a89963b01b/a43c6/assets/logo.svg"
24
- },
25
- {
26
- "name":"Safepdfkit.com",
27
- "url":"https://safepdfkit.com",
28
- "logo":"https://d33wubrfki0l68.cloudfront.net/0623ca017395ac8b757b16b645ff38a89963b01b/a43c6/assets/logo.svg"
29
- },
30
- {
31
- "name":"Safepdfkit.com",
32
- "url":"https://safepdfkit.com",
33
- "logo":"https://d33wubrfki0l68.cloudfront.net/0623ca017395ac8b757b16b645ff38a89963b01b/a43c6/assets/logo.svg"
34
- }
35
- ],
36
9
  "recommendedfeatures":[
37
10
  {
38
11
  "name":"Split pdf",
@@ -12,7 +12,7 @@
12
12
  <h1 class="contact-h1 py-2">Contact us</h1>
13
13
  <h2 class="contact-h2">Welcome to {{page.companyName}}</h2>
14
14
  <div class="py-3">
15
- <div class="py-3"><p>We, <b>{{page.companyName}}</b> LLP, registered under the provisions of the Limited Liability Partnership Act 2008, having its registered office at “493 Saket, Pilkhuwa, Ghaziabad, Uttar Pradesh – 245 304, INDIA represented by its Directors, hereinafter referred to as the “FIRM” (where such expression shall, unless repugnant to the context thereof, be deemed to include its respective legal heirs, representatives, administrators, permitted successors and assigns).</p><p>The Firm will not be responsible for any damage suffered by users from use of the Platform. This includes but is not limited to, loss of revenue/data resulting from delays, non-deliveries, missed deliveries, or service interruptions as may occur because of any act/omission of parties. This disclaimer of liability also applies to any damages or injury caused by any failure of performance, error, omission, interruption, deletion, defect, delay in operation or transmission, computer virus, communication line failure, theft or destruction or unauthorized access to, alteration of, or use of record, whether for breach of contract, tortuous behaviour, negligence, or under any other cause of action.</p><p>The Firm also makes it clear that it shall not be held liable for any damage/hurt/inconvenience caused to the User through the course of the provision of Services or as a result of the Users’ actions. The Firm makes no representations or warranties as to the conduct of the Users. The Firm takes no responsibility for any content that Users send or receive from other Users or Third-Party posts through the Website or Platform. Any material downloaded or otherwise obtained through use of the service is accessed at the Users own discretion and risk.</p><p>The services on the Platform are intended to be subject to availability, without any promises or guarantees on the same by the Firm, and while certain information available on the Platform is the property of the Firm and the Firm endeavours to keep the said information updated and accurate, the Firm shall not make any representations or warranties of any kind, express or implied, about the completeness, accuracy, reliability, suitability or availability with respect to the Platform or the information, services, or related graphics contained on the Platform for any purpose. Any reliance you place on such information is therefore strictly at your own risk.</p><p>The Firm bears no responsibility whatsoever for any consequences arising from the use of the said Services by Users. The use of the Services in the Platform is the sole responsibility of the User (or legally authorised person on behalf of the User), and in case of any negligence on the part of the User is acting on the same shall not be construed as imposing any liability, direct or indirect, on the Firm /Platform.</p><p>The Firm shall disclaim all responsibility and owns no liability to Users for any outcome (incidental, direct, indirect or otherwise) from the use of the Platform or any such services under the platform. In no event will the Firm be liable for any loss or damage including without limitation, indirect or consequential loss or damage, or any loss or damage whatsoever arising from loss of data or profits arising out of, or in connection with, the use of the Platform.</p><p>Through this Platform, You may be able to access the link of other Platforms which are not under the control of the Firm or the Platform. We have no control over the nature, content and availability of those sites. The inclusion of any links does not necessarily imply a recommendation or endorse the views expressed within them. Every effort is made to keep the Platform up and running smoothly. However, the Firm takes no responsibility for, and will not be liable for, the Platform being temporarily unavailable due to technical issues beyond our control.</p><p>TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, WE WILL HAVE NO LIABILITY RELATED TO USER CONTENT ARISING UNDER INTELLECTUAL PROPERTY RIGHTS, LIBEL, PRIVACY, PUBLICITY, OBSCENITY OR OTHER LAWS. WEBSITE ALSO DISCLAIMS ALL LIABILITY WITH RESPECT TO THE MISUSE, LOSS, MODIFICATION OR UNAVAILABILITY OF ANY USER CONTENT.</p><p>THE USER UNDERSTANDS AND AGREES THAT ANY MATERIAL OR DATA DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE PLATFORM IS DONE ENTIRELY AT HIS/HER OWN DISCRETION AND RISK AND HE/SHE WILL BE SOLELY RESPONSIBLE FOR ANY DAMAGE TO HIS/HER COMPUTER SYSTEMS OR LOSS OF DATA THAT RESULTS FROM THE DOWNLOAD OF SUCH MATERIAL OR DATA. WE ARE NOT RESPONSIBLE FOR ANY TYPOGRAPHICAL ERROR LEADING. PLATFORM ACCEPTS NO LIABILITY FOR ANY ERRORS OR OMISSIONS, WITH RESPECT TO ANY INFORMATION PROVIDED TO YOU WHETHER ON BEHALF OF ITSELF OR THIRD PARTIES.</p><p>THE ADVERTISEMENT THAT MAY BE AVAILABLE ON E-MAIL OR WEBSITE WITH RESPECT TO THE THIRD-PARTY WEBSITE AND SERVICES ARE FOR INFORMATION PURPOSE ONLY.</p></div>
15
+ <div class="py-3"><p>We, <b>{{page.companyName}}</b> LLP, registered under the provisions of the Limited Liability Partnership Act 2008, having its registered office at "Ghaziabad, Uttar Pradesh – 245304, INDIA" represented by its Directors, hereinafter referred to as the “FIRM” (where such expression shall, unless repugnant to the context thereof, be deemed to include its respective legal heirs, representatives, administrators, permitted successors and assigns).</p><p>The Firm will not be responsible for any damage suffered by users from use of the Platform. This includes but is not limited to, loss of revenue/data resulting from delays, non-deliveries, missed deliveries, or service interruptions as may occur because of any act/omission of parties. This disclaimer of liability also applies to any damages or injury caused by any failure of performance, error, omission, interruption, deletion, defect, delay in operation or transmission, computer virus, communication line failure, theft or destruction or unauthorized access to, alteration of, or use of record, whether for breach of contract, tortuous behaviour, negligence, or under any other cause of action.</p><p>The Firm also makes it clear that it shall not be held liable for any damage/hurt/inconvenience caused to the User through the course of the provision of Services or as a result of the Users’ actions. The Firm makes no representations or warranties as to the conduct of the Users. The Firm takes no responsibility for any content that Users send or receive from other Users or Third-Party posts through the Website or Platform. Any material downloaded or otherwise obtained through use of the service is accessed at the Users own discretion and risk.</p><p>The services on the Platform are intended to be subject to availability, without any promises or guarantees on the same by the Firm, and while certain information available on the Platform is the property of the Firm and the Firm endeavours to keep the said information updated and accurate, the Firm shall not make any representations or warranties of any kind, express or implied, about the completeness, accuracy, reliability, suitability or availability with respect to the Platform or the information, services, or related graphics contained on the Platform for any purpose. Any reliance you place on such information is therefore strictly at your own risk.</p><p>The Firm bears no responsibility whatsoever for any consequences arising from the use of the said Services by Users. The use of the Services in the Platform is the sole responsibility of the User (or legally authorised person on behalf of the User), and in case of any negligence on the part of the User is acting on the same shall not be construed as imposing any liability, direct or indirect, on the Firm /Platform.</p><p>The Firm shall disclaim all responsibility and owns no liability to Users for any outcome (incidental, direct, indirect or otherwise) from the use of the Platform or any such services under the platform. In no event will the Firm be liable for any loss or damage including without limitation, indirect or consequential loss or damage, or any loss or damage whatsoever arising from loss of data or profits arising out of, or in connection with, the use of the Platform.</p><p>Through this Platform, You may be able to access the link of other Platforms which are not under the control of the Firm or the Platform. We have no control over the nature, content and availability of those sites. The inclusion of any links does not necessarily imply a recommendation or endorse the views expressed within them. Every effort is made to keep the Platform up and running smoothly. However, the Firm takes no responsibility for, and will not be liable for, the Platform being temporarily unavailable due to technical issues beyond our control.</p><p>TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, WE WILL HAVE NO LIABILITY RELATED TO USER CONTENT ARISING UNDER INTELLECTUAL PROPERTY RIGHTS, LIBEL, PRIVACY, PUBLICITY, OBSCENITY OR OTHER LAWS. WEBSITE ALSO DISCLAIMS ALL LIABILITY WITH RESPECT TO THE MISUSE, LOSS, MODIFICATION OR UNAVAILABILITY OF ANY USER CONTENT.</p><p>THE USER UNDERSTANDS AND AGREES THAT ANY MATERIAL OR DATA DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE PLATFORM IS DONE ENTIRELY AT HIS/HER OWN DISCRETION AND RISK AND HE/SHE WILL BE SOLELY RESPONSIBLE FOR ANY DAMAGE TO HIS/HER COMPUTER SYSTEMS OR LOSS OF DATA THAT RESULTS FROM THE DOWNLOAD OF SUCH MATERIAL OR DATA. WE ARE NOT RESPONSIBLE FOR ANY TYPOGRAPHICAL ERROR LEADING. PLATFORM ACCEPTS NO LIABILITY FOR ANY ERRORS OR OMISSIONS, WITH RESPECT TO ANY INFORMATION PROVIDED TO YOU WHETHER ON BEHALF OF ITSELF OR THIRD PARTIES.</p><p>THE ADVERTISEMENT THAT MAY BE AVAILABLE ON E-MAIL OR WEBSITE WITH RESPECT TO THE THIRD-PARTY WEBSITE AND SERVICES ARE FOR INFORMATION PURPOSE ONLY.</p></div>
16
16
  <div>
17
17
  </div>
18
18
  </div>
@@ -10,8 +10,52 @@
10
10
  <div class="container">
11
11
  <div class="download-section">
12
12
  <div class="row">
13
- <div class="col-md-8 px-0">
14
- <p class="success-msg" >Hurry! your operation was completed</p>
13
+ <div class="col-md-12 px-0">
14
+ <p class="success-msg" > <?xml version="1.0" encoding="iso-8859-1"?>
15
+ <svg height='22px' width='22px' version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
16
+ viewBox="0 0 496.158 496.158" style="enable-background:new 0 0 496.158 496.158;" xml:space="preserve">
17
+ <path style="fill:#32BEA6;" d="M496.158,248.085c0-137.021-111.07-248.082-248.076-248.082C111.07,0.003,0,111.063,0,248.085
18
+ c0,137.002,111.07,248.07,248.082,248.07C385.088,496.155,496.158,385.087,496.158,248.085z"/>
19
+ <path style="fill:#FFFFFF;" d="M384.673,164.968c-5.84-15.059-17.74-12.682-30.635-10.127c-7.701,1.605-41.953,11.631-96.148,68.777
20
+ c-22.49,23.717-37.326,42.625-47.094,57.045c-5.967-7.326-12.803-15.164-19.982-22.346c-22.078-22.072-46.699-37.23-47.734-37.867
21
+ c-10.332-6.316-23.82-3.066-30.154,7.258c-6.326,10.324-3.086,23.834,7.23,30.174c0.211,0.133,21.354,13.205,39.619,31.475
22
+ c18.627,18.629,35.504,43.822,35.67,44.066c4.109,6.178,11.008,9.783,18.266,9.783c1.246,0,2.504-0.105,3.756-0.322
23
+ c8.566-1.488,15.447-7.893,17.545-16.332c0.053-0.203,8.756-24.256,54.73-72.727c37.029-39.053,61.723-51.465,70.279-54.908
24
+ c0.082-0.014,0.141-0.02,0.252-0.043c-0.041,0.01,0.277-0.137,0.793-0.369c1.469-0.551,2.256-0.762,2.301-0.773
25
+ c-0.422,0.105-0.641,0.131-0.641,0.131l-0.014-0.076c3.959-1.727,11.371-4.916,11.533-4.984
26
+ C385.405,188.218,389.034,176.214,384.673,164.968z"/>
27
+ <g>
28
+ </g>
29
+ <g>
30
+ </g>
31
+ <g>
32
+ </g>
33
+ <g>
34
+ </g>
35
+ <g>
36
+ </g>
37
+ <g>
38
+ </g>
39
+ <g>
40
+ </g>
41
+ <g>
42
+ </g>
43
+ <g>
44
+ </g>
45
+ <g>
46
+ </g>
47
+ <g>
48
+ </g>
49
+ <g>
50
+ </g>
51
+ <g>
52
+ </g>
53
+ <g>
54
+ </g>
55
+ <g>
56
+ </g>
57
+ </svg>
58
+ Hurry! your operation was completed</p>
15
59
  <div class="try-more-features ">
16
60
  <h2 class="success-msg border-bottom-none" >Try These features</h2>
17
61
  <div class="row feature-showcase " >
@@ -27,12 +71,6 @@
27
71
  </div>
28
72
  </div>
29
73
  </div>
30
-
31
- <div class="col-md-4 download-btn-container ">
32
- <p id="filename" class="download-file-name text-left"></p>
33
- <a id="file-download-button" class="download-download-btn btn " style="background-color: {{downloadData.button-background}};" download href="#"><svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path d="M18 20H5V15H6V19H17V15H18V20ZM12 4V15.19L14.3 13L15 13.6667L11.5 17L8 13.6667L8.7 13L11 15.19V4H12Z"></path></svg>DOWNLOAD</a>
34
- </div>
35
-
36
74
  <div class="col-md-12 download-page-rate-us">
37
75
  <div class="rating-tool" style="border: none;">
38
76
  <img id="rating-img" loading='lazy' src="/assets/images/rating.png" alt="rating-img">
@@ -115,7 +153,6 @@
115
153
  localStorage.setItem(`${tool}rating`,index+1)
116
154
  }}))
117
155
  </script>
118
-
119
156
  </div>
120
157
  <div class="col-12">
121
158
  <div class="download-social-share">
@@ -138,7 +175,6 @@
138
175
  data-placement="top" title="{{ share.type }}" aria-label="{{ share.type }}">
139
176
  <i class="fa-fw {{ share.icon }} mb-0 py-3"></i>
140
177
  </a>
141
-
142
178
  {% endfor %}
143
179
  </div>
144
180
  </ul>
@@ -158,39 +194,46 @@
158
194
 
159
195
  {%- if downloadData.recommendedsites -%}
160
196
  {%- assign recommendedsitesData = downloadData.recommendedsites -%}
161
- {%- else -%}
162
- {%- assign recommendedsitesData = downloadData.recommendedsites -%}
163
- {%- endif -%}
164
197
  {%- for item in recommendedsitesData -%}
165
198
  <div class="col-md-4 col-sm-6 mb-4 col-lg-3">
166
- <img src="{{item.logo}}" alt=""> <a target="_blank" href="{{item.url}}">{{item.name}}</a> </div>
167
-
199
+ <img loading='lazy' src="{{item.logo}}" alt="{{item.name}} logo"> <a target="_blank" href="{{item.url}}">{{item.name}}</a>
200
+ </div>
168
201
  {%- endfor -%}
169
- </div>
170
-
202
+ {%- else -%}
203
+ <div class="col-md-4 col-sm-6 mb-4 col-lg-3">
204
+ <img loading='lazy' src="https://d33wubrfki0l68.cloudfront.net/0623ca017395ac8b757b16b645ff38a89963b01b/a43c6/assets/logo.svg" alt="safepdfkitlogo"> <a target="_blank" href="https://safepdfkit.com">Safepdfkit.com</a>
205
+ </div>
206
+ <div class="col-md-4 col-sm-6 mb-4 col-lg-3">
207
+ <img loading='lazy' src="https://d33wubrfki0l68.cloudfront.net/796c1a01dae9c2d10224fd72a820156974b26ab1/3b885/assets/images/logo.png" alt="Safeaudiokit-logo"> <a target="_blank" href="https://safeaudiokit.com">safeaudiokit.com</a>
208
+ </div>
209
+ <div class="col-md-4 col-sm-6 mb-4 col-lg-3">
210
+ <img src="https://d33wubrfki0l68.cloudfront.net/ab0207d780c019c54db62b002396bc8c3fddddaf/9abb9/assets/safevideokit.svg" alt="Safevideokitlogo"> <a target="_blank" href="https://safevideokit.com">safevideokit.com</a>
211
+ </div>
212
+ <div class="col-md-4 col-sm-6 mb-4 col-lg-3">
213
+ <img loading='lazy' src="https://d33wubrfki0l68.cloudfront.net/2e37a1020563aa528471da7425b8e58343e2baf7/a186c/picture.png" alt="Safeimagekitlogo"> <a target="_blank" href="https://safeimagekit.com/">safeimagekit.com</a>
214
+ </div>
215
+ <div class="col-md-4 col-sm-6 mb-4 col-lg-3">
216
+ <img loading='lazy' src="https://d33wubrfki0l68.cloudfront.net/74bf3f3836d56b30d16137169cd4c28bf15494ed/11962/js/pt.png" alt="safezipkitlogo"> <a target="_blank" href="https://safezipkit.com/">safezipkit.com</a>
217
+ </div>
218
+ <div class="col-md-4 col-sm-6 mb-4 col-lg-3">
219
+ <img loading='lazy' src="https://d33wubrfki0l68.cloudfront.net/325cdfad7de6cae4a03aecfadc70b38af754cbd0/d87f9/assets/images/logo.png" alt="Safeimageconverter logo"> <a target="_blank" href="https://safeaudioconverter.com/"> safeaudioconverter.com
171
220
 
172
-
221
+ </a>
222
+ </div>
223
+ <div class="col-md-4 col-sm-6 mb-4 col-lg-3">
224
+ <img loading='lazy' src="https://safevideoconverter.com/assets/logo.svg" alt="https:safevideoconverter logo"> <a target="_blank" href="https://safevideoconverter.com/">safevideoconverter.com</a>
225
+ </div>
226
+ <div class="col-md-4 col-sm-6 mb-4 col-lg-3">
227
+ <img loading='lazy' src="https://d33wubrfki0l68.cloudfront.net/c8fef6be5192b9fa57b8503c6ad93befa361926d/a66d0/picture.svg" alt="safeimageconverter logo"> <a target="_blank" href="https://safeimageconverter.com/">safeimageconverter</a>
228
+ </div>
229
+ {%- endif -%}
230
+
231
+ </div>
173
232
  </div>
174
233
  </div>
175
234
 
176
235
  {% include footer/index.html %}
177
236
  {% include script.html %}
178
- <script>
179
- document.addEventListener("DOMContentLoaded", function(event) {
180
- const urlParams = new URLSearchParams(window.location.search)
181
- let file = urlParams.get('filename')
182
- let data= urlParams.get('data')
183
- // const blob = new Blob([`${data}`], { type: 'text/plain' });
184
- // const blobUrl = URL.createObjectURL(blob);
185
- // console.log(blobUrl);
186
- const fileName=document.getElementById('filename')
187
- console.log(fileName);
188
- const downloadBtn=document.getElementById('file-download-button')
189
- downloadBtn.href=data
190
- filename.innerHTML=file
191
-
192
- });
193
- </script>
194
237
  </body>
195
238
 
196
239
  </html>
@@ -11,10 +11,10 @@
11
11
  {%- include dropdown/langdropdown.html -%}
12
12
  <div class="container py-4">
13
13
  <h1 class="about-h1 py-4">Terms and condtions</h1>
14
- <div class="py-3">
14
+ <div class="py-3">
15
15
  <div class="py-3">
16
16
  <p>We,<b>{{page.companyName}}</b>, registered under the provisions of the Limited Liability Partnership Act 2008,
17
- having its registered office at “493 Saket, Pilkhuwa, Ghaziabad, Uttar Pradesh – 245 304, INDIA
17
+ having its registered office at "Ghaziabad, Uttar Pradesh – 245304, INDIA"
18
18
  represented by its Directors, hereinafter referred to as the <b>“FIRM”</b> (where such expression
19
19
  shall, unless repugnant to the context thereof, be deemed to include its respective legal heirs,
20
20
  representatives, administrators, permitted successors and assigns).</p>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appscms-tools-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - vivek-appscms
@@ -57,11 +57,8 @@ email:
57
57
  - vivek@appscms.com
58
58
  executables: []
59
59
  extensions: []
60
- extra_rdoc_files:
61
- - serviceworker.js
62
- - "./serviceworker.js"
60
+ extra_rdoc_files: []
63
61
  files:
64
- - "./serviceworker.js"
65
62
  - LICENSE.txt
66
63
  - README.md
67
64
  - _data/about/en/about.json
@@ -165,7 +162,6 @@ files:
165
162
  - assets/support.svg
166
163
  - assets/twitter.svg
167
164
  - assets/youtube.svg
168
- - serviceworker.js
169
165
  homepage: https://github.com/Appscms-com/appscms-tools-theme
170
166
  licenses:
171
167
  - MIT
@@ -173,7 +169,7 @@ metadata: {}
173
169
  post_install_message:
174
170
  rdoc_options: []
175
171
  require_paths:
176
- - "."
172
+ - lib
177
173
  required_ruby_version: !ruby/object:Gem::Requirement
178
174
  requirements:
179
175
  - - ">="
data/serviceworker.js DELETED
@@ -1,42 +0,0 @@
1
- const CACHE_NAME = 'v1'
2
- const urlsToCache = ['index.html']
3
-
4
- const self = this
5
-
6
- // Install SW
7
- self.addEventListener('install', (event) => {
8
- event.waitUntil(
9
- caches.open(CACHE_NAME).then((cache) => {
10
- console.log('Opened cache')
11
-
12
- return cache.addAll(urlsToCache)
13
- })
14
- )
15
- })
16
-
17
- // Listen for requests
18
- self.addEventListener('fetch', (event) => {
19
- event.respondWith(
20
- caches.match(event.request).then(() => {
21
- return fetch(event.request).catch(() => caches.match('index.html'))
22
- })
23
- )
24
- })
25
-
26
- // Activate the SW
27
- self.addEventListener('activate', (event) => {
28
- const cacheWhitelist = []
29
- cacheWhitelist.push(CACHE_NAME)
30
-
31
- event.waitUntil(
32
- caches.keys().then((cacheNames) =>
33
- Promise.all(
34
- cacheNames.map((cacheName) => {
35
- if (!cacheWhitelist.includes(cacheName)) {
36
- return caches.delete(cacheName)
37
- }
38
- })
39
- )
40
- )
41
- )
42
- })