diff --git a/app.js b/app.js new file mode 100644 index 0000000..15b9027 --- /dev/null +++ b/app.js @@ -0,0 +1,21 @@ +self.addEventListener('install', event => { + event.waitUntil( + caches.open('app-cache').then(cache => { + return cache.addAll([ + '/', + '/index.html', + '/assets/css/style.css', + '/assets/css/themes.css' + ]); + }) + ); + }); + + self.addEventListener('fetch', event => { + event.respondWith( + caches.match(event.request).then(response => { + return response || fetch(event.request); + }) + ); + }); + \ No newline at end of file diff --git a/images/icons/seraphim-192.png b/images/icons/seraphim-192.png new file mode 100644 index 0000000..1b72e92 Binary files /dev/null and b/images/icons/seraphim-192.png differ diff --git a/images/icons/seraphim-512.png b/images/icons/seraphim-512.png new file mode 100644 index 0000000..fc30e4d Binary files /dev/null and b/images/icons/seraphim-512.png differ diff --git a/images/icons/seraphim.png b/images/icons/seraphim.png new file mode 100644 index 0000000..2ec0806 Binary files /dev/null and b/images/icons/seraphim.png differ diff --git a/index.html b/index.html index 9d9b2b2..45a64a1 100644 --- a/index.html +++ b/index.html @@ -20,6 +20,13 @@ + + + + + + +
@@ -207,5 +214,18 @@