undefined / index.html
Syled's picture
now create the farmer portal and it's sections
219403d verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AgriGrow Nation - Modern Agriculture Solutions</title>
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: {
50: '#f0fdf4',
100: '#dcfce7',
200: '#bbf7d0',
300: '#86efac',
400: '#4ade80',
500: '#22c55e',
600: '#16a34a',
700: '#15803d',
800: '#166534',
900: '#14532d',
},
secondary: {
50: '#fefce8',
100: '#fef9c3',
200: '#fef08a',
300: '#fde047',
400: '#facc15',
500: '#eab308',
600: '#ca8a04',
700: '#a16207',
800: '#854d0e',
900: '#713f12',
}
}
}
}
}
</script>
<script src="https://unpkg.com/feather-icons"></script>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap">
<style>
.hero-gradient {
background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(250, 204, 21, 0.05) 100%);
}
.feature-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
</style>
</head>
<body class="font-['Poppins'] bg-white text-gray-800">
<!-- Navigation -->
<nav class="bg-white shadow-sm sticky top-0 z-50">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between h-16">
<div class="flex items-center">
<div class="flex-shrink-0 flex items-center">
<img class="h-8 w-auto" src="http://static.photos/agriculture/200x200/5" alt="AgriGrow Logo">
<span class="ml-2 text-xl font-bold text-primary-600">AgriGrow Nation</span>
</div>
</div>
<div class="hidden md:ml-6 md:flex md:items-center md:space-x-8">
<a href="#" class="text-primary-600 border-b-2 border-primary-500 px-3 py-2 text-sm font-medium">Home</a>
<a href="programs.html" class="text-gray-500 hover:text-gray-700 px-3 py-2 text-sm font-medium">Programs</a>
<a href="#" class="text-gray-500 hover:text-gray-700 px-3 py-2 text-sm font-medium">Resources</a>
<a href="about.html" class="text-gray-500 hover:text-gray-700 px-3 py-2 text-sm font-medium">About</a>
<a href="#" class="text-gray-500 hover:text-gray-700 px-3 py-2 text-sm font-medium">Contact</a>
</div>
<div class="flex items-center">
<a href="farmer-portal.html" class="bg-primary-500 hover:bg-primary-600 text-white px-4 py-2 rounded-md text-sm font-medium">Farmer Portal</a>
<button class="md:hidden ml-4">
<i data-feather="menu"></i>
</button>
</div>
</div>
</div>
</nav>
<!-- Hero Section -->
<section class="hero-gradient">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-20 md:py-28">
<div class="md:flex md:items-center md:justify-between">
<div class="md:w-1/2 mb-10 md:mb-0">
<h1 class="text-4xl md:text-5xl font-bold leading-tight text-gray-900 mb-4">
Growing <span class="text-primary-600">Sustainable</span> Agriculture
</h1>
<p class="text-lg text-gray-600 mb-8 max-w-lg">
Empowering farmers with innovative solutions, financial support, and cutting-edge technology to cultivate a greener future for our nation.
</p>
<div class="flex flex-col sm:flex-row space-y-3 sm:space-y-0 sm:space-x-4">
<a href="#" class="bg-primary-500 hover:bg-primary-600 text-white px-6 py-3 rounded-md text-center font-medium">
Explore Programs
</a>
<a href="#" class="border border-primary-500 text-primary-500 hover:bg-primary-50 px-6 py-3 rounded-md text-center font-medium">
Meet Our Experts
</a>
</div>
</div>
<div class="md:w-1/2 flex justify-center">
<img src="http://static.photos/agriculture/640x360/10" alt="Farmers working" class="rounded-lg shadow-xl w-full max-w-md">
</div>
</div>
</div>
</section>
<!-- Stats Section -->
<section class="bg-primary-700 text-white py-12">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8 text-center">
<div class="p-4">
<div class="text-4xl font-bold mb-2">5,000+</div>
<div class="text-primary-100">Farmers Supported</div>
</div>
<div class="p-4">
<div class="text-4xl font-bold mb-2">200K+</div>
<div class="text-primary-100">Acres Cultivated</div>
</div>
<div class="p-4">
<div class="text-4xl font-bold mb-2">$50M+</div>
<div class="text-primary-100">Invested in Farms</div>
</div>
<div class="p-4">
<div class="text-4xl font-bold mb-2">100+</div>
<div class="text-primary-100">Agricultural Experts</div>
</div>
</div>
</div>
</section>
<!-- Features Section -->
<section class="py-20">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-16">
<h2 class="text-3xl font-bold text-gray-900 mb-4">Our Agricultural Programs</h2>
<p class="text-lg text-gray-600 max-w-2xl mx-auto">
Comprehensive initiatives designed to support farmers at every stage of their agricultural journey.
</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
<div class="feature-card bg-white rounded-lg shadow-md overflow-hidden transition-all duration-300 ease-in-out">
<img src="http://static.photos/agriculture/640x360/1" alt="Sustainable Farming" class="w-full h-48 object-cover">
<div class="p-6">
<div class="flex items-center mb-3">
<div class="bg-primary-100 text-primary-800 p-2 rounded-full mr-3">
<i data-feather="droplet" class="w-5 h-5"></i>
</div>
<h3 class="text-xl font-semibold text-gray-900">Water Conservation</h3>
</div>
<p class="text-gray-600 mb-4">
Innovative irrigation techniques and water management systems to optimize usage and preserve resources.
</p>
<a href="#" class="text-primary-500 hover:text-primary-600 font-medium inline-flex items-center">
Learn more <i data-feather="arrow-right" class="ml-1 w-4 h-4"></i>
</a>
</div>
</div>
<div class="feature-card bg-white rounded-lg shadow-md overflow-hidden transition-all duration-300 ease-in-out">
<img src="http://static.photos/agriculture/640x360/2" alt="Organic Farming" class="w-full h-48 object-cover">
<div class="p-6">
<div class="flex items-center mb-3">
<div class="bg-secondary-100 text-secondary-800 p-2 rounded-full mr-3">
<i data-feather="leaf" class="w-5 h-5"></i>
</div>
<h3 class="text-xl font-semibold text-gray-900">Organic Transition</h3>
</div>
<p class="text-gray-600 mb-4">
Assistance programs to help farmers transition to organic practices with financial and technical support.
</p>
<a href="#" class="text-primary-500 hover:text-primary-600 font-medium inline-flex items-center">
Learn more <i data-feather="arrow-right" class="ml-1 w-4 h-4"></i>
</a>
</div>
</div>
<div class="feature-card bg-white rounded-lg shadow-md overflow-hidden transition-all duration-300 ease-in-out">
<img src="http://static.photos/technology/640x360/3" alt="Agricultural Technology" class="w-full h-48 object-cover">
<div class="p-6">
<div class="flex items-center mb-3">
<div class="bg-primary-100 text-primary-800 p-2 rounded-full mr-3">
<i data-feather="cpu" class="w-5 h-5"></i>
</div>
<h3 class="text-xl font-semibold text-gray-900">Smart Farming</h3>
</div>
<p class="text-gray-600 mb-4">
Cutting-edge technology solutions including IoT sensors, drones, and AI-powered analytics for precision agriculture.
</p>
<a href="#" class="text-primary-500 hover:text-primary-600 font-medium inline-flex items-center">
Learn more <i data-feather="arrow-right" class="ml-1 w-4 h-4"></i>
</a>
</div>
</div>
</div>
</div>
</section>
<!-- Testimonials -->
<section class="bg-gray-50 py-20">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-16">
<h2 class="text-3xl font-bold text-gray-900 mb-4">Farmer Success Stories</h2>
<p class="text-lg text-gray-600 max-w-2xl mx-auto">
Hear from our farming community about how our programs have transformed their agricultural practices.
</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div class="bg-white p-6 rounded-lg shadow-sm">
<div class="flex items-center mb-4">
<img src="http://static.photos/people/200x200/1" alt="Farmer" class="w-12 h-12 rounded-full object-cover">
<div class="ml-4">
<h4 class="font-medium text-gray-900">Rahul Sharma</h4>
<p class="text-sm text-gray-500">Punjab, Wheat Farmer</p>
</div>
</div>
<p class="text-gray-600">
"The water conservation program helped reduce my irrigation costs by 40% while maintaining yield. This is revolutionary for dry regions like ours."
</p>
<div class="mt-4 flex text-secondary-400">
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
</div>
</div>
<div class="bg-white p-6 rounded-lg shadow-sm">
<div class="flex items-center mb-4">
<img src="http://static.photos/people/200x200/2" alt="Farmer" class="w-12 h-12 rounded-full object-cover">
<div class="ml-4">
<h4 class="font-medium text-gray-900">Priya Patel</h4>
<p class="text-sm text-gray-500">Maharashtra, Organic Farmer</p>
</div>
</div>
<p class="text-gray-600">
"The transition to organic farming was daunting, but with AgriGrow's guidance and subsidies, I've doubled my income in just two years."
</p>
<div class="mt-4 flex text-secondary-400">
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
</div>
</div>
<div class="bg-white p-6 rounded-lg shadow-sm">
<div class="flex items-center mb-4">
<img src="http://static.photos/people/200x200/3" alt="Farmer" class="w-12 h-12 rounded-full object-cover">
<div class="ml-4">
<h4 class="font-medium text-gray-900">Anil Kumar</h4>
<p class="text-sm text-gray-500">Andhra Pradesh, Rice Farmer</p>
</div>
</div>
<p class="text-gray-600">
"The soil health monitoring technology has been game-changing. I now use 30% less fertilizer while increasing productivity by 15%."
</p>
<div class="mt-4 flex text-secondary-400">
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
</div>
</div>
</div>
</div>
</section>
<!-- CTA Section -->
<section class="py-20 bg-primary-600 text-white">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="md:flex md:items-center md:justify-between">
<div class="md:w-2/3 mb-8 md:mb-0">
<h2 class="text-3xl font-bold mb-4">Ready to transform your farming practices?</h2>
<p class="text-lg text-primary-100 max-w-2xl">
Join thousands of farmers who are already benefiting from our government-supported agricultural programs.
</p>
</div>
<div class="md:w-1/3">
<a href="#" class="inline-block bg-white text-primary-600 hover:bg-gray-100 px-8 py-4 rounded-md text-lg font-semibold text-center w-full md:w-auto">
Apply Now
</a>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-gray-900 text-white pt-16 pb-8">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8 mb-12">
<div>
<h3 class="text-lg font-semibold mb-4">AgriGrow Nation</h3>
<p class="text-gray-400">
Empowering farmers with innovative agricultural solutions for a sustainable future.
</p>
<div class="flex space-x-4 mt-4">
<a href="#" class="text-gray-400 hover:text-white">
<i data-feather="facebook" class="w-5 h-5"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white">
<i data-feather="twitter" class="w-5 h-5"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white">
<i data-feather="instagram" class="w-5 h-5"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white">
<i data-feather="youtube" class="w-5 h-5"></i>
</a>
</div>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Quick Links</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white">Home</a></li>
<li><a href="about.html" class="text-gray-400 hover:text-white">About Us</a></li>
<li><a href="programs.html" class="text-gray-400 hover:text-white">Programs</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Resources</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Contact</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Programs</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white">Water Conservation</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Organic Farming</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Smart Technology</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Financial Support</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Training & Education</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Contact Us</h3>
<ul class="space-y-2 text-gray-400">
<li class="flex items-start">
<i data-feather="map-pin" class="w-5 h-5 mr-2 mt-1 flex-shrink-0"></i>
<span>Ministry of Agriculture, New Delhi, India</span>
</li>
<li class="flex items-center">
<i data-feather="phone" class="w-5 h-5 mr-2"></i>
<span>+91 1800 123 4567</span>
</li>
<li class="flex items-center">
<i data-feather="mail" class="w-5 h-5 mr-2"></i>
<span>support@agrigrow.gov.in</span>
</li>
</ul>
</div>
</div>
<div class="border-t border-gray-800 pt-8 flex flex-col md:flex-row justify-between items-center">
<p class="text-gray-400 text-sm mb-4 md:mb-0">
© 2023 AgriGrow Nation. All rights reserved.
</p>
<div class="flex space-x-6">
<a href="#" class="text-gray-400 hover:text-white text-sm">Privacy Policy</a>
<a href="#" class="text-gray-400 hover:text-white text-sm">Terms of Service</a>
<a href="#" class="text-gray-400 hover:text-white text-sm">Sitemap</a>
</div>
</div>
</div>
</footer>
<script>
feather.replace();
// Mobile menu toggle functionality would go here
document.addEventListener('DOMContentLoaded', function() {
const menuButton = document.querySelector('button[aria-label="menu"]');
// Would add click handler for mobile menu toggle
});
</script>
</body>
</html>