Skip to content

Commit 83df73a

Browse files
nextlevelshitMichael Czechowski
authored andcommitted
feat(pwa): manifest enhancements — name, screenshots, shortcuts (#140)
Co-authored-by: Michael Czechowski <mail@dailysh.it> Co-committed-by: Michael Czechowski <mail@dailysh.it>
1 parent 5df154f commit 83df73a

1 file changed

Lines changed: 74 additions & 1 deletion

File tree

public/site.webmanifest

Lines changed: 74 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,74 @@
1-
{"name":"","short_name":"","icons":[{"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","display":"standalone"}
1+
{
2+
"name": "Code Crispies — Interactive CSS, HTML, JS Lessons",
3+
"short_name": "Code Crispies",
4+
"description": "Hands-on web-development lessons. Write CSS, HTML, Tailwind, JavaScript, Markdown — see results instantly. Free, open-source, no signup required.",
5+
"id": "/",
6+
"scope": "/",
7+
"start_url": "/",
8+
"display": "standalone",
9+
"display_override": ["standalone", "browser"],
10+
"orientation": "any",
11+
"theme_color": "#4f46e5",
12+
"background_color": "#fafafa",
13+
"lang": "en",
14+
"categories": ["education", "developer", "productivity"],
15+
"icons": [
16+
{
17+
"src": "/android-chrome-192x192.png",
18+
"sizes": "192x192",
19+
"type": "image/png",
20+
"purpose": "any"
21+
},
22+
{
23+
"src": "/android-chrome-512x512.png",
24+
"sizes": "512x512",
25+
"type": "image/png",
26+
"purpose": "any"
27+
},
28+
{
29+
"src": "/android-chrome-512x512.png",
30+
"sizes": "512x512",
31+
"type": "image/png",
32+
"purpose": "maskable"
33+
}
34+
],
35+
"screenshots": [
36+
{
37+
"src": "/og-image.png",
38+
"sizes": "1200x630",
39+
"type": "image/png",
40+
"form_factor": "wide",
41+
"label": "Code Crispies — interactive CSS lesson with live preview"
42+
}
43+
],
44+
"shortcuts": [
45+
{
46+
"name": "CSS lessons",
47+
"short_name": "CSS",
48+
"description": "Open the CSS section",
49+
"url": "/css/",
50+
"icons": [{ "src": "/android-chrome-192x192.png", "sizes": "192x192" }]
51+
},
52+
{
53+
"name": "HTML lessons",
54+
"short_name": "HTML",
55+
"description": "Open the HTML section",
56+
"url": "/html/",
57+
"icons": [{ "src": "/android-chrome-192x192.png", "sizes": "192x192" }]
58+
},
59+
{
60+
"name": "Tailwind lessons",
61+
"short_name": "Tailwind",
62+
"description": "Open the Tailwind section",
63+
"url": "/tailwind/",
64+
"icons": [{ "src": "/android-chrome-192x192.png", "sizes": "192x192" }]
65+
},
66+
{
67+
"name": "Blog",
68+
"short_name": "Blog",
69+
"description": "Read the Code Crispies blog",
70+
"url": "/blog/",
71+
"icons": [{ "src": "/android-chrome-192x192.png", "sizes": "192x192" }]
72+
}
73+
]
74+
}

0 commit comments

Comments
 (0)