Add PWA support: manifest, service worker, icons
This commit is contained in:
Vendored
+15
-5
@@ -3,14 +3,19 @@
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta name="theme-color" content="#0f0f0f" />
|
||||
<link rel="manifest" href="/manifest.json" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
||||
<meta name="theme-color" content="#0F172A" />
|
||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
||||
<meta name="apple-mobile-web-app-title" content="Nadiri Timer" />
|
||||
<link rel="apple-touch-icon" href="/icon-192.svg" />
|
||||
<title>Nadiri Sports</title>
|
||||
<style>
|
||||
html, body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background: #0f0f0f;
|
||||
background: #0F172A;
|
||||
color: #e8e8e8;
|
||||
font-family: system-ui, -apple-system, sans-serif;
|
||||
overflow: hidden;
|
||||
@@ -20,10 +25,15 @@
|
||||
min-height: 100%;
|
||||
}
|
||||
</style>
|
||||
<script type="module" crossorigin src="/assets/index-DwSC3Fr9.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-D9hi2kGf.css">
|
||||
<script type="module" crossorigin src="/assets/index-Cax2IsI8.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-CxSjc_eW.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
<script>
|
||||
if ('serviceWorker' in navigator) {
|
||||
navigator.serviceWorker.register('/service-worker.js');
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user