Add web app manifest and icons for PWA support
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m26s

- Created a new site.webmanifest file to define the web app's metadata.
- Added icons for the web app in both 192x192 and 512x512 sizes.
- Set theme color and background color to #1171e9.
- Configured the display mode to standalone.
This commit is contained in:
Cameron Redmore 2025-08-08 11:44:08 +01:00
parent 1b3ebc3b07
commit db371a6d21
No known key found for this signature in database
8 changed files with 29 additions and 0 deletions

View file

@ -6,6 +6,13 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cameron B. R. Redmore - Software Developer</title> <title>Cameron B. R. Redmore - Software Developer</title>
<link rel="icon" type="image/png" href="/favicon-96x96.png" sizes="96x96" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<meta name="apple-mobile-web-app-title" content="cmzi.uk" />
<link rel="manifest" href="/site.webmanifest" />
<link rel="stylesheet" href="/src/style.css"> <link rel="stylesheet" href="/src/style.css">
</head> </head>

BIN
public/apple-touch-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

BIN
public/favicon-96x96.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

1
public/favicon.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 590 KiB

21
public/site.webmanifest Normal file
View file

@ -0,0 +1,21 @@
{
"name": "cmzi.uk",
"short_name": "cmzi.uk",
"icons": [
{
"src": "/web-app-manifest-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "/web-app-manifest-512x512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
}
],
"theme_color": "#1171e9",
"background_color": "#1171e9",
"display": "standalone"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 274 KiB