mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-12 08:27:27 +02:00
Add comprehensive PWA configuration to make Grimoire installable as a standalone app: - Install and configure vite-plugin-pwa for automated PWA setup - Create grimoire-themed app icon (purple book with magical rune) - Configure web app manifest with app metadata, theme colors, and shortcuts - Add service worker with Workbox for offline capabilities and font caching - Add PWA meta tags to index.html for iOS and Android compatibility - Enable auto-update for service worker registration The app is now installable on mobile devices and desktop browsers.
34 lines
1.1 KiB
HTML
34 lines
1.1 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<link rel="icon" type="image/svg+xml" href="/icon.svg" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
|
|
<!-- PWA Meta Tags -->
|
|
<meta name="theme-color" content="#1a1a1a" />
|
|
<meta
|
|
name="description"
|
|
content="A Nostr protocol explorer and developer tool with a tiling window manager interface"
|
|
/>
|
|
<link rel="apple-touch-icon" href="/icon.svg" />
|
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
|
|
<meta name="apple-mobile-web-app-title" content="Grimoire" />
|
|
|
|
<!-- Font Preconnects -->
|
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
<link
|
|
href="https://fonts.googleapis.com/css2?family=Oxygen+Mono&display=swap"
|
|
rel="stylesheet"
|
|
/>
|
|
|
|
<title>grimoire - a nostr client for magicians</title>
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script type="module" src="/src/main.tsx"></script>
|
|
</body>
|
|
</html>
|