Merge branch '21-pwa-screenshots' into 'main'

Resolve "Richer PWA Install UI won't be available on desktop. Please add at least one screenshot with "form_factor" set to "wide""

Closes #21

See merge request htwk-software/htwkalender-pwa!14
This commit is contained in:
Elmar Kresse
2024-07-22 09:17:28 +00:00
4 changed files with 21 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

BIN
frontend/public/390x844.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

BIN
frontend/public/640x320.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View File

@ -38,6 +38,27 @@ export default defineConfig({
background_color: "#FFFFFF",
display: "standalone",
start_url: "/",
id: "de.htwk-leipzig.htwkalender",
screenshots: [
{
src: "/1280x720.png",
sizes: "1280x720",
form_factor: "wide",
type: "image/png",
},
{
src: "/390x844.png",
sizes: "390x844",
form_factor: "narrow",
type: "image/png",
},
{
src: "/640x320.png",
sizes: "640x320",
form_factor: "wide",
type: "image/png",
},
],
icons: [
{
src: "/pwa-192x192.png",