PWA compliance attempt

Hunter
Sunday, November 17th, 2024 at 11:50 AM

index.html+2 
manifest.jsonnew
resources/icons/icon.svgnew

index.html
 3  <head>
 4  	<meta charset="UTF-8">
 5  	<meta name="viewport" content="width=device-width, initial-scale=1.0">
 6 +	<link rel="manifest" href="manifest.json">
 7 +	<meta name="theme-color" content="var(--background)">
 8  
 9  	<!-- favicon -->
10  	<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🪆</text></svg>">
manifest.json
 1 +{
 2 +	"name": "matryoshka",
 3 +	"short_name": "matryoshka",
 4 +	"icons": [
 5 +		{
 6 +			"src": "resources/icons/icon.svg",
 7 +			"sizes": "any",
 8 +			"type": "image/svg+xml"
 9 +		}
10 +	],
11 +	"start_url": "/matryoshka/",
12 +	"display": "standalone",
13 +	"background_color": "#ffffff",
14 +	"theme_color": "#ffffff"
15 +}
resources/icons/icon.svg
1 +<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
2 +	<text y="0.9em" font-size="90">🪆</text>
3 +</svg>