* feat: add PWA support with offline capabilities - Add web app manifest with icons and theme configuration - Add service worker with cache-first strategy for static assets - Add useServiceWorker hook for SW registration - Add PWA meta tags and Apple-specific tags to index.html - Update vite.config.ts for optimal asset caching * Update package-lock.json
51 lines
1.4 KiB
HTML
51 lines
1.4 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<link rel="icon" type="image/svg+xml" href="/favicon.ico" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<!-- PWA Meta Tags -->
|
|
<meta name="theme-color" content="#09090b" />
|
|
<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="Termix" />
|
|
<link rel="apple-touch-icon" href="/icons/512x512.png" />
|
|
<link rel="manifest" href="/manifest.json" />
|
|
<title>Termix</title>
|
|
<style>
|
|
.hide-scrollbar {
|
|
scrollbar-width: none;
|
|
-ms-overflow-style: none;
|
|
}
|
|
|
|
.hide-scrollbar::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.skinny-scrollbar {
|
|
scrollbar-width: thin;
|
|
scrollbar-color: #4a4a4a #1e1e21;
|
|
}
|
|
|
|
.skinny-scrollbar::-webkit-scrollbar {
|
|
width: 6px;
|
|
height: 6px;
|
|
}
|
|
|
|
.skinny-scrollbar::-webkit-scrollbar-track {
|
|
background: #1e1e21;
|
|
}
|
|
|
|
.skinny-scrollbar::-webkit-scrollbar-thumb {
|
|
background-color: #4a4a4a;
|
|
border-radius: 3px;
|
|
border: 1px solid #1e1e21;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script type="module" src="/src/main.tsx"></script>
|
|
</body>
|
|
</html>
|