diff --git a/app/vite.config.js b/app/vite.config.js index cca4adb..5bf0da0 100644 --- a/app/vite.config.js +++ b/app/vite.config.js @@ -7,7 +7,8 @@ export default defineConfig({ plugins: [ react(), VitePWA({ - registerType: 'autoUpdate', + registerType: "autoUpdate", + includeAssets: ["pwa-192x192.png", "pwa-512x512.png", "pwa-maskable-192x192.png", "pwa-maskable-512x512.png"], manifest: { "name": "Contests", "short_name": "Contests", diff --git a/index.html b/index.html index 51ba762..9a50c22 100644 --- a/index.html +++ b/index.html @@ -17,7 +17,9 @@ Contests - + + +
diff --git a/manifest.webmanifest b/manifest.webmanifest index e16f2bc..6cc6973 100644 --- a/manifest.webmanifest +++ b/manifest.webmanifest @@ -1 +1,37 @@ -{"name":"Contests","short_name":"Contests","start_url":"/","display":"standalone","background_color":"#FFFFFF","lang":"en","scope":"./","icons":[{"src":"/pwa-192x192.png","sizes":"192x192","type":"image/png","purpose":"any"},{"src":"/pwa-512x512.png","sizes":"512x512","type":"image/png","purpose":"any"},{"src":"/pwa-maskable-192x192.png","sizes":"192x192","type":"image/png","purpose":"maskable"},{"src":"/pwa-maskable-512x512.png","sizes":"512x512","type":"image/png","purpose":"maskable"}],"theme_color":"#FFFFFF","description":"Ongoing and Upcoming Contests on AtCoder, CodeChef, Codeforces, GeeksforGeeks and LeetCode"} +{ + "name": "Contests", + "short_name": "Contests", + "start_url": "/", + "display": "standalone", + "background_color": "#FFFFFF", + "lang": "en", + "scope": "./", + "icons": [ + { + "src": "/pwa-192x192.png", + "sizes": "192x192", + "type": "image/png", + "purpose": "any" + }, + { + "src": "/pwa-512x512.png", + "sizes": "512x512", + "type": "image/png", + "purpose": "any" + }, + { + "src": "/pwa-maskable-192x192.png", + "sizes": "192x192", + "type": "image/png", + "purpose": "maskable" + }, + { + "src": "/pwa-maskable-512x512.png", + "sizes": "512x512", + "type": "image/png", + "purpose": "maskable" + } + ], + "theme_color": "#FFFFFF", + "description": "Ongoing and Upcoming Contests on AtCoder, CodeChef, Codeforces, GeeksforGeeks and LeetCode" +} \ No newline at end of file