diff --git a/public/manifest.json b/public/manifest.json deleted file mode 100644 index 275af14..0000000 --- a/public/manifest.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "BSC Score", - "short_name": "BSC Score", - "description": "Pool Scoring App für den Billard Sport Club", - "lang": "de", - "start_url": ".", - "display": "fullscreen", - "background_color": "#1a1a1a", - "theme_color": "#000000", - "icons": [ - { - "src": "icon-192.png", - "sizes": "192x192", - "type": "image/png" - }, - { - "src": "icon-512.png", - "sizes": "512x512", - "type": "image/png" - } - ] -} \ No newline at end of file diff --git a/public/service-worker.js b/public/service-worker.js deleted file mode 100644 index 844183c..0000000 --- a/public/service-worker.js +++ /dev/null @@ -1,31 +0,0 @@ -const CACHE_NAME = 'bscscore-v1'; -const URLS_TO_CACHE = [ - '/', - '/index.html', - '/manifest.json', - '/favicon.ico', - '/icon-192.png', - '/icon-512.png' -]; - -self.addEventListener('install', event => { - event.waitUntil( - caches.open(CACHE_NAME).then(cache => cache.addAll(URLS_TO_CACHE)) - ); -}); - -self.addEventListener('activate', event => { - event.waitUntil( - caches.keys().then(keys => - Promise.all(keys.filter(key => key !== CACHE_NAME).map(key => caches.delete(key))) - ) - ); -}); - -self.addEventListener('fetch', event => { - event.respondWith( - caches.match(event.request).then(response => - response || fetch(event.request).catch(() => caches.match('/index.html')) - ) - ); -}); \ No newline at end of file diff --git a/src/pages/index.astro b/src/pages/index.astro index 00ccd4c..e55be1d 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,7 +1,3 @@ ---- - ---- -
@@ -15,7 +11,6 @@ -