diff --git a/src/app.html b/src/app.html index 9d66f04..f75d156 100644 --- a/src/app.html +++ b/src/app.html @@ -3,14 +3,51 @@ - - - + + + + Estimation Poker %sveltekit.head% - +
%sveltekit.body%
+ + diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 872b19a..56a0093 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -2,7 +2,7 @@

Estimation Poker

@@ -118,7 +118,7 @@ color: #81796c; } - /* .button { + .button { appearance: none; border: 1px solid rgba(27, 31, 35, 0.15); border-radius: 6px; @@ -158,7 +158,7 @@ outline: none; } - .button-green { + /* .button-green { background-color: #2ea44f; } @@ -178,7 +178,7 @@ .button-green:active { background-color: #298e46; box-shadow: rgba(20, 70, 32, 0.2) 0 1px 0 inset; - } + } */ .button-black { background-color: #423e37; @@ -188,7 +188,7 @@ background-color: #2e2b26; } - .button-blue { + /* .button-blue { background-color: #388697; } diff --git a/static/service-worker.js b/static/service-worker.js new file mode 100644 index 0000000..71baa8f --- /dev/null +++ b/static/service-worker.js @@ -0,0 +1,8 @@ +self.addEventListener('install', (event) => { + console.log('[Service Worker] Installing Service Worker ...', event); +}); + +self.addEventListener('activate', (event) => { + console.log('[Service Worker] Activating Service Worker ...', event); + return self.clients.claim(); +}); diff --git a/static/site.webmanifest b/static/site.webmanifest index 9ecc661..5e46fea 100644 --- a/static/site.webmanifest +++ b/static/site.webmanifest @@ -1 +1,13 @@ -{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#8D6A9F","background_color":"#ffffff","display":"standalone"} \ No newline at end of file +{ + "name": "Estimation Poker", + "short_name": "Estimation Poker", + "description": "A cool estimation poker app", + "icons": [ + { "src": "/android-chrome-192x192.png", "sizes": "192x192", "type": "image/png" }, + { "src": "/android-chrome-512x512.png", "sizes": "512x512", "type": "image/png" } + ], + "start_url": "/", + "theme_color": "#8D6A9F", + "background_color": "#ffffff", + "display": "standalone" +}