client: add maskable icon, remove diagram.js

This commit is contained in:
fantasticit 2022-05-22 10:55:26 +08:00
parent 3d637eda7b
commit cfd3bda86b
4 changed files with 7 additions and 0 deletions

View File

@ -64,6 +64,12 @@ const buildManifestJson = () => {
sizes: '512x512',
type: 'image/png',
},
{
src: '/maskable.png',
sizes: '192x192',
type: 'image/png',
purpose: 'maskable',
},
],
});
};

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

View File

@ -34,6 +34,7 @@ function MyApp({ Component, pageProps }: AppProps) {
<meta property="og:description" content={process.env.SEO_DESCRIPTION} />
<meta property="og:site_name" content={process.env.SEO_APPNAME} />
<link rel="manifest" href="/manifest.json" />
<link rel="apple-touch-icon" href="/icon192.png" />
{((process.env.DNS_PREFETCH || []) as string[]).map((url) => (
<link key={url} rel="dns-prefetch" href={url} />
))}