Optimize web config to be installed as PWA (#10405)

* Update values and add site manifest

* Use appropriate icon types

* Add purpose to all

* Adjust dark theme color

* Remove unused
This commit is contained in:
Nicolas Mowen
2024-03-12 19:58:29 -06:00
committed by GitHub
parent 09cf54c731
commit b8e472643d
5 changed files with 31 additions and 0 deletions

View File

@@ -25,9 +25,12 @@
<link rel="icon" type="image/svg+xml" href="/images/favicon.svg" />
<link rel="manifest" href="/site.webmanifest" />
<link rel="mask-icon" href="/images/favicon.svg" color="#3b82f7" />
<meta name="theme-color" content="#ffffff" media="(prefers-color-scheme: light)" />
<meta name="theme-color" content="#000000" media="(prefers-color-scheme: dark)" />
</head>
<body>
<div id="root"></div>
<noscript>You need to enable JavaScript to run this app.</noscript>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>