mirror of https://github.com/fantasticit/think.git
client: add maskable icon, remove diagram.js
This commit is contained in:
parent
3d637eda7b
commit
cfd3bda86b
|
@ -64,6 +64,12 @@ const buildManifestJson = () => {
|
||||||
sizes: '512x512',
|
sizes: '512x512',
|
||||||
type: 'image/png',
|
type: 'image/png',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
src: '/maskable.png',
|
||||||
|
sizes: '192x192',
|
||||||
|
type: 'image/png',
|
||||||
|
purpose: 'maskable',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 7.1 KiB |
|
@ -34,6 +34,7 @@ function MyApp({ Component, pageProps }: AppProps) {
|
||||||
<meta property="og:description" content={process.env.SEO_DESCRIPTION} />
|
<meta property="og:description" content={process.env.SEO_DESCRIPTION} />
|
||||||
<meta property="og:site_name" content={process.env.SEO_APPNAME} />
|
<meta property="og:site_name" content={process.env.SEO_APPNAME} />
|
||||||
<link rel="manifest" href="/manifest.json" />
|
<link rel="manifest" href="/manifest.json" />
|
||||||
|
<link rel="apple-touch-icon" href="/icon192.png" />
|
||||||
{((process.env.DNS_PREFETCH || []) as string[]).map((url) => (
|
{((process.env.DNS_PREFETCH || []) as string[]).map((url) => (
|
||||||
<link key={url} rel="dns-prefetch" href={url} />
|
<link key={url} rel="dns-prefetch" href={url} />
|
||||||
))}
|
))}
|
||||||
|
|
Loading…
Reference in New Issue