feat: Add PWA support and consolidate CSS design system
- Add PWA manifest, icons (192x192, 512x512), and service worker - Register service worker in index.html with Apple mobile web app support - Consolidate CSS variables and design tokens documentation - Update PrimeVue overrides for consistent theming - Refactor data-entry components to use shared CSS patterns - Add frontend-style-auditor agent for style consistency checks - Minor OCR validation and job worker improvements - Update start-prod.sh configuration 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
17
index.html
17
index.html
@@ -7,6 +7,23 @@
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
<!-- BUILD_TIMESTAMP placeholder for cache busting -->
|
||||
<meta name="build-time" content="BUILD_TIMESTAMP" />
|
||||
<!-- PWA Support -->
|
||||
<link rel="manifest" href="/roa2web/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="ROA2WEB" />
|
||||
<link rel="apple-touch-icon" href="/roa2web/icon-192.png" />
|
||||
<!-- Service Worker Registration for PWA -->
|
||||
<script>
|
||||
if ('serviceWorker' in navigator) {
|
||||
window.addEventListener('load', () => {
|
||||
navigator.serviceWorker.register('/roa2web/sw.js')
|
||||
.then(reg => console.log('[PWA] Service Worker registered:', reg.scope))
|
||||
.catch(err => console.error('[PWA] Service Worker registration failed:', err));
|
||||
});
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
||||
Reference in New Issue
Block a user