Spaces:
Sleeping
Sleeping
Update templates/index.html
Browse files12345678910111213141516171819202122232425262728293031323334353637383940414243444546<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>KrishiMitra | Home</title><link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}"></head><body><div class="navbar"><div>🌿 KrishiMitra</div><div class="nav-links"><a href="/advisor">Crop Advisor</a><a href="/doctor">Plant Doctor</a><a href="/schemes">Govt Schemes</a></div></div><div class="hero"><h1>Empowering Farmers with AI</h1><p>Choose a tool below to get started with smart farming.</p><div class="cards"><a href="/doctor" class="card"><div class="icon">🩺</div><h2>AI Plant Doctor</h2><p>Upload a photo of a sick leaf and let our AI diagnose the disease instantly.</p><span class="btn">Scan Leaf</span></a><a href="/advisor" class="card"><div class="icon">🌾</div><h2>Crop Advisor</h2><p>Read standard guidelines and tips for protecting your harvest.</p><span class="btn">View Tips</span></a><a href="/schemes" class="card"><div class="icon">📜</div><h2>Govt Schemes</h2><p>Check your eligibility for PM-KISAN, Fasal Bima, and state-level subsidies for 2026.</p><span class="btn">Check Schemes</span></a></div></div></body></html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>KrishiMitra | Home</title><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css"><link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}"></head><body><nav class="navbar"><div class="nav-container"><div class="logo"><a href="/"><span>🌿 KrishiMitra</span></a></div><div class="hamburger" id="hamburger"><i class="fas fa-bars"></i></div><ul class="nav-links" id="nav-menu"><li><a href="/">HOME</a></li><li><a href="/advisor">ADVISOR</a></li><li><a href="/doctor">DOCTOR</a></li><li><a href="/schemes">SCHEMES</a></li></ul></div></nav><header class="hero"><div class="hero-content"><h1>Empowering Farmers with AI</h1><p>Smart farming solutions for a sustainable future. Predict diseases, get expert advice, and find government support in one place.</p><a href="#tools" class="main-btn">Explore Tools</a></div></header><section id="tools" class="container"><h2 class="section-title">Our AI Powered Tools</h2><div class="cards"><a href="/doctor" class="card"><div class="icon">🩺</div><h2>AI Plant Doctor</h2><p>Upload a photo of a sick leaf and let our AI diagnose the disease instantly.</p><span class="btn">Scan Leaf</span></a><a href="/advisor" class="card"><div class="icon">🌾</div><h2>Crop Advisor</h2><p>Read standard guidelines and tips for protecting your harvest.</p><span class="btn">View Tips</span></a><a href="/schemes" class="card"><div class="icon">📜</div><h2>Govt Schemes</h2><p>Check your eligibility for PM-KISAN and state-level subsidies for 2026.</p><span class="btn">Check Schemes</span></a></div></section><section class="about-section"><div class="container"><div class="about-grid"><div class="about-text"><h2>Why Choose KrishiMitra?</h2><p>Agriculture is the backbone of our economy. KrishiMitra uses <strong>Google Gemini AI</strong> to bridge the gap between traditional farming and modern technology.</p><ul class="benefit-list"><li><i class="fas fa-check-circle"></i> Instant Disease Detection</li><li><i class="fas fa-check-circle"></i> Localized Crop Advice</li><li><i class="fas fa-check-circle"></i> Simplified Policy Access</li></ul></div><div class="about-image"><div class="image-placeholder">🚜</div></div></div></div></section><footer><div class="footer-container"><div class="footer-section"><h3>🌿 KrishiMitra</h3><p>Leading the digital revolution in Indian Agriculture.</p></div><div class="footer-section"><h3>Quick Links</h3><ul><li><a href="/advisor">Crop Advisor</a></li><li><a href="/doctor">AI Plant Doctor</a></li><li><a href="/schemes">Government Schemes</a></li></ul></div><div class="footer-section"><h3>Team Project</h3><p>National Project Competition 2026.<br>Saswad, Maharashtra.</p></div></div><div class="footer-bottom">© 2026 KrishiMitra Team</div></footer></body><script>const hamburger = document.getElementById('hamburger');const navMenu = document.getElementById('nav-menu');hamburger.addEventListener('click', () => {navMenu.classList.toggle('show');const icon = hamburger.querySelector('i');icon.classList.toggle('fa-bars');icon.classList.toggle('fa-times');});const currentPath = window.location.pathname;const navLinks = document.querySelectorAll('.nav-links a');navLinks.forEach(link => {link.classList.remove('active');const linkHref = link.getAttribute('href');if (linkHref === currentPath || (currentPath === '/' && linkHref === '/')) {link.classList.add('active');}});</script></html>
templates/index.html+133-45