|
4 | 4 | <head> |
5 | 5 | <meta charset="UTF-8" /> |
6 | 6 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
| 7 | + |
| 8 | + <!-- Fallback SEO for crawlers that don't execute JS --> |
| 9 | + <title>Stock Yo Space - Smart Home Inventory Tracker</title> |
| 10 | + <meta name="description" |
| 11 | + content="Decentralized, private-first inventory management for your home. Track pantry, freezer, and household items with real-time sync powered by Nostr." /> |
| 12 | + <link rel="canonical" href="https://www.stockyospace.com/" /> |
| 13 | + |
| 14 | + <!-- Open Graph / Facebook (fallback) --> |
| 15 | + <meta property="og:type" content="website" /> |
| 16 | + <meta property="og:url" content="https://www.stockyospace.com/" /> |
| 17 | + <meta property="og:title" content="Stock Yo Space - Smart Home Inventory Tracker" /> |
| 18 | + <meta property="og:description" |
| 19 | + content="Decentralized, private-first inventory management for your home. Track pantry, freezer, and household items with real-time sync." /> |
| 20 | + <meta property="og:image" content="https://www.stockyospace.com/pwa-512x512.png" /> |
| 21 | + <meta property="og:image:width" content="1200" /> |
| 22 | + <meta property="og:image:height" content="630" /> |
| 23 | + |
| 24 | + <!-- Twitter Card (fallback) --> |
| 25 | + <meta name="twitter:card" content="summary_large_image" /> |
| 26 | + <meta name="twitter:url" content="https://www.stockyospace.com/" /> |
| 27 | + <meta name="twitter:title" content="Stock Yo Space - Smart Home Inventory Tracker" /> |
| 28 | + <meta name="twitter:description" |
| 29 | + content="Decentralized, private-first inventory management for your home. Track pantry, freezer, and household items with real-time sync." /> |
| 30 | + <meta name="twitter:image" content="https://www.stockyospace.com/pwa-512x512.png" /> |
| 31 | + |
| 32 | + <!-- Prerender hint for AJAX crawlers --> |
| 33 | + <meta name="fragment" content="!" /> |
| 34 | + |
| 35 | + <!-- CSP --> |
7 | 36 | <meta http-equiv="content-security-policy" |
8 | 37 | content="default-src 'none'; script-src 'self' 'unsafe-eval' 'wasm-unsafe-eval' https://static.cloudflareinsights.com; style-src 'self' 'unsafe-inline'; frame-src 'self' https:; font-src 'self'; base-uri 'self'; manifest-src 'self'; connect-src 'self' blob: https: wss:; img-src 'self' data: blob: https:; media-src 'self' https:"> |
| 38 | + |
| 39 | + <!-- Favicon & PWA --> |
| 40 | + <link rel="icon" href="/favicon.ico" /> |
9 | 41 | <link rel="manifest" href="/manifest.webmanifest"> |
| 42 | + |
| 43 | + <!-- Skip Link Styles --> |
| 44 | + <style> |
| 45 | + .skip-link { |
| 46 | + position: absolute; |
| 47 | + top: -40px; |
| 48 | + left: 0; |
| 49 | + background: #4f46e5; |
| 50 | + color: white; |
| 51 | + padding: 8px 16px; |
| 52 | + z-index: 100; |
| 53 | + text-decoration: none; |
| 54 | + font-family: system-ui, -apple-system, sans-serif; |
| 55 | + font-size: 14px; |
| 56 | + border-radius: 0 0 4px 0; |
| 57 | + transition: top 0.2s; |
| 58 | + } |
| 59 | + |
| 60 | + .skip-link:focus { |
| 61 | + top: 0; |
| 62 | + } |
| 63 | + </style> |
10 | 64 | </head> |
11 | 65 |
|
12 | 66 | <body> |
| 67 | + <!-- Skip to main content (accessibility) --> |
| 68 | + <a href="#main-content" class="skip-link">Skip to main content</a> |
| 69 | + |
13 | 70 | <div id="root"></div> |
| 71 | + <main id="main-content"></main> |
14 | 72 | <script type="module" src="/src/main.tsx"></script> |
15 | 73 | </body> |
16 | 74 |
|
|
0 commit comments