feat: add iOS-focused PWA shell with service worker and manifest
This commit is contained in:
parent
56b8825ca5
commit
fea5fe9cbb
9 changed files with 176 additions and 3 deletions
|
|
@ -2,8 +2,15 @@
|
|||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
|
||||
<meta name="theme-color" content="#006680" />
|
||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
|
||||
<meta name="apple-mobile-web-app-title" content="StaySense" />
|
||||
<title>StaySense Quellen & Attribution</title>
|
||||
<link rel="manifest" href="manifest.webmanifest" />
|
||||
<link rel="icon" type="image/svg+xml" href="icons/icon.svg" />
|
||||
<link rel="apple-touch-icon" href="icons/icon.svg" />
|
||||
<link rel="stylesheet" href="styles.css" />
|
||||
</head>
|
||||
<body>
|
||||
|
|
@ -72,6 +79,7 @@
|
|||
</section>
|
||||
</main>
|
||||
|
||||
<script src="pwa.js"></script>
|
||||
<script>
|
||||
const DEFAULT_API_BASE =
|
||||
window.location.hostname === "localhost" || window.location.hostname === "127.0.0.1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue