diff --git a/freetar/static/guitar-192.png b/freetar/static/guitar-192.png new file mode 100644 index 0000000..76cd5ce Binary files /dev/null and b/freetar/static/guitar-192.png differ diff --git a/freetar/static/manifest.json b/freetar/static/manifest.json new file mode 100644 index 0000000..320fa5d --- /dev/null +++ b/freetar/static/manifest.json @@ -0,0 +1,20 @@ +{ + "name": "Freetar", + "short_name": "Freetar", + "start_url": "/", + "display": "standalone", + "background_color": "#ffffff", + "theme_color": "#ffffff", + "icons": [ + { + "src": "/static/guitar-192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/static/guitar.png", + "sizes": "512x512", + "type": "image/png" + } + ] +} diff --git a/freetar/static/sw.js b/freetar/static/sw.js new file mode 100644 index 0000000..648cf5e --- /dev/null +++ b/freetar/static/sw.js @@ -0,0 +1,8 @@ +// not doing anything, just there for the Progressive Web App +self.addEventListener('install', () => { + self.skipWaiting(); +}); + +self.addEventListener('activate', () => { + self.clients.claim(); +}); diff --git a/freetar/templates/base.html b/freetar/templates/base.html index 0096a1b..5c01749 100644 --- a/freetar/templates/base.html +++ b/freetar/templates/base.html @@ -21,6 +21,8 @@ + +