Skip to content

Commit d698629

Browse files
committed
Added PWA required assets to demo
1 parent f730a93 commit d698629

File tree

4 files changed

+19
-0
lines changed

4 files changed

+19
-0
lines changed

packages/react-renderer-demo/src/app/pages/_document.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ class MyDocument extends Document {
99
<html lang="en">
1010
<Head>
1111
<meta charSet="utf-8" />
12+
<link rel="manifest" href="/manifest.json" />
13+
<link rel="apple-touch-icon" href="/192x192.png"></link>
1214
<meta name="viewport" content="minimum-scale=1, initial-scale=1, width=device-width, shrink-to-fit=no" />
1315
{/* PWA primary color */}
1416
<meta name="theme-color" content={theme.palette.primary.main} />
18.5 KB
Loading
43 KB
Loading
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"name": "Data driven forms",
3+
"short_name": "DDF",
4+
"display": "minimal-ui",
5+
"start_url": "/",
6+
"theme_color": "#a525c1",
7+
"background_color": "#fafafa",
8+
"icons": [
9+
{
10+
"src": "/icons/192x192.png",
11+
"sizes": "192x192"
12+
}, {
13+
"src": "/icons/512x512.png",
14+
"sizes": "512x512"
15+
}
16+
]
17+
}

0 commit comments

Comments
 (0)