feat: add PWA and offline mode support with local caching and action safeguards
This commit is contained in:
parent
039b5ac483
commit
128a5f7553
15 changed files with 589 additions and 0 deletions
|
|
@ -4,6 +4,7 @@
|
|||
<span class="footer-text">BeKultur</span>
|
||||
</div>
|
||||
</footer>
|
||||
<script src="/js/pwa.js"></script>
|
||||
<script src="/js/app.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -4,9 +4,23 @@
|
|||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title><%= typeof title !== 'undefined' ? title : 'BeKultur' %></title>
|
||||
|
||||
<!-- PWA & Mobile Web App Meta Tags -->
|
||||
<link rel="manifest" href="/manifest.json">
|
||||
<meta name="theme-color" content="#2563eb">
|
||||
<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="BeKultur">
|
||||
<link rel="apple-touch-icon" href="/icons/icon-192.png">
|
||||
<link rel="icon" type="image/svg+xml" href="/icons/icon.svg">
|
||||
<link rel="icon" type="image/png" sizes="192x192" href="/icons/icon-192.png">
|
||||
|
||||
<link rel="stylesheet" href="/css/style.css">
|
||||
</head>
|
||||
<body>
|
||||
<!-- Offline Indicator Banner -->
|
||||
<div id="offlineBanner" class="offline-banner hidden"></div>
|
||||
|
||||
<header class="app-header">
|
||||
<div class="header-container">
|
||||
<div class="brand-group">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue