-
Notifications
You must be signed in to change notification settings - Fork 244
Expand file tree
/
Copy pathabout.html
More file actions
383 lines (332 loc) · 16.4 KB
/
Copy pathabout.html
File metadata and controls
383 lines (332 loc) · 16.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>About AgriTech</title>
<link rel="icon" type="image/png" href="./images/logo.png">
<link rel="stylesheet" href="./about.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<!-- <link rel="stylesheet" href="./footer.css" /> -->
<link rel="stylesheet" href="./footer.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css" />
</head>
<body>
<div w3-include-html="navbar.html"></div>
<main class="main-content">
<section class="hero-section">
<h1>About AgriTech</h1>
<p class="hero-subtitle">Smart Agriculture for a Sustainable Future</p>
</section>
<section class="content-section">
<div class="card">
<h2>🌾 Our Mission</h2>
<p>
At AgriTech, we are dedicated to revolutionizing agriculture through cutting-edge technology.
Our mission is to empower farmers with intelligent tools and data-driven insights that enhance
crop productivity, reduce resource waste, and promote sustainable farming practices.
</p>
</div>
<div class="card">
<h2>🎯 Our Vision</h2>
<p>
We envision a future where every farmer, regardless of their location or resources, has access
to world-class agricultural technology. By leveraging artificial intelligence, machine learning,
and data analytics, we aim to create a more resilient and productive agricultural ecosystem.
</p>
</div>
<section class="card why-matters-card" aria-labelledby="why-it-matters-title">
<div class="section-heading">
<p class="section-eyebrow">Why It Matters</p>
<h2 id="why-it-matters-title">Technology should be practical, clear, and trustworthy</h2>
<p class="section-intro">
Better farming decisions depend on information that is easy to read, easy to scan, and simple to act on.
</p>
</div>
<div class="why-matters-grid">
<article class="why-point">
<span class="why-icon"><i class="fa-solid fa-eye"></i></span>
<h3>Readable guidance</h3>
<p>Clear contrast and consistent spacing help farmers quickly understand the most important information.</p>
</article>
<article class="why-point">
<span class="why-icon"><i class="fa-solid fa-layer-group"></i></span>
<h3>Better structure</h3>
<p>Well-aligned sections make the page feel dependable and reduce the effort needed to find key details.</p>
</article>
<article class="why-point">
<span class="why-icon"><i class="fa-solid fa-seedling"></i></span>
<h3>More trust</h3>
<p>A polished layout reinforces that the platform is carefully maintained and built for real-world use.</p>
</article>
</div>
</section>
<div class="card">
<h2>✨ Key Features</h2>
<ul class="features-list">
<li><strong>Crop Recommendation:</strong> AI-powered recommendations based on soil, climate, and
market conditions</li>
<li><strong>Disease Detection:</strong> Plant disease identification using CNN technology</li>
<li><strong>Crop Yield Prediction:</strong> Accurate predictions using machine learning models</li>
<li><strong>Soil Classification:</strong> Advanced soil analysis for optimal farming decisions</li>
<li><strong>Fertilizer Recommendation:</strong> Smart fertilizer suggestions for maximum yield</li>
<li><strong>Labour Alerts:</strong> Efficient labour scheduling and management</li>
<li><strong>Crop Planning:</strong> Comprehensive crop planning and management tools</li>
<li><strong>Government Schemes:</strong> Easy access to agricultural subsidy information</li>
<li><strong>Price Tracking:</strong> Real-time crop price monitoring</li>
<li><strong>Community Forum:</strong> Connect with farmers and experts</li>
</ul>
</div>
<div class="card">
<h2>👥 Our Team</h2>
<p>
AgriTech is built by a dedicated team of developers, data scientists, and agricultural experts
who are passionate about using technology to solve real-world agricultural challenges. We work
closely with farmers, agricultural institutions, and technology partners to continuously improve
our solutions.
</p>
</div>
<div class="card">
<h2>🤝 Get Involved</h2>
<p>
We believe in the power of collaboration and open-source development. If you're interested in
contributing to AgriTech, please visit our
<a href="./CONTRIBUTING.md" class="link">Contributing Guidelines</a> to get started.
</p>
<p>
You can also connect with us on GitHub at
<a href="https://github.com/omroy07/AgriTech" target="_blank" class="link">omroy07/AgriTech</a>
You can also connect with us on GitHub at
<a href="https://github.com/omroy07/AgriTech" target="_blank" rel="noopener" class="link">omroy07/AgriTech</a>
</p>
</div>
<div class="card">
<h2>📧 Contact Us</h2>
<p>
For inquiries, suggestions, or partnerships, please reach out to us. We'd love to hear from you!
</p>
<p>
Visit our repository for more information and to stay updated on the latest developments.
</p>
</div>
</section>
</main>
<footer class="site-footer tech-dark-theme final-match">
<div class="footer-top-accent"></div>
<div class="footer-inner-content">
<div class="footer-section footer-brand">
<a href="main.html" class="brand-header">
<img src="images/logo.png" alt="AgriTech logo" class="brand-logo" />
<h3>AgriTech</h3>
</a>
<p class="tagline">
Empowering India's Farming Future with innovative technology
connecting every stakeholder.
</p>
<div class="social-icons">
<a href="#" aria-label="Facebook"><i class="fab fa-facebook-f"></i></a>
<a href="#" aria-label="Twitter"><i class="fab fa-x-twitter"></i></a>
<a href="#" aria-label="LinkedIn"><i class="fab fa-linkedin-in"></i></a>
<a href="#" aria-label="Instagram"><i class="fab fa-instagram"></i></a>
</div>
</div>
<div class="footer-group-links">
<div class="footer-section footer-links">
<h4>Quick Links</h4>
<ul>
<li><a href="index.html"><i class="fas fa-home"></i> Home</a></li>
<li><a href="login.html"><i class="fas fa-tachometer-alt"></i> Dashboard</a></li>
<li><a href="feed-back.html"><i class="fas fa-comment-dots"></i> Feedback</a></li>
<li><a href="chat.html"><i class="fas fa-robot"></i> AI Assistant</a></li>
<li><a href="terms-and-service.html"><i class="fas fa-file-contract"></i> Terms & Service</a>
</li>
</ul>
</div>
<div class="footer-section footer-contact">
<h4>Contact</h4>
<ul>
<li>
<a href="mailto:contact@agritech.com">
<i class="fas fa-envelope"></i> contact@agritech.com
</a>
</li>
<li>
<a href="tel:+910000000000">
<i class="fas fa-phone"></i> +91 00000 00000
</a>
</li>
</ul>
</div>
</div>
</div>
<div class="footer-bottom">
<p>© <span id="current-year"></span> AgriTech. All rights reserved.</p>
</div>
<div class="footer-wave-overlay"></div>
</footer>
<!-- Scroll to Top Button -->
<button id="scrollTopBtn" class="scroll-top-btn" aria-label="Scroll to top">
<i class="fas fa-arrow-up"></i>
</button>
<!-- Cursor Trail -->
<div class="circle-container" id="cursorTrail"></div>
<script>
// --- Cursor Trailing Effect ---
const container = document.getElementById('cursorTrail');
const circleCount = 12;
const circles = [];
let mouseX = 0;
let mouseY = 0;
for (let i = 0; i < circleCount; i++) {
const circle = document.createElement('div');
circle.classList.add('cursor-circle');
container.appendChild(circle);
circles.push({ el: circle, x: 0, y: 0 });
}
document.addEventListener('mousemove', (e) => {
mouseX = e.clientX;
mouseY = e.clientY;
});
document.addEventListener('mousedown', () => {
circles.forEach(c => c.el.classList.add('cursor-clicking'));
});
document.addEventListener('mouseup', () => {
circles.forEach(c => c.el.classList.remove('cursor-clicking'));
});
document.addEventListener('mouseover', (e) => {
if (e.target.closest('a, button, .cta-button, .service-card, .shipment-card')) {
circles.forEach(c => c.el.classList.add('cursor-hovering'));
}
});
document.addEventListener('mouseout', (e) => {
if (e.target.closest('a, button, .cta-button, .service-card, .shipment-card')) {
circles.forEach(c => c.el.classList.remove('cursor-hovering'));
}
});
function animateCursor() {
let x = mouseX;
let y = mouseY;
circles.forEach((circle) => {
circle.x += (x - circle.x) * 0.25;
circle.y += (y - circle.y) * 0.25;
circle.el.style.left = circle.x + 'px';
circle.el.style.top = circle.y + 'px';
x = circle.x;
y = circle.y;
});
requestAnimationFrame(animateCursor);
}
animateCursor();
// --- Include Navbar & Footer ---
function includeHTML(callback) {
let z = document.getElementsByTagName("*");
for (let i = 0; i < z.length; i++) {
let elmnt = z[i];
let file = elmnt.getAttribute("w3-include-html");
if (file) {
let xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function () {
if (this.readyState == 4) {
if (this.status == 200) { elmnt.innerHTML = this.responseText; }
if (this.status == 404) { elmnt.innerHTML = "Page not found."; }
elmnt.removeAttribute("w3-include-html");
includeHTML(callback);
if (callback) callback();
}
}
xhttp.open("GET", file, true);
xhttp.send();
return;
}
}
}
// --- Dropdown Menu ---
function initServicesDropdown() {
const servicesToggle = document.querySelector('.services-toggle');
const servicesDropdown = document.querySelector('.services-dropdown');
const servicesArrow = document.querySelector('.services-arrow');
if (servicesToggle && servicesDropdown) {
servicesToggle.addEventListener('click', (e) => {
e.preventDefault();
e.stopPropagation();
servicesDropdown.classList.toggle('active');
if (servicesArrow) servicesArrow.classList.toggle('rotated');
});
document.addEventListener('click', (e) => {
if (!servicesToggle.contains(e.target) && !servicesDropdown.contains(e.target)) {
servicesDropdown.classList.remove('active');
if (servicesArrow) servicesArrow.classList.remove('rotated');
}
});
}
}
// --- Theme Management ---
function initThemeToggle() {
const themeToggle = document.getElementById('themeToggle');
if (!themeToggle) return;
themeToggle.addEventListener('click', () => {
const root = document.documentElement;
const current = root.getAttribute('data-theme') || 'dark';
const next = current === 'light' ? 'dark' : 'light';
root.setAttribute('data-theme', next);
localStorage.setItem('agritech-theme', next);
const themeLabel = document.querySelector('.theme-label');
if (themeLabel) {
themeLabel.textContent = next === 'light' ? 'Light' : 'Dark';
}
});
}
// --- Mobile Hamburger Menu ---
function initHamburgerMenu() {
const hamburgerBtn = document.getElementById('hamburgerBtn');
const mobileMenu = document.getElementById('mobileMenu');
const overlay = document.getElementById('mobileMenuOverlay');
if (!hamburgerBtn || !mobileMenu || !overlay) return;
hamburgerBtn.addEventListener('click', () => {
mobileMenu.classList.add('active');
overlay.classList.add('active');
document.body.style.overflow = 'hidden';
});
overlay.addEventListener('click', () => {
mobileMenu.classList.remove('active');
overlay.classList.remove('active');
document.body.style.overflow = '';
});
}
// --- Scroll to Top Button ---
function initScrollTop() {
const scrollTopBtn = document.getElementById("scrollTopBtn");
if (!scrollTopBtn) return;
window.addEventListener("scroll", () => {
if (window.pageYOffset > 300) {
scrollTopBtn.classList.add("show");
} else {
scrollTopBtn.classList.remove("show");
}
});
scrollTopBtn.addEventListener("click", () => {
window.scrollTo({
top: 0,
behavior: "smooth"
});
});
}
// --- DOM Initialization ---
document.addEventListener('DOMContentLoaded', () => {
const savedTheme = localStorage.getItem('agritech-theme') || 'dark';
document.documentElement.setAttribute('data-theme', savedTheme);
const currentYearSpan = document.getElementById("current-year");
if (currentYearSpan) {
currentYearSpan.textContent = new Date().getFullYear();
}
includeHTML(() => {
initThemeToggle();
initHamburgerMenu();
initServicesDropdown();
});
initScrollTop();
});
</script>
</body>
</html>