|
1 | | -<!DOCTYPE html> |
2 | | -<html lang="en"> |
3 | | - <head> |
4 | | - <meta charset="UTF-8" /> |
5 | | - <link rel="icon" type="image/svg+xml" href="/vite.svg" /> |
6 | | - <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
7 | | - <title>Stellar Goal Vault</title> |
8 | | - <script> |
9 | | - (function() { |
10 | | - const THEME_KEY = 'stellar-goal-vault-theme'; |
11 | | - const storedTheme = localStorage.getItem(THEME_KEY); |
12 | | - const systemTheme = window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light'; |
13 | | - const theme = storedTheme || systemTheme; |
14 | | - document.documentElement.setAttribute('data-theme', theme); |
15 | | - })(); |
16 | | - </script> |
17 | | - </head> |
18 | | - <body> |
19 | | - <div id="root"></div> |
20 | | - <script type="module" src="/src/main.tsx"></script> |
21 | | - </body> |
22 | | -</html> |
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
| 3 | + <head> |
| 4 | + <meta charset="UTF-8" /> |
| 5 | + <!-- PWA: theme color for browser chrome on Android/iOS --> |
| 6 | + <meta name="theme-color" content="#1a1a2e" /> |
| 7 | + <!-- PWA: viewport and mobile web app settings --> |
| 8 | + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
| 9 | + <meta name="mobile-web-app-capable" content="yes" /> |
| 10 | + <!-- iOS PWA settings --> |
| 11 | + <meta name="apple-mobile-web-app-capable" content="yes" /> |
| 12 | + <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" /> |
| 13 | + <meta name="apple-mobile-web-app-title" content="Goal Vault" /> |
| 14 | + <!-- PWA icons --> |
| 15 | + <link rel="apple-touch-icon" href="/apple-touch-icon.svg" /> |
| 16 | + <link rel="icon" type="image/svg+xml" href="/icon-192.svg" /> |
| 17 | + <!-- SEO / share --> |
| 18 | + <meta name="description" content="Campaign management and funding dashboard for the Stellar ecosystem" /> |
| 19 | + <title>Stellar Goal Vault</title> |
| 20 | + <!-- Inline theme detection to avoid FOUC — runs before React hydrates --> |
| 21 | + <script> |
| 22 | + (function() { |
| 23 | + const THEME_KEY = 'stellar-goal-vault-theme'; |
| 24 | + const storedTheme = localStorage.getItem(THEME_KEY); |
| 25 | + const systemTheme = window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light'; |
| 26 | + const theme = storedTheme || systemTheme; |
| 27 | + document.documentElement.setAttribute('data-theme', theme); |
| 28 | + })(); |
| 29 | + </script> |
| 30 | + </head> |
| 31 | + <body> |
| 32 | + <div id="root"></div> |
| 33 | + <script type="module" src="/src/main.tsx"></script> |
| 34 | + </body> |
| 35 | +</html> |
0 commit comments