diff --git a/packages/pl-fe/src/instance/images/logo.png b/packages/pl-fe/src/instance/images/logo.png new file mode 100644 index 000000000..fad9d09c7 Binary files /dev/null and b/packages/pl-fe/src/instance/images/logo.png differ diff --git a/packages/pl-fe/vite.config.ts b/packages/pl-fe/vite.config.ts index cc8754a18..7b3347526 100644 --- a/packages/pl-fe/vite.config.ts +++ b/packages/pl-fe/vite.config.ts @@ -62,6 +62,14 @@ const config = defineConfig(({ command }) => ({ name: 'pl-fe', short_name: 'pl-fe', description: 'Web-based federated social media client, a fork of Soapbox', + icons: [ + { + src: '/instance/images/logo.png', + sizes: '512x512', + type: 'image/png', + purpose: 'any', + }, + ], display: 'standalone', display_override: [ 'window-controls-overlay', @@ -85,6 +93,7 @@ const config = defineConfig(({ command }) => ({ { src: '/instance/images/shortcuts/search.png', sizes: '192x192', + type: 'image/png', }, ], }, @@ -95,6 +104,7 @@ const config = defineConfig(({ command }) => ({ { src: '/instance/images/shortcuts/notifications.png', sizes: '192x192', + type: 'image/png', }, ], }, @@ -105,6 +115,7 @@ const config = defineConfig(({ command }) => ({ { src: '/instance/images/shortcuts/chats.png', sizes: '192x192', + type: 'image/png', }, ], },