-
Notifications
You must be signed in to change notification settings - Fork 245
Expand file tree
/
Copy pathabout.html
More file actions
510 lines (443 loc) · 15.9 KB
/
about.html
File metadata and controls
510 lines (443 loc) · 15.9 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
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
<!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="styles/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>
<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>
</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">
<div class="brand-header">
<img src="images/logo.png" alt="AgriTech logo" class="brand-logo" />
<h3>AgriTech</h3>
</div>
<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:[email protected]">
<i class="fas fa-envelope"></i> [email protected]
</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>
<style>
/* FOOTER */
.site-footer {
background: var(--surface-color);
color: var(--text-color);
position: relative;
font-size: 0.95rem;
border-top: 1px solid var(--border-color);
}
.footer-top-accent {
height: 4px;
background: linear-gradient(90deg, #16a34a, #22c55e);
}
.footer-inner-content {
max-width: 1200px;
margin: auto;
padding: 3rem 1.5rem;
display: flex;
justify-content: space-between;
gap: 3rem;
flex-wrap: wrap;
}
.footer-brand {
flex: 1 1 280px;
}
.brand-header {
display: flex;
align-items: center;
gap: 0.6rem;
}
.brand-logo {
width: 42px;
}
.footer-brand h3 {
color: var(--accent-color);
font-size: 1.3rem;
}
.tagline {
margin: 0.8rem 0 1.2rem;
line-height: 1.6;
color: var(--text-muted);
}
.social-icons {
display: flex;
gap: 0.7rem;
}
.social-icons a {
width: 36px;
height: 36px;
background: #e6f4ea;
display: grid;
place-items: center;
border-radius: 50%;
color: #15803d;
transition: all 0.25s ease;
}
.social-icons a:hover {
background: #22c55e;
color: #fff;
}
.footer-group-links {
display: flex;
gap: 3rem;
flex: 1 1 320px;
}
.footer-section h4 {
color: var(--accent-color);
margin-bottom: 0.9rem;
font-size: 1rem;
}
.footer-section ul {
list-style: none;
padding: 0;
margin: 0;
}
.footer-section ul li {
margin-bottom: 0.6rem;
}
.footer-section ul a {
color: var(--text-muted);
text-decoration: none;
display: flex;
align-items: center;
gap: 0.5rem;
transition: color 0.25s ease;
}
.footer-section ul a:hover {
color: var(--accent-color);
}
.footer-bottom {
text-align: center;
padding: 1rem;
background: var(--section-bg);
color: var(--text-muted);
font-size: 0.85rem;
}
.footer-wave-overlay {
display: none;
}
/* Scroll To Top Button */
.scroll-top-btn {
position: fixed;
bottom: 25px;
right: 25px;
width: 52px;
height: 52px;
border-radius: 50%;
border: none;
background: #2ecc71;
color: #ffffff;
font-size: 20px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
opacity: 0;
visibility: hidden;
transform: translateY(20px);
transition: all 0.3s ease;
z-index: 9999;
}
.scroll-top-btn.show {
opacity: 1;
visibility: visible;
transform: translateY(0);
}
.scroll-top-btn:hover {
background: #27ae60;
transform: scale(1.1);
}
</style>
<!-- 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;
// Create circles
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 });
}
// Mouse move
document.addEventListener('mousemove', (e) => {
mouseX = e.clientX;
mouseY = e.clientY;
});
// Click effects
document.addEventListener('mousedown', () => {
circles.forEach(c => c.el.classList.add('cursor-clicking'));
});
document.addEventListener('mouseup', () => {
circles.forEach(c => c.el.classList.remove('cursor-clicking'));
});
// Hover effects on interactive elements
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'));
}
});
// Animate trailing effect
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 (UNCHANGED)
function includeHTML(callback) {
var z, i, elmnt, file, xhttp;
z = document.getElementsByTagName("*");
for (i = 0; i < z.length; i++) {
elmnt = z[i];
file = elmnt.getAttribute("w3-include-html");
if (file) {
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;
}
}
}
// Function to fix Services Dropdown (New logic needed for functionality)
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');
}
});
}
}
// Initialize theme toggle (UNCHANGED)
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';
}
});
}
// Initialize mobile hamburger (UNCHANGED)
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 = '';
});
}
// Run after DOM loads
document.addEventListener('DOMContentLoaded', () => {
// Apply saved theme
const savedTheme = localStorage.getItem('agritech-theme') || 'dark';
document.documentElement.setAttribute('data-theme', savedTheme);
// Include navbar and initialize all parts
includeHTML(() => {
initThemeToggle();
initHamburgerMenu();
initServicesDropdown(); // This starts the dropdown code
});
});
</script>
<script>
document.getElementById("current-year").textContent =
new Date().getFullYear();
</script>
<button id="scrollTopBtn" class="scroll-top-btn" aria-label="Scroll to top">
<i class="fas fa-arrow-up"></i>
</button>
<script>
document.addEventListener("DOMContentLoaded", function () {
const scrollTopBtn = document.getElementById("scrollTopBtn");
if (!scrollTopBtn) return;
// Monitor Scroll Position
window.addEventListener("scroll", function () {
// Show button after scrolling down 300px
if (window.pageYOffset > 300) {
scrollTopBtn.classList.add("show");
} else {
scrollTopBtn.classList.remove("show");
}
});
// Scroll to top on click
scrollTopBtn.addEventListener("click", function () {
window.scrollTo({
top: 0,
behavior: "smooth"
});
});
});
</script>
</body>
</html>