From 40042c37f211113922cb89bf42e5ee3b68bfbcef Mon Sep 17 00:00:00 2001 From: Ludy Date: Thu, 4 Jul 2024 23:05:45 +0200 Subject: [PATCH] [Bugfix] the Manifest Syntax error (#1524) Fixes the Manifest Syntax error --- src/main/resources/static/css/error.css | 5 ---- src/main/resources/static/manifest.json | 4 ++-- src/main/resources/static/site.webmanifest | 24 +++++++++---------- .../resources/templates/fragments/common.html | 2 +- 4 files changed, 15 insertions(+), 20 deletions(-) diff --git a/src/main/resources/static/css/error.css b/src/main/resources/static/css/error.css index 40ff7669..32964085 100644 --- a/src/main/resources/static/css/error.css +++ b/src/main/resources/static/css/error.css @@ -1,8 +1,3 @@ -p { - text-align: center; - margin-top: 2em; -} - .features-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(21rem, 3fr)); diff --git a/src/main/resources/static/manifest.json b/src/main/resources/static/manifest.json index 88c7906a..8ca262b4 100644 --- a/src/main/resources/static/manifest.json +++ b/src/main/resources/static/manifest.json @@ -3,12 +3,12 @@ "short_name": "Stirling-PDF", "icons": [ { - "src": "/android-icon-192x192.png", + "src": "/android-chrome-192x192.png", "sizes": "192x192", "type": "image/png" }, { - "src": "/android-icon-512x512.png", + "src": "/android-chrome-512x512.png", "sizes": "512x512", "type": "image/png" } diff --git a/src/main/resources/static/site.webmanifest b/src/main/resources/static/site.webmanifest index 42f8bb0c..24f2e37c 100644 --- a/src/main/resources/static/site.webmanifest +++ b/src/main/resources/static/site.webmanifest @@ -1,17 +1,17 @@ { - "name": "Stirling PDF", - "short_name": "Stirling PDF", + "name": "Stirling-PDF", + "short_name": "Stirling-PDF", "icons": [ - { - "src": "/android-chrome-192x192.png", - "sizes": "192x192", - "type": "image/png" - }, - { - "src": "/android-chrome-512x512.png", - "sizes": "512x512", - "type": "image/png" - } + { + "src": "/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png" + } ], "theme_color": "#ffffff", "background_color": "#ffffff", diff --git a/src/main/resources/templates/fragments/common.html b/src/main/resources/templates/fragments/common.html index 2e9316eb..291b75e8 100644 --- a/src/main/resources/templates/fragments/common.html +++ b/src/main/resources/templates/fragments/common.html @@ -13,7 +13,7 @@ - +