Spaces:
Running
Running
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>SpringSource - Water Conservation Platform</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css" /> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| <style> | |
| @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap'); | |
| body { | |
| font-family: 'Montserrat', sans-serif; | |
| background-color: #f0f8ff; | |
| color: #1a365d; | |
| } | |
| .water-text { | |
| background: linear-gradient(90deg, #1e90ff, #00bfff, #87cefa); | |
| -webkit-background-clip: text; | |
| background-clip: text; | |
| color: transparent; | |
| } | |
| .water-card { | |
| background: rgba(255, 255, 255, 0.8); | |
| backdrop-filter: blur(10px); | |
| border-radius: 15px; | |
| box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15); | |
| transition: all 0.3s ease; | |
| } | |
| .water-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.25); | |
| } | |
| .water-btn { | |
| background: linear-gradient(90deg, #1e90ff, #00bfff); | |
| color: white; | |
| border: none; | |
| transition: all 0.3s ease; | |
| } | |
| .water-btn:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 5px 15px rgba(30, 144, 255, 0.4); | |
| } | |
| .map-container { | |
| height: 500px; | |
| border-radius: 15px; | |
| overflow: hidden; | |
| box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); | |
| } | |
| .nav-link { | |
| position: relative; | |
| } | |
| .nav-link::after { | |
| content: ''; | |
| position: absolute; | |
| width: 0; | |
| height: 2px; | |
| bottom: -2px; | |
| left: 0; | |
| background: linear-gradient(90deg, #1e90ff, #00bfff); | |
| transition: width 0.3s ease; | |
| } | |
| .nav-link:hover::after { | |
| width: 100%; | |
| } | |
| .stats-card { | |
| background: linear-gradient(135deg, rgba(30, 144, 255, 0.1), rgba(0, 191, 255, 0.1)); | |
| border-left: 4px solid #1e90ff; | |
| } | |
| .progress-bar { | |
| height: 8px; | |
| background: linear-gradient(90deg, #1e90ff, #00bfff); | |
| border-radius: 4px; | |
| } | |
| .donation-card { | |
| background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 248, 255, 0.9)); | |
| border: 1px solid rgba(30, 144, 255, 0.2); | |
| } | |
| .tab-active { | |
| border-bottom: 3px solid #1e90ff; | |
| color: #1e90ff; | |
| font-weight: 600; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <!-- Navigation --> | |
| <nav class="bg-white shadow-lg py-4 px-6 sticky top-0 z-50"> | |
| <div class="max-w-7xl mx-auto flex justify-between items-center"> | |
| <div class="flex items-center space-x-2"> | |
| <i class="fas fa-water text-3xl water-text"></i> | |
| <h1 class="text-2xl font-bold water-text">SpringSource</h1> | |
| </div> | |
| <div class="hidden md:flex space-x-8"> | |
| <a href="#dashboard" class="nav-link text-gray-700 hover:text-blue-500">Dashboard</a> | |
| <a href="#map" class="nav-link text-gray-700 hover:text-blue-500">Map Springs</a> | |
| <a href="#projects" class="nav-link text-gray-700 hover:text-blue-500">Projects</a> | |
| <a href="#donate" class="nav-link text-gray-700 hover:text-blue-500">Donate</a> | |
| <a href="#about" class="nav-link text-gray-700 hover:text-blue-500">About</a> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <button class="px-4 py-2 rounded-full water-btn">Login</button> | |
| <button class="md:hidden text-gray-700"> | |
| <i class="fas fa-bars text-xl"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </nav> | |
| <!-- Hero Section --> | |
| <section class="relative py-20 bg-gradient-to-r from-blue-50 to-cyan-50"> | |
| <div class="max-w-7xl mx-auto px-6 flex flex-col md:flex-row items-center"> | |
| <div class="md:w-1/2 mb-10 md:mb-0"> | |
| <h1 class="text-4xl md:text-5xl font-bold mb-6 text-gray-800">Protecting Our <span class="water-text">Water Sources</span> Together</h1> | |
| <p class="text-lg text-gray-600 mb-8">Join our community of volunteers to monitor, restore, and protect springs while planting trees and building recharge wells for sustainable water resources.</p> | |
| <div class="flex space-x-4"> | |
| <button class="px-6 py-3 rounded-full water-btn text-lg">Become a Volunteer</button> | |
| <button class="px-6 py-3 rounded-full border-2 border-blue-500 text-blue-500 hover:bg-blue-50 text-lg">Learn More</button> | |
| </div> | |
| </div> | |
| <div class="md:w-1/2 flex justify-center"> | |
| <img src="https://images.unsplash.com/photo-1505118380757-91f5f5632de0?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80" alt="Spring water" class="rounded-xl shadow-xl max-w-full h-auto"> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Dashboard Section --> | |
| <section id="dashboard" class="py-16 bg-white"> | |
| <div class="max-w-7xl mx-auto px-6"> | |
| <h2 class="text-3xl font-bold mb-12 text-center water-text">Our Collective Impact</h2> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-12"> | |
| <!-- Monitored Springs --> | |
| <div class="water-card p-6 stats-card"> | |
| <div class="flex items-center mb-4"> | |
| <div class="p-3 rounded-full bg-blue-100 mr-4"> | |
| <i class="fas fa-map-marked-alt text-blue-500 text-xl"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold">Monitored Springs</h3> | |
| </div> | |
| <p class="text-4xl font-bold mb-2 text-blue-600">1,248</p> | |
| <div class="flex justify-between text-sm text-gray-500 mb-2"> | |
| <span>This Year</span> | |
| <span>+24%</span> | |
| </div> | |
| <div class="progress-bar w-full"></div> | |
| </div> | |
| <!-- Restored Springs --> | |
| <div class="water-card p-6 stats-card"> | |
| <div class="flex items-center mb-4"> | |
| <div class="p-3 rounded-full bg-green-100 mr-4"> | |
| <i class="fas fa-hand-holding-water text-green-500 text-xl"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold">Restored Springs</h3> | |
| </div> | |
| <p class="text-4xl font-bold mb-2 text-green-600">428</p> | |
| <div class="flex justify-between text-sm text-gray-500 mb-2"> | |
| <span>This Year</span> | |
| <span>+18%</span> | |
| </div> | |
| <div class="progress-bar w-3/4 bg-gradient-to-r from-green-400 to-teal-400"></div> | |
| </div> | |
| <!-- Trees Planted --> | |
| <div class="water-card p-6 stats-card"> | |
| <div class="flex items-center mb-4"> | |
| <div class="p-3 rounded-full bg-green-100 mr-4"> | |
| <i class="fas fa-tree text-green-500 text-xl"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold">Trees Planted</h3> | |
| </div> | |
| <p class="text-4xl font-bold mb-2 text-green-600">12,759</p> | |
| <div class="flex justify-between text-sm text-gray-500 mb-2"> | |
| <span>This Year</span> | |
| <span>+32%</span> | |
| </div> | |
| <div class="progress-bar w-full bg-gradient-to-r from-green-400 to-emerald-400"></div> | |
| </div> | |
| <!-- Recharge Wells --> | |
| <div class="water-card p-6 stats-card"> | |
| <div class="flex items-center mb-4"> | |
| <div class="p-3 rounded-full bg-blue-100 mr-4"> | |
| <i class="fas fa-water text-blue-500 text-xl"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold">Recharge Wells</h3> | |
| </div> | |
| <p class="text-4xl font-bold mb-2 text-blue-600">187</p> | |
| <div class="flex justify-between text-sm text-gray-500 mb-2"> | |
| <span>This Year</span> | |
| <span>+15%</span> | |
| </div> | |
| <div class="progress-bar w-1/2"></div> | |
| </div> | |
| </div> | |
| <div class="grid grid-cols-1 lg:grid-cols-3 gap-6"> | |
| <!-- Recent Activity --> | |
| <div class="water-card p-6 lg:col-span-2"> | |
| <h3 class="text-xl font-semibold mb-4">Recent Volunteer Activity</h3> | |
| <div class="space-y-4"> | |
| <div class="flex items-start"> | |
| <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Volunteer" class="w-10 h-10 rounded-full mr-4"> | |
| <div> | |
| <p class="font-medium">Sarah Johnson <span class="text-gray-500 text-sm">- 2 hours ago</span></p> | |
| <p class="text-gray-600">Updated the condition of <span class="text-blue-500">Blue Mountain Spring</span> to "Good" and recorded improved water quality.</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <img src="https://randomuser.me/api/portraits/men/32.jpg" alt="Volunteer" class="w-10 h-10 rounded-full mr-4"> | |
| <div> | |
| <p class="font-medium">Michael Chen <span class="text-gray-500 text-sm">- 5 hours ago</span></p> | |
| <p class="text-gray-600">Planted 15 oak trees around <span class="text-blue-500">Silver Creek Spring</span> catchment area.</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <img src="https://randomuser.me/api/portraits/women/68.jpg" alt="Volunteer" class="w-10 h-10 rounded-full mr-4"> | |
| <div> | |
| <p class="font-medium">Priya Patel <span class="text-gray-500 text-sm">- 1 day ago</span></p> | |
| <p class="text-gray-600">Completed construction of a recharge well near <span class="text-blue-500">Green Valley Spring</span>.</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <img src="https://randomuser.me/api/portraits/men/75.jpg" alt="Volunteer" class="w-10 h-10 rounded-full mr-4"> | |
| <div> | |
| <p class="font-medium">David Wilson <span class="text-gray-500 text-sm">- 2 days ago</span></p> | |
| <p class="text-gray-600">Reported a new spring at coordinates 34.0522° N, 118.2437° W with moderate flow rate.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Top Volunteers --> | |
| <div class="water-card p-6"> | |
| <h3 class="text-xl font-semibold mb-4">Top Volunteers This Month</h3> | |
| <div class="space-y-4"> | |
| <div class="flex items-center"> | |
| <div class="w-10 h-10 rounded-full bg-yellow-100 flex items-center justify-center mr-4"> | |
| <span class="text-yellow-500 font-bold">1</span> | |
| </div> | |
| <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Volunteer" class="w-10 h-10 rounded-full mr-3"> | |
| <div> | |
| <p class="font-medium">Sarah Johnson</p> | |
| <p class="text-sm text-gray-500">42 activities</p> | |
| </div> | |
| <div class="ml-auto text-blue-500 font-bold">1,250 pts</div> | |
| </div> | |
| <div class="flex items-center"> | |
| <div class="w-10 h-10 rounded-full bg-gray-200 flex items-center justify-center mr-4"> | |
| <span class="text-gray-500 font-bold">2</span> | |
| </div> | |
| <img src="https://randomuser.me/api/portraits/men/32.jpg" alt="Volunteer" class="w-10 h-10 rounded-full mr-3"> | |
| <div> | |
| <p class="font-medium">Michael Chen</p> | |
| <p class="text-sm text-gray-500">38 activities</p> | |
| </div> | |
| <div class="ml-auto text-blue-500 font-bold">1,120 pts</div> | |
| </div> | |
| <div class="flex items-center"> | |
| <div class="w-10 h-10 rounded-full bg-amber-100 flex items-center justify-center mr-4"> | |
| <span class="text-amber-600 font-bold">3</span> | |
| </div> | |
| <img src="https://randomuser.me/api/portraits/women/68.jpg" alt="Volunteer" class="w-10 h-10 rounded-full mr-3"> | |
| <div> | |
| <p class="font-medium">Priya Patel</p> | |
| <p class="text-sm text-gray-500">35 activities</p> | |
| </div> | |
| <div class="ml-auto text-blue-500 font-bold">980 pts</div> | |
| </div> | |
| <div class="flex items-center"> | |
| <div class="w-10 h-10 rounded-full bg-gray-200 flex items-center justify-center mr-4"> | |
| <span class="text-gray-500 font-bold">4</span> | |
| </div> | |
| <img src="https://randomuser.me/api/portraits/men/75.jpg" alt="Volunteer" class="w-10 h-10 rounded-full mr-3"> | |
| <div> | |
| <p class="font-medium">David Wilson</p> | |
| <p class="text-sm text-gray-500">28 activities</p> | |
| </div> | |
| <div class="ml-auto text-blue-500 font-bold">850 pts</div> | |
| </div> | |
| <div class="flex items-center"> | |
| <div class="w-10 h-10 rounded-full bg-gray-200 flex items-center justify-center mr-4"> | |
| <span class="text-gray-500 font-bold">5</span> | |
| </div> | |
| <img src="https://randomuser.me/api/portraits/women/12.jpg" alt="Volunteer" class="w-10 h-10 rounded-full mr-3"> | |
| <div> | |
| <p class="font-medium">Emma Garcia</p> | |
| <p class="text-sm text-gray-500">25 activities</p> | |
| </div> | |
| <div class="ml-auto text-blue-500 font-bold">780 pts</div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Map Section --> | |
| <section id="map" class="py-16 bg-gray-50"> | |
| <div class="max-w-7xl mx-auto px-6"> | |
| <h2 class="text-3xl font-bold mb-4 text-center water-text">Springs Monitoring Map</h2> | |
| <p class="text-center text-gray-600 mb-8 max-w-2xl mx-auto">Explore and contribute to our growing database of springs, trees planted, and recharge wells across the region.</p> | |
| <div class="flex mb-6 border-b border-gray-200"> | |
| <button class="px-4 py-2 font-medium tab-active">Springs</button> | |
| <button class="px-4 py-2 font-medium text-gray-500 hover:text-blue-500">Trees</button> | |
| <button class="px-4 py-2 font-medium text-gray-500 hover:text-blue-500">Wells</button> | |
| <button class="px-4 py-2 font-medium text-gray-500 hover:text-blue-500">All</button> | |
| </div> | |
| <div class="map-container water-card"> | |
| <div id="springsMap" class="h-full w-full"></div> | |
| </div> | |
| <div class="mt-8 grid grid-cols-1 md:grid-cols-2 gap-6"> | |
| <!-- Add New Spring --> | |
| <div class="water-card p-6"> | |
| <h3 class="text-xl font-semibold mb-4">Report a New Spring</h3> | |
| <form> | |
| <div class="mb-4"> | |
| <label class="block text-gray-700 mb-2">Spring Name</label> | |
| <input type="text" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-gray-700 mb-2">Location</label> | |
| <div class="flex space-x-2"> | |
| <input type="text" placeholder="Latitude" class="w-1/2 px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| <input type="text" placeholder="Longitude" class="w-1/2 px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| </div> | |
| <p class="text-sm text-gray-500 mt-1">Or click on the map to set coordinates</p> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-gray-700 mb-2">Condition</label> | |
| <select class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| <option>Excellent</option> | |
| <option>Good</option> | |
| <option>Fair</option> | |
| <option>Poor</option> | |
| <option>Critical</option> | |
| </select> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-gray-700 mb-2">Water Quality</label> | |
| <select class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| <option>Potable</option> | |
| <option>Needs Treatment</option> | |
| <option>Contaminated</option> | |
| <option>Unknown</option> | |
| </select> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-gray-700 mb-2">Flow Rate (liters/minute)</label> | |
| <input type="number" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-gray-700 mb-2">Photos</label> | |
| <div class="border-2 border-dashed border-gray-300 rounded-lg p-4 text-center"> | |
| <i class="fas fa-camera text-gray-400 text-2xl mb-2"></i> | |
| <p class="text-gray-500">Click to upload or drag and drop</p> | |
| <input type="file" class="hidden"> | |
| </div> | |
| </div> | |
| <button type="submit" class="w-full px-4 py-2 rounded-lg water-btn">Submit Spring Report</button> | |
| </form> | |
| </div> | |
| <!-- Update Existing Spring --> | |
| <div class="water-card p-6"> | |
| <h3 class="text-xl font-semibold mb-4">Update Spring Status</h3> | |
| <form> | |
| <div class="mb-4"> | |
| <label class="block text-gray-700 mb-2">Select Spring</label> | |
| <select class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| <option>Blue Mountain Spring</option> | |
| <option>Silver Creek Spring</option> | |
| <option>Green Valley Spring</option> | |
| <option>Sunset Ridge Spring</option> | |
| <option>Oak Hollow Spring</option> | |
| </select> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-gray-700 mb-2">Current Condition</label> | |
| <select class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| <option>Excellent</option> | |
| <option>Good</option> | |
| <option>Fair</option> | |
| <option>Poor</option> | |
| <option>Critical</option> | |
| </select> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-gray-700 mb-2">Water Quality Update</label> | |
| <select class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| <option>Potable</option> | |
| <option>Needs Treatment</option> | |
| <option>Contaminated</option> | |
| <option>Unknown</option> | |
| </select> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-gray-700 mb-2">Current Flow Rate (liters/minute)</label> | |
| <input type="number" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-gray-700 mb-2">Notes</label> | |
| <textarea class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500" rows="3"></textarea> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-gray-700 mb-2">Upload Photos</label> | |
| <div class="border-2 border-dashed border-gray-300 rounded-lg p-4 text-center"> | |
| <i class="fas fa-camera text-gray-400 text-2xl mb-2"></i> | |
| <p class="text-gray-500">Click to upload or drag and drop</p> | |
| <input type="file" class="hidden"> | |
| </div> | |
| </div> | |
| <button type="submit" class="w-full px-4 py-2 rounded-lg water-btn">Update Spring Status</button> | |
| </form> | |
| </div> | |
| </div> | |
| <!-- Tree Planting & Recharge Wells --> | |
| <div class="mt-8 grid grid-cols-1 md:grid-cols-2 gap-6"> | |
| <!-- Tree Planting Form --> | |
| <div class="water-card p-6"> | |
| <h3 class="text-xl font-semibold mb-4">Record Tree Planting</h3> | |
| <form> | |
| <div class="mb-4"> | |
| <label class="block text-gray-700 mb-2">Associated Spring (if any)</label> | |
| <select class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| <option>None</option> | |
| <option>Blue Mountain Spring</option> | |
| <option>Silver Creek Spring</option> | |
| <option>Green Valley Spring</option> | |
| <option>Sunset Ridge Spring</option> | |
| </select> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-gray-700 mb-2">Location</label> | |
| <div class="flex space-x-2"> | |
| <input type="text" placeholder="Latitude" class="w-1/2 px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| <input type="text" placeholder="Longitude" class="w-1/2 px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| </div> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-gray-700 mb-2">Tree Species</label> | |
| <select class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| <option>Oak</option> | |
| <option>Pine</option> | |
| <option>Maple</option> | |
| <option>Willow</option> | |
| <option>Other</option> | |
| </select> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-gray-700 mb-2">Number of Trees Planted</label> | |
| <input type="number" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-gray-700 mb-2">Planting Date</label> | |
| <input type="date" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-gray-700 mb-2">Photos</label> | |
| <div class="border-2 border-dashed border-gray-300 rounded-lg p-4 text-center"> | |
| <i class="fas fa-camera text-gray-400 text-2xl mb-2"></i> | |
| <p class="text-gray-500">Click to upload or drag and drop</p> | |
| <input type="file" class="hidden"> | |
| </div> | |
| </div> | |
| <button type="submit" class="w-full px-4 py-2 rounded-lg bg-green-500 hover:bg-green-600 text-white">Record Tree Planting</button> | |
| </form> | |
| </div> | |
| <!-- Recharge Well Form --> | |
| <div class="water-card p-6"> | |
| <h3 class="text-xl font-semibold mb-4">Record Recharge Well Construction</h3> | |
| <form> | |
| <div class="mb-4"> | |
| <label class="block text-gray-700 mb-2">Associated Spring</label> | |
| <select class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| <option>Blue Mountain Spring</option> | |
| <option>Silver Creek Spring</option> | |
| <option>Green Valley Spring</option> | |
| <option>Sunset Ridge Spring</option> | |
| <option>Oak Hollow Spring</option> | |
| </select> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-gray-700 mb-2">Location</label> | |
| <div class="flex space-x-2"> | |
| <input type="text" placeholder="Latitude" class="w-1/2 px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| <input type="text" placeholder="Longitude" class="w-1/2 px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| </div> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-gray-700 mb-2">Well Depth (meters)</label> | |
| <input type="number" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-gray-700 mb-2">Diameter (cm)</label> | |
| <input type="number" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-gray-700 mb-2">Construction Date</label> | |
| <input type="date" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-gray-700 mb-2">Photos</label> | |
| <div class="border-2 border-dashed border-gray-300 rounded-lg p-4 text-center"> | |
| <i class="fas fa-camera text-gray-400 text-2xl mb-2"></i> | |
| <p class="text-gray-500">Click to upload or drag and drop</p> | |
| <input type="file" class="hidden"> | |
| </div> | |
| </div> | |
| <button type="submit" class="w-full px-4 py-2 rounded-lg water-btn">Record Recharge Well</button> | |
| </form> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Projects Section --> | |
| <section id="projects" class="py-16 bg-white"> | |
| <div class="max-w-7xl mx-auto px-6"> | |
| <h2 class="text-3xl font-bold mb-4 text-center water-text">Funded Projects</h2> | |
| <p class="text-center text-gray-600 mb-8 max-w-2xl mx-auto">Browse through community-led spring restoration and tree planting initiatives seeking funding.</p> | |
| <div class="flex justify-between items-center mb-6"> | |
| <h3 class="text-xl font-semibold">Active Projects</h3> | |
| <button class="px-4 py-2 rounded-lg water-btn">Apply for Project Funding</button> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"> | |
| <!-- Project 1 --> | |
| <div class="water-card overflow-hidden"> | |
| <img src="https://images.unsplash.com/photo-1500382018108-844b52a330b7?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80" alt="Spring restoration" class="w-full h-48 object-cover"> | |
| <div class="p-6"> | |
| <div class="flex justify-between items-start mb-2"> | |
| <h3 class="text-xl font-semibold">Blue Mountain Spring Restoration</h3> | |
| <span class="bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded-full">Active</span> | |
| </div> | |
| <p class="text-gray-600 mb-4">Restoring a critical water source for 3 villages with 500 trees planted in catchment area.</p> | |
| <div class="mb-4"> | |
| <div class="flex justify-between text-sm mb-1"> | |
| <span>Funding Progress</span> | |
| <span>$4,200 of $5,000</span> | |
| </div> | |
| <div class="w-full bg-gray-200 rounded-full h-2"> | |
| <div class="bg-blue-600 h-2 rounded-full" style="width: 84%"></div> | |
| </div> | |
| </div> | |
| <div class="flex justify-between text-sm text-gray-500 mb-4"> | |
| <div> | |
| <i class="fas fa-user mr-1"></i> | |
| <span>Sarah Johnson</span> | |
| </div> | |
| <div> | |
| <i class="fas fa-map-marker-alt mr-1"></i> | |
| <span>Blue Mountain, CA</span> | |
| </div> | |
| </div> | |
| <button class="w-full px-4 py-2 rounded-lg water-btn">Support This Project</button> | |
| </div> | |
| </div> | |
| <!-- Project 2 --> | |
| <div class="water-card overflow-hidden"> | |
| <img src="https://images.unsplash.com/photo-1518098268026-4e89f1a2cd8e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80" alt="Tree planting" class="w-full h-48 object-cover"> | |
| <div class="p-6"> | |
| <div class="flex justify-between items-start mb-2"> | |
| <h3 class="text-xl font-semibold">Green Valley Reforestation</h3> | |
| <span class="bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded-full">Active</span> | |
| </div> | |
| <p class="text-gray-600 mb-4">Planting 1,000 native trees to protect the Green Valley Spring watershed area.</p> | |
| <div class="mb-4"> | |
| <div class="flex justify-between text-sm mb-1"> | |
| <span>Funding Progress</span> | |
| <span>$2,750 of $3,500</span> | |
| </div> | |
| <div class="w-full bg-gray-200 rounded-full h-2"> | |
| <div class="bg-blue-600 h-2 rounded-full" style="width: 78%"></div> | |
| </div> | |
| </div> | |
| <div class="flex justify-between text-sm text-gray-500 mb-4"> | |
| <div> | |
| <i class="fas fa-user mr-1"></i> | |
| <span>Michael Chen</span> | |
| </div> | |
| <div> | |
| <i class="fas fa-map-marker-alt mr-1"></i> | |
| <span>Green Valley, OR</span> | |
| </div> | |
| </div> | |
| <button class="w-full px-4 py-2 rounded-lg water-btn">Support This Project</button> | |
| </div> | |
| </div> | |
| <!-- Project 3 --> | |
| <div class="water-card overflow-hidden"> | |
| <img src="https://images.unsplash.com/photo-1566438480900-0609be27a4be?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80" alt="Recharge well" class="w-full h-48 object-cover"> | |
| <div class="p-6"> | |
| <div class="flex justify-between items-start mb-2"> | |
| <h3 class="text-xl font-semibold">Silver Creek Recharge Wells</h3> | |
| <span class="bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded-full">Active</span> | |
| </div> | |
| <p class="text-gray-600 mb-4">Constructing 5 recharge wells to replenish groundwater feeding Silver Creek Spring.</p> | |
| <div class="mb-4"> | |
| <div class="flex justify-between text-sm mb-1"> | |
| <span>Funding Progress</span> | |
| <span>$1,200 of $4,000</span> | |
| </div> | |
| <div class="w-full bg-gray-200 rounded-full h-2"> | |
| <div class="bg-blue-600 h-2 rounded-full" style="width: 30%"></div> | |
| </div> | |
| </div> | |
| <div class="flex justify-between text-sm text-gray-500 mb-4"> | |
| <div> | |
| <i class="fas fa-user mr-1"></i> | |
| <span>Priya Patel</span> | |
| </div> | |
| <div> | |
| <i class="fas fa-map-marker-alt mr-1"></i> | |
| <span>Silver Creek, WA</span> | |
| </div> | |
| </div> | |
| <button class="w-full px-4 py-2 rounded-lg water-btn">Support This Project</button> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="mt-12"> | |
| <h3 class="text-xl font-semibold mb-6">Completed Projects</h3> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"> | |
| <!-- Completed Project 1 --> | |
| <div class="water-card overflow-hidden"> | |
| <img src="https://images.unsplash.com/photo-1470114716159-e389f8712fda?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80" alt="Restored spring" class="w-full h-48 object-cover"> | |
| <div class="p-6"> | |
| <div class="flex justify-between items-start mb-2"> | |
| <h3 class="text-xl font-semibold">Sunset Ridge Spring Revival</h3> | |
| <span class="bg-green-100 text-green-800 text-xs px-2 py-1 rounded-full">Completed</span> | |
| </div> | |
| <p class="text-gray-600 mb-4">Successfully restored a seasonal spring to year-round flow with community participation.</p> | |
| <div class="mb-4"> | |
| <div class="flex justify-between text-sm mb-1"> | |
| <span>Funded</span> | |
| <span>$3,800</span> | |
| </div> | |
| </div> | |
| <div class="flex justify-between text-sm text-gray-500 mb-4"> | |
| <div> | |
| <i class="fas fa-user mr-1"></i> | |
| <span>David Wilson</span> | |
| </div> | |
| <div> | |
| <i class="fas fa-map-marker-alt mr-1"></i> | |
| <span>Sunset Ridge, CO</span> | |
| </div> | |
| </div> | |
| <button class="w-full px-4 py-2 rounded-lg bg-gray-200 hover:bg-gray-300">View Project Report</button> | |
| </div> | |
| </div> | |
| <!-- Completed Project 2 --> | |
| <div class="water-card overflow-hidden"> | |
| <img src="https://images.unsplash.com/photo-1448375240586-882707db888b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80" alt="Planted trees" class="w-full h-48 object-cover"> | |
| <div class="p-6"> | |
| <div class="flex justify-between items-start mb-2"> | |
| <h3 class="text-xl font-semibold">Oak Hollow Tree Planting</h3> | |
| <span class="bg-green-100 text-green-800 text-xs px-2 py-1 rounded-full">Completed</span> | |
| </div> | |
| <p class="text-gray-600 mb-4">Planted 300 oak trees around Oak Hollow Spring to improve water retention.</p> | |
| <div class="mb-4"> | |
| <div class="flex justify-between text-sm mb-1"> | |
| <span>Funded</span> | |
| <span>$2,500</span> | |
| </div> | |
| </div> | |
| <div class="flex justify-between text-sm text-gray-500 mb-4"> | |
| <div> | |
| <i class="fas fa-user mr-1"></i> | |
| <span>Emma Garcia</span> | |
| </div> | |
| <div> | |
| <i class="fas fa-map-marker-alt mr-1"></i> | |
| <span>Oak Hollow, NM</span> | |
| </div> | |
| </div> | |
| <button class="w-full px-4 py-2 rounded-lg bg-gray-200 hover:bg-gray-300">View Project Report</button> | |
| </div> | |
| </div> | |
| <!-- Completed Project 3 --> | |
| <div class="water-card overflow-hidden"> | |
| <img src="https://images.unsplash.com/photo-1566438480900-0609be27a4be?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80" alt="Recharge well" class="w-full h-48 object-cover"> | |
| <div class="p-6"> | |
| <div class="flex justify-between items-start mb-2"> | |
| <h3 class="text-xl font-semibold">Meadowbrook Recharge System</h3> | |
| <span class="bg-green-100 text-green-800 text-xs px-2 py-1 rounded-full">Completed</span> | |
| </div> | |
| <p class="text-gray-600 mb-4">Built 3 recharge wells to capture rainwater and replenish Meadowbrook Spring.</p> | |
| <div class="mb-4"> | |
| <div class="flex justify-between text-sm mb-1"> | |
| <span>Funded</span> | |
| <span>$3,200</span> | |
| </div> | |
| </div> | |
| <div class="flex justify-between text-sm text-gray-500 mb-4"> | |
| <div> | |
| <i class="fas fa-user mr-1"></i> | |
| <span>James Lee</span> | |
| </div> | |
| <div> | |
| <i class="fas fa-map-marker-alt mr-1"></i> | |
| <span>Meadowbrook, AZ</span> | |
| </div> | |
| </div> | |
| <button class="w-full px-4 py-2 rounded-lg bg-gray-200 hover:bg-gray-300">View Project Report</button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Donate Section --> | |
| <section id="donate" class="py-16 bg-gray-50"> | |
| <div class="max-w-7xl mx-auto px-6"> | |
| <h2 class="text-3xl font-bold mb-4 text-center water-text">Support Water Conservation</h2> | |
| <p class="text-center text-gray-600 mb-8 max-w-2xl mx-auto">Your contribution helps restore springs, plant trees, and build recharge wells for sustainable water resources.</p> | |
| <div class="grid grid-cols-1 lg:grid-cols-2 gap-8"> | |
| <!-- Individual Donation --> | |
| <div class="water-card p-8"> | |
| <h3 class="text-2xl font-semibold mb-6 text-center">Make a Donation</h3> | |
| <form> | |
| <div class="mb-6"> | |
| <label class="block text-gray-700 mb-3">Select Donation Type</label> | |
| <div class="grid grid-cols-2 gap-3"> | |
| <button type="button" class="px-4 py-3 border border-blue-500 rounded-lg text-blue-500 hover:bg-blue-50 font-medium">One-time</button> | |
| <button type="button" class="px-4 py-3 border border-gray-300 rounded-lg hover:bg-gray-100 font-medium">Monthly</button> | |
| </div> | |
| </div> | |
| <div class="mb-6"> | |
| <label class="block text-gray-700 mb-3">Select Amount</label> | |
| <div class="grid grid-cols-3 gap-3"> | |
| <button type="button" class="px-4 py-3 border border-gray-300 rounded-lg hover:bg-gray-100">$25</button> | |
| <button type="button" class="px-4 py-3 border border-gray-300 rounded-lg hover:bg-gray-100">$50</button> | |
| <button type="button" class="px-4 py-3 border border-gray-300 rounded-lg hover:bg-gray-100">$100</button> | |
| <button type="button" class="px-4 py-3 border border-gray-300 rounded-lg hover:bg-gray-100">$250</button> | |
| <button type="button" class="px-4 py-3 border border-gray-300 rounded-lg hover:bg-gray-100">$500</button> | |
| <button type="button" class="px-4 py-3 border border-gray-300 rounded-lg hover:bg-gray-100">Other</button> | |
| </div> | |
| </div> | |
| <div class="mb-6"> | |
| <label class="block text-gray-700 mb-3">Allocate Your Donation</label> | |
| <select class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| <option>Where it's needed most</option> | |
| <option>Spring Restoration</option> | |
| <option>Tree Planting</option> | |
| <option>Recharge Wells</option> | |
| <option>Specific Project (select below)</option> | |
| </select> | |
| </div> | |
| <div class="mb-6"> | |
| <label class="block text-gray-700 mb-3">Select Specific Project (optional)</label> | |
| <select class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| <option>None</option> | |
| <option>Blue Mountain Spring Restoration</option> | |
| <option>Green Valley Reforestation</option> | |
| <option>Silver Creek Recharge Wells</option> | |
| </select> | |
| </div> | |
| <button type="submit" class="w-full px-4 py-3 rounded-lg water-btn text-lg">Donate Now</button> | |
| </form> | |
| </div> | |
| <!-- Corporate Sponsorship --> | |
| <div class="water-card p-8"> | |
| <h3 class="text-2xl font-semibold mb-6 text-center">Corporate Sponsorship</h3> | |
| <form> | |
| <div class="mb-6"> | |
| <label class="block text-gray-700 mb-3">Company Name</label> | |
| <input type="text" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| </div> | |
| <div class="mb-6"> | |
| <label class="block text-gray-700 mb-3">Contact Person</label> | |
| <input type="text" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| </div> | |
| <div class="mb-6"> | |
| <label class="block text-gray-700 mb-3">Email</label> | |
| <input type="email" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| </div> | |
| <div class="mb-6"> | |
| <label class="block text-gray-700 mb-3">Phone</label> | |
| <input type="tel" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| </div> | |
| <div class="mb-6"> | |
| <label class="block text-gray-700 mb-3">Sponsorship Level</label> | |
| <select class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| <option>Select sponsorship level</option> | |
| <option>Spring Protector ($1,000 - $5,000)</option> | |
| <option>Water Guardian ($5,000 - $10,000)</option> | |
| <option>Sustainability Champion ($10,000+)</option> | |
| <option>Custom Amount</option> | |
| </select> | |
| </div> | |
| <div class="mb-6"> | |
| <label class="block text-gray-700 mb-3">Project Preference</label> | |
| <select class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| <option>No preference</option> | |
| <option>Spring Restoration Projects</option> | |
| <option>Tree Planting Initiatives</option> | |
| <option>Recharge Well Construction</option> | |
| <option>Specific Geographic Region</option> | |
| </select> | |
| </div> | |
| <div class="mb-6"> | |
| <label class="block text-gray-700 mb-3">Additional Notes</label> | |
| <textarea class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500" rows="3"></textarea> | |
| </div> | |
| <button type="submit" class="w-full px-4 py-3 rounded-lg bg-blue-800 hover:bg-blue-900 text-white text-lg">Request Sponsorship Info</button> | |
| </form> | |
| </div> | |
| </div> | |
| <!-- Impact of Donations --> | |
| <div class="mt-16 water-card p-8"> | |
| <h3 class="text-2xl font-semibold mb-6 text-center">How Your Donation Makes an Impact</h3> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-6"> | |
| <div class="text-center"> | |
| <div class="w-20 h-20 mx-auto mb-4 rounded-full bg-blue-100 flex items-center justify-center"> | |
| <i class="fas fa-faucet text-blue-500 text-2xl"></i> | |
| </div> | |
| <h4 class="text-lg font-semibold mb-2">$25</h4> | |
| <p class="text-gray-600">Plants 5 native trees to protect a spring's catchment area</p> | |
| </div> | |
| <div class="text-center"> | |
| <div class="w-20 h-20 mx-auto mb-4 rounded-full bg-blue-100 flex items-center justify-center"> | |
| <i class="fas fa-tint text-blue-500 text-2xl"></i> | |
| </div> | |
| <h4 class="text-lg font-semibold mb-2">$100</h4> | |
| <p class="text-gray-600">Restores a small spring to provide clean water for a family</p> | |
| </div> | |
| <div class="text-center"> | |
| <div class="w-20 h-20 mx-auto mb-4 rounded-full bg-blue-100 flex items-center justify-center"> | |
| <i class="fas fa-tree text-blue-500 text-2xl"></i> | |
| </div> | |
| <h4 class="text-lg font-semibold mb-2">$500</h4> | |
| <p class="text-gray-600">Funds construction of a recharge well to replenish groundwater</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- About Section --> | |
| <section id="about" class="py-16 bg-white"> | |
| <div class="max-w-7xl mx-auto px-6"> | |
| <h2 class="text-3xl font-bold mb-4 text-center water-text">About SpringSource</h2> | |
| <p class="text-center text-gray-600 mb-12 max-w-3xl mx-auto">We're a community-driven platform connecting volunteers, donors, and local champions to protect and restore water sources through spring monitoring, tree planting, and recharge well construction.</p> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-12 mb-16"> | |
| <div> | |
| <h3 class="text-2xl font-semibold mb-4">Our Mission</h3> | |
| <p class="text-gray-600 mb-4">SpringSource empowers communities to protect their water sources through collaborative monitoring, restoration, and sustainable practices. We believe that clean, accessible water is a fundamental right and that local communities are the best stewards of their natural resources.</p> | |
| <p class="text-gray-600">By combining traditional knowledge with modern technology, we create a network of water protectors who can track, maintain, and improve their local water sources for generations to come.</p> | |
| </div> | |
| <div> | |
| <img src="https://images.unsplash.com/photo-1505075106905-fb5e5f367b3f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80" alt="Community working together" class="rounded-xl shadow-lg w-full"> | |
| </div> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-8 mb-16"> | |
| <div class="water-card p-6 text-center"> | |
| <div class="w-16 h-16 mx-auto mb-4 rounded-full bg-blue-100 flex items-center justify-center"> | |
| <i class="fas fa-users text-blue-500 text-xl"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold mb-2">Community Engagement</h3> | |
| <p class="text-gray-600">We train and equip local volunteers to become water stewards, creating lasting change from the ground up.</p> | |
| </div> | |
| <div class="water-card p-6 text-center"> | |
| <div class="w-16 h-16 mx-auto mb-4 rounded-full bg-blue-100 flex items-center justify-center"> | |
| <i class="fas fa-map-marked-alt text-blue-500 text-xl"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold mb-2">Data-Driven Solutions</h3> | |
| <p class="text-gray-600">Our platform collects and analyzes water source data to inform restoration efforts and track progress.</p> | |
| </div> | |
| <div class="water-card p-6 text-center"> | |
| <div class="w-16 h-16 mx-auto mb-4 rounded-full bg-blue-100 flex items-center justify-center"> | |
| <i class="fas fa-hand-holding-water text-blue-500 text-xl"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold mb-2">Sustainable Impact</h3> | |
| <p class="text-gray-600">We focus on long-term solutions like tree planting and recharge wells that benefit both people and ecosystems.</p> | |
| </div> | |
| </div> | |
| <div class="water-card p-8"> | |
| <h3 class="text-2xl font-semibold mb-6 text-center">Become a Water Champion</h3> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-8"> | |
| <div> | |
| <h4 class="text-xl font-semibold mb-3">For Volunteers</h4> | |
| <ul class="space-y-3"> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check-circle text-blue-500 mt-1 mr-3"></i> | |
| <span>Join our network of water monitors and help track spring health</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check-circle text-blue-500 mt-1 mr-3"></i> | |
| <span>Participate in restoration projects and tree planting events</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check-circle text-blue-500 mt-1 mr-3"></i> | |
| <span>Earn recognition and rewards for your contributions</span> | |
| </li> | |
| </ul> | |
| <button class="mt-6 px-6 py-2 rounded-lg water-btn">Sign Up as Volunteer</button> | |
| </div> | |
| <div> | |
| <h4 class="text-xl font-semibold mb-3">For Community Champions</h4> | |
| <ul class="space-y-3"> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check-circle text-blue-500 mt-1 mr-3"></i> | |
| <span>Register your local water restoration project for funding</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check-circle text-blue-500 mt-1 mr-3"></i> | |
| <span>Access training and resources for successful projects</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check-circle text-blue-500 mt-1 mr-3"></i> | |
| <span>Connect with donors and sponsors for your initiatives</span> | |
| </li> | |
| </ul> | |
| <button class="mt-6 px-6 py-2 rounded-lg water-btn">Apply as Champion</button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Footer --> | |
| <footer class="bg-gray-900 text-white py-12"> | |
| <div class="max-w-7xl mx-auto px-6"> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-8 mb-8"> | |
| <div> | |
| <div class="flex items-center space-x-2 mb-4"> | |
| <i class="fas fa-water text-3xl water-text"></i> | |
| <h3 class="text-2xl font-bold water-text">SpringSource</h3> | |
| </div> | |
| <p class="text-gray-400">Empowering communities to protect and restore water sources through collaborative action.</p> | |
| </div> | |
| <div> | |
| <h4 class="text-lg font-semibold mb-4">Quick Links</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Home</a></li> | |
| <li><a href="#dashboard" class="text-gray-400 hover:text-white">Dashboard</a></li> | |
| <li><a href="#map" class="text-gray-400 hover:text-white">Map Springs</a></li> | |
| <li><a href="#projects" class="text-gray-400 hover:text-white">Projects</a></li> | |
| <li><a href="#donate" class="text-gray-400 hover:text-white">Donate</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="text-lg font-semibold mb-4">Resources</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Volunteer Guide</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Spring Restoration Manual</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Tree Planting Guide</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Recharge Well Handbook</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">FAQ</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="text-lg font-semibold mb-4">Contact Us</h4> | |
| <ul class="space-y-2"> | |
| <li class="flex items-center"> | |
| <i class="fas fa-envelope mr-3 text-blue-400"></i> | |
| <span>contact@springsource.org</span> | |
| </li> | |
| <li class="flex items-center"> | |
| <i class="fas fa-phone mr-3 text-blue-400"></i> | |
| <span>(555) 123-4567</span> | |
| </li> | |
| <li class="flex items-center"> | |
| <i class="fas fa-map-marker-alt mr-3 text-blue-400"></i> | |
| <span>123 Water Way, Springsville</span> | |
| </li> | |
| </ul> | |
| <div class="flex space-x-4 mt-4"> | |
| <a href="#" class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center hover:bg-blue-500"> | |
| <i class="fab fa-facebook-f"></i> | |
| </a> | |
| <a href="#" class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center hover:bg-blue-400"> | |
| <i class="fab fa-twitter"></i> | |
| </a> | |
| <a href="#" class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center hover:bg-pink-500"> | |
| <i class="fab fa-instagram"></i> | |
| </a> | |
| <a href="#" class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center hover:bg-blue-700"> | |
| <i class="fab fa-linkedin-in"></i> | |
| </a> | |
| </div> | |
| </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 mb-4 md:mb-0">© 2023 SpringSource. All rights reserved.</p> | |
| <div class="flex space-x-6"> | |
| <a href="#" class="text-gray-400 hover:text-white">Privacy Policy</a> | |
| <a href="#" class="text-gray-400 hover:text-white">Terms of Service</a> | |
| <a href="#" class="text-gray-400 hover:text-white">Cookie Policy</a> | |
| </div> | |
| </div> | |
| </div> | |
| </footer> | |
| <!-- Scripts --> | |
| <script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js"></script> | |
| <script> | |
| // Initialize map | |
| const map = L.map('springsMap').setView([37.0902, -95.7129], 4); // Center on USA | |
| // Add OpenStreetMap tiles | |
| L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { | |
| attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors' | |
| }).addTo(map); | |
| // Add sample spring markers | |
| const springs = [ | |
| { | |
| name: "Blue Mountain Spring", | |
| latlng: [34.0522, -118.2437], | |
| condition: "Good", | |
| quality: "Potable", | |
| flow: 15, | |
| lastUpdated: "2023-06-15" | |
| }, | |
| { | |
| name: "Silver Creek Spring", | |
| latlng: [40.7128, -74.0060], | |
| condition: "Fair", | |
| quality: "Needs Treatment", | |
| flow: 8, | |
| lastUpdated: "2023-06-10" | |
| }, | |
| { | |
| name: "Green Valley Spring", | |
| latlng: [41.8781, -87.6298], | |
| condition: "Excellent", | |
| quality: "Potable", | |
| flow: 22, | |
| lastUpdated: "2023-06-18" | |
| }, | |
| { | |
| name: "Sunset Ridge Spring", | |
| latlng: [39.9526, -75.1652], | |
| condition: "Poor", | |
| quality: "Contaminated", | |
| flow: 3, | |
| lastUpdated: "2023-05-28" | |
| }, | |
| { | |
| name: "Oak Hollow Spring", | |
| latlng: [29.7604, -95.3698], | |
| condition: "Critical", | |
| quality: "Contaminated", | |
| flow: 1, | |
| lastUpdated: "2023-06-05" | |
| } | |
| ]; | |
| // Add tree planting markers | |
| const trees = [ | |
| { | |
| location: [34.0522, -118.2437], | |
| count: 45, | |
| species: "Oak", | |
| date: "2023-05-15" | |
| }, | |
| { | |
| location: [40.7128, -74.0060], | |
| count: 30, | |
| species: "Pine", | |
| date: "2023-06-01" | |
| }, | |
| { | |
| location: [41.8781, -87.6298], | |
| count: 60, | |
| species: "Maple", | |
| date: "2023-04-22" | |
| } | |
| ]; | |
| // Add recharge well markers | |
| const wells = [ | |
| { | |
| location: [34.0522, -118.2437], | |
| depth: 8, | |
| diameter: 120, | |
| date: "2023-03-10" | |
| }, | |
| { | |
| location: [40.7128, -74.0060], | |
| depth: 6, | |
| diameter: 100, | |
| date: "2023-05-20" | |
| } | |
| ]; | |
| // Add markers to map | |
| springs.forEach(spring => { | |
| const marker = L.marker(spring.latlng).addTo(map); | |
| marker.bindPopup(` | |
| <b>${spring.name}</b><br> | |
| Condition: ${spring.condition}<br> | |
| Water Quality: ${spring.quality}<br> | |
| Flow Rate: ${spring.flow} L/min<br> | |
| Last Updated: ${spring.lastUpdated} | |
| `); | |
| }); | |
| trees.forEach(tree => { | |
| const marker = L.circleMarker(tree.location, { | |
| radius: 8, | |
| color: '#2e8b57', | |
| fillColor: '#3cb371', | |
| fillOpacity: 0.8 | |
| }).addTo(map); | |
| marker.bindPopup(` | |
| <b>Tree Planting</b><br> | |
| ${tree.count} ${tree.species} trees planted<br> | |
| Date: ${tree.date} | |
| `); | |
| }); | |
| wells.forEach(well => { | |
| const marker = L.circleMarker(well.location, { | |
| radius: 8, | |
| color: '#1e90ff', | |
| fillColor: '#87cefa', | |
| fillOpacity: 0.8 | |
| }).addTo(map); | |
| marker.bindPopup(` | |
| <b>Recharge Well</b><br> | |
| Depth: ${well.depth}m<br> | |
| Diameter: ${well.diameter}cm<br> | |
| Constructed: ${well.date} | |
| `); | |
| }); | |
| // Tab functionality | |
| const tabs = document.querySelectorAll('.border-b button'); | |
| tabs.forEach(tab => { | |
| tab.addEventListener('click', () => { | |
| tabs.forEach(t => t.classList.remove('tab-active')); | |
| tab.classList.add('tab-active'); | |
| // In a real app, this would filter the map markers | |
| console.log(`Showing ${tab.textContent} data`); | |
| }); | |
| }); | |
| // Smooth scrolling for navigation | |
| document.querySelectorAll('a[href^="#"]').forEach(anchor => { | |
| anchor.addEventListener('click', function (e) { | |
| e.preventDefault(); | |
| document.querySelector(this.getAttribute('href')).scrollIntoView({ | |
| behavior: 'smooth' | |
| }); | |
| }); | |
| }); | |
| </script> | |
| <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=FaNegoro/springwatch" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |