| <!doctype html> |
| <html lang="en"> |
| <head> |
| <meta charset="UTF-8" /> |
| <link rel="icon" type="image/svg+xml" href="/favicon.svg" /> |
| <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0" /> |
| <meta name="theme-color" content="#10b981" /> |
| <meta name="description" content="Meri Mandi - Digital Marketplace for Farmers" /> |
| <title>Meri Mandi</title> |
| <link rel="preconnect" href="https://fonts.googleapis.com" /> |
| <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> |
| <style> |
| #initial-loader { |
| position: fixed; |
| top: 0; |
| left: 0; |
| width: 100%; |
| height: 100%; |
| display: flex; |
| flex-direction: column; |
| justify-content: center; |
| align-items: center; |
| background: #0f172a; |
| z-index: 9999; |
| transition: opacity 0.5s ease-out; |
| } |
| .spinner { |
| width: 40px; |
| height: 40px; |
| border: 4px solid rgba(16, 185, 129, 0.1); |
| border-top: 4px solid #10b981; |
| border-radius: 50%; |
| animation: spin 1s linear infinite; |
| } |
| @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } |
| .loading-text { color: #10b981; margin-top: 15px; font-family: sans-serif; font-size: 14px; font-weight: 500; } |
| </style> |
| </head> |
| <body> |
| <div id="initial-loader"> |
| <div class="spinner"></div> |
| <div class="loading-text">🌾 Meri Mandi...</div> |
| </div> |
| <div id="root"></div> |
| <script type="module" src="/src/main.jsx"></script> |
| <script> |
| window.addEventListener('load', () => { |
| const loader = document.getElementById('initial-loader'); |
| if (loader) { |
| loader.style.opacity = '0'; |
| setTimeout(() => loader.remove(), 500); |
| } |
| }); |
| </script> |
| </body> |
| </html> |
|
|