From 1c305526432a2101ad00b3790f646db56c662500 Mon Sep 17 00:00:00 2001 From: Steve Ruiz Date: Fri, 3 Sep 2021 15:31:34 +0100 Subject: [PATCH] Adds manifest --- packages/www/pages/index.tsx | 3 +-- packages/www/public/manifest.json | 35 +++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 packages/www/public/manifest.json diff --git a/packages/www/pages/index.tsx b/packages/www/pages/index.tsx index 54c54ed70..a80ce3918 100644 --- a/packages/www/pages/index.tsx +++ b/packages/www/pages/index.tsx @@ -11,10 +11,9 @@ export default function Home(): JSX.Element { tldraw -
+
- ) } diff --git a/packages/www/public/manifest.json b/packages/www/public/manifest.json new file mode 100644 index 000000000..ef85723a1 --- /dev/null +++ b/packages/www/public/manifest.json @@ -0,0 +1,35 @@ +{ + "name": "tldraw", + "short_name": "tldraw", + "icons": [ + { + "src": "/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png", + "purpose": "any" + }, + { + "src": "/android-chrome-maskable-512x512.png", + "sizes": "512x512", + "type": "image/png", + "purpose": "any maskable" + }, + { + "src": "/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png", + "purpose": "any" + }, + { + "src": "/android-chrome-maskable-192x192.png", + "sizes": "192x192", + "type": "image/png", + "purpose": "any maskable" + } + ], + "theme_color": "#fafafa", + "background_color": "#fafafa", + "start_url": "/", + "display": "standalone", + "orientation": "portrait" +} \ No newline at end of file