Skip to content

Commit c1da352

Browse files
add: adding mobile manifest
1 parent 5e62c6a commit c1da352

5 files changed

Lines changed: 38 additions & 0 deletions

File tree

assets/icons/icon-192.png

16.4 KB
Loading

assets/icons/icon-512-maskable.png

54.9 KB
Loading

assets/icons/icon-512.png

75 KB
Loading

index.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,14 @@
3131
<meta name="twitter:image" content="https://graphical-playground.com/assets/preview-image.png">
3232
<meta name="twitter:image:alt" content="Graphical Playground — Build Graphics Engines from Scratch">
3333

34+
<!-- ── Web App Manifest ── -->
35+
<link rel="manifest" href="manifest.webmanifest">
36+
<meta name="theme-color" content="#3b82f6">
37+
<meta name="apple-mobile-web-app-capable" content="yes">
38+
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
39+
<meta name="apple-mobile-web-app-title" content="GP">
40+
<link rel="apple-touch-icon" href="assets/icons/icon-192.png">
41+
3442
<!-- ── Favicons & Assets ── -->
3543
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
3644
<link rel="stylesheet" href="style.css">

manifest.webmanifest

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"name": "Graphical Playground",
3+
"short_name": "GP",
4+
"description": "Build graphics-engine systems from scratch — creative coding & canvas experiments.",
5+
"start_url": "/",
6+
"scope": "/",
7+
"display": "standalone",
8+
"orientation": "any",
9+
"background_color": "#0a0a0f",
10+
"theme_color": "#3b82f6",
11+
"categories": ["education", "developer tools"],
12+
"icons": [
13+
{
14+
"src": "/assets/icons/icon-192.png",
15+
"sizes": "192x192",
16+
"type": "image/png"
17+
},
18+
{
19+
"src": "/assets/icons/icon-512.png",
20+
"sizes": "512x512",
21+
"type": "image/png"
22+
},
23+
{
24+
"src": "/assets/icons/icon-512-maskable.png",
25+
"sizes": "512x512",
26+
"type": "image/png",
27+
"purpose": "maskable"
28+
}
29+
]
30+
}

0 commit comments

Comments
 (0)