Skip to content

Commit

Permalink
Docs: remove the bloody maskable icons
Browse files Browse the repository at this point in the history
  • Loading branch information
icflorescu committed Nov 1, 2023
1 parent 1eb546c commit 72981d5
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 27 deletions.
28 changes: 1 addition & 27 deletions app/manifest.webmanifest/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ import { PRODUCT_DESCRIPTION, PRODUCT_NAME } from '~/app/config';
* (@see https://github.com/vercel/next.js/issues/56687)
*/

const urlPrefix = process.env.GITHUB_PAGES === 'TRUE' ? `/${process.env.PACKAGE_NAME}` : '';

const data: MetadataRoute.Manifest = {
name: PRODUCT_NAME,
short_name: PRODUCT_NAME,
Expand All @@ -20,35 +18,11 @@ const data: MetadataRoute.Manifest = {
theme_color: '#1971c2',
icons: [
{
src: `${urlPrefix}/icon.svg`,
src: `${process.env.GITHUB_PAGES === 'TRUE' ? `/${process.env.PACKAGE_NAME}` : ''}/icon.svg`,
type: 'image/svg+xml',
sizes: 'any',
purpose: 'any',
},
{
src: `${urlPrefix}/icon-192.png`,
type: 'image/png',
sizes: '192x192',
purpose: 'any',
},
{
src: `${urlPrefix}/icon-512.png`,
type: 'image/png',
sizes: '512x512',
purpose: 'any',
},
{
src: `${urlPrefix}/icon-maskable-192.png`,
type: 'image/png',
sizes: '192x192',
purpose: 'maskable',
},
{
src: `${urlPrefix}/icon-maskable-512.png`,
type: 'image/png',
sizes: '512x512',
purpose: 'maskable',
},
],
};

Expand Down
Binary file removed public/icon-192.png
Binary file not shown.
Binary file removed public/icon-512.png
Binary file not shown.
Binary file removed public/icon-maskable-192.png
Binary file not shown.
Binary file removed public/icon-maskable-512.png
Binary file not shown.

0 comments on commit 72981d5

Please sign in to comment.