forked from omroy07/AgriTech
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontact.html
More file actions
259 lines (234 loc) · 9.48 KB
/
Copy pathcontact.html
File metadata and controls
259 lines (234 loc) · 9.48 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact Us - AgriTech</title>
<link rel="stylesheet" href="contact.css">
<!-- our new fix styles -->
<!-- <link rel="stylesheet" href="contact.css"> -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<!-- Favicon -->
<link rel="icon" type="image/png" href="images/logo.png">
</head>
<body>
<div class="container">
<!-- HEADER -->
<header class="header">
<div class="header-content">
<div class="logo">
<i class="fas fa-seedling"></i>
<span>AgriTech</span>
</div>
<button class="theme-toggle" id="themeToggle">
<i class="fas fa-sun"></i>
</button>
</div>
</header>
<!-- HERO -->
<section class="hero">
<div class="hero-content">
<h1>Get in Touch</h1>
<p>Have questions about our AI-powered agricultural solutions? We're here to help farmers, agricultural professionals, and communities grow smarter and more sustainably.</p>
</div>
<div class="hero-decoration">
<i class="fas fa-tractor"></i>
</div>
</section>
<!-- CONTACT METHODS -->
<section class="contact-methods">
<div class="method-card">
<div class="method-icon">
<i class="fas fa-envelope"></i>
</div>
<h3>Email Support</h3>
<p>Get detailed assistance with technical questions</p>
<a href="mailto:support@agritech.com">support@agritech.com</a>
</div>
<div class="method-card">
<div class="method-icon">
<i class="fas fa-phone"></i>
</div>
<h3>Phone Support</h3>
<p>Speak directly with our agricultural experts</p>
<a href="tel:+1234567890">+1 (234) 567-890</a>
</div>
<div class="method-card">
<div class="method-icon">
<i class="fas fa-comments"></i>
</div>
<h3>Community Chat</h3>
<p>Join our farmer community for peer support</p>
<a href="#community">Join Community</a>
</div>
</section>
<!-- CONTACT FORM -->
<section class="contact-form-section">
<div class="form-container">
<div class="form-header">
<h2>Send us a Message</h2>
<p>Whether you're a farmer seeking guidance, a researcher interested in collaboration, or someone with questions about our AI-powered tools, we'd love to hear from you.</p>
</div>
<form class="contact-form" id="contactForm">
<div class="form-row">
<div class="form-group">
<label for="firstName">First Name *</label>
<input type="text" id="firstName" name="firstName" required placeholder="Enter first name">
</div>
<div class="form-group">
<label for="lastName">Last Name *</label>
<input type="text" id="lastName" name="lastName" required placeholder="Enter last name">
</div>
</div>
<div class="form-row">
<div class="form-group">
<label for="email">Email Address *</label>
<input type="email" id="email" name="email" required placeholder="Enter email address">
</div>
<div class="form-group">
<label for="phone">Phone Number</label>
<input type="tel" id="phone" name="phone" placeholder="Enter phone number">
</div>
</div>
<div class="form-group">
<label for="userType">I am a...</label>
<select id="userType" name="userType">
<option value="">Select your role</option>
<option value="farmer">Farmer</option>
<option value="researcher">Agricultural Researcher</option>
<option value="student">Student</option>
<option value="business">Agribusiness Professional</option>
<option value="developer">Developer/Contributor</option>
<option value="other">Other</option>
</select>
</div>
<div class="form-group">
<label for="subject">Subject *</label>
<select id="subject" name="subject" required>
<option value="">Select a topic</option>
<option value="crop-recommendation">Crop Recommendation</option>
<option value="yield-prediction">Yield Prediction</option>
<option value="disease-detection">Disease Detection</option>
<option value="technical-support">Technical Support</option>
<option value="collaboration">Partnership/Collaboration</option>
<option value="feedback">Feedback/Suggestions</option>
<option value="other">Other</option>
</select>
</div>
<div class="form-group">
<label for="message">Message *</label>
<textarea id="message" name="message" rows="6" placeholder="Please describe your question, issue, or how we can help you..." required></textarea>
</div>
<div class="form-group checkbox-group">
<input type="checkbox" id="newsletter" name="newsletter">
<label for="newsletter">I'd like to receive updates about new features and agricultural insights</label>
</div>
<button type="submit" class="submit-btn">
<i class="fas fa-paper-plane"></i>
Send Message
</button>
</form>
</div>
</section>
<!-- TEAM MEMBERS -->
<section class="team-section">
<h2>Meet Our Team</h2>
<div class="team-grid">
<div class="team-member">
<div class="member-avatar">
<i class="fas fa-user"></i>
</div>
<h3>Om Roy</h3>
<p>Project Lead & ML Engineer</p>
<div class="social-links">
<a href="https://github.com/omroy07"><i class="fab fa-github"></i></a>
</div>
</div>
<div class="team-member">
<div class="member-avatar">
<i class="fas fa-user"></i>
</div>
<h3>Kanisha Sharma</h3>
<p>ML Engineer & Backend Developer</p>
<div class="social-links">
<a href="https://github.com/KanishaSharma11"><i class="fab fa-github"></i></a>
</div>
</div>
<div class="team-member">
<div class="member-avatar">
<i class="fas fa-user"></i>
</div>
<h3>Shubhangi Roy</h3>
<p>ML Engineer & Backend Developer</p>
<div class="social-links">
<a href="https://github.com/ShubhangiRoy12"><i class="fab fa-github"></i></a>
</div>
</div>
</div>
</section>
<!-- FAQ -->
<section class="faq-section">
<h2>Frequently Asked Questions</h2>
<div class="faq-grid">
<div class="faq-item">
<h3>How accurate are the crop recommendations?</h3>
<p>Our AI models are trained on extensive agricultural data and provide recommendations with high accuracy based on your soil conditions and local weather patterns.</p>
</div>
<div class="faq-item">
<h3>Is AgriTech suitable for small-scale farmers?</h3>
<p>Absolutely! AgriTech is designed to be accessible and valuable for farmers of all scales, from small family farms to large agricultural operations.</p>
</div>
<div class="faq-item">
<h3>How do I join the farmer community?</h3>
<p>Simply create an account on our platform and you'll have access to our community chat features where you can connect with fellow farmers and share experiences.</p>
</div>
<div class="faq-item">
<h3>Do you offer training on using the platform?</h3>
<p>Yes! We provide comprehensive guides, video tutorials, and offer support sessions to help you get the most out of all AgriTech features.</p>
</div>
</div>
</section>
</div>
<script>
// Theme toggle functionality
const themeToggle = document.getElementById('themeToggle');
const body = document.body;
themeToggle.addEventListener('click', () => {
body.classList.toggle('dark-mode');
const icon = themeToggle.querySelector('i');
if (body.classList.contains('dark-mode')) {
icon.className = 'fas fa-moon';
localStorage.setItem('theme', 'dark');
} else {
icon.className = 'fas fa-sun';
localStorage.setItem('theme', 'light');
}
});
// Load saved theme
const savedTheme = localStorage.getItem('theme');
if (savedTheme === 'dark') {
body.classList.add('dark-mode');
themeToggle.querySelector('i').className = 'fas fa-moon';
}
// Form submission
document.getElementById('contactForm').addEventListener('submit', function(e) {
e.preventDefault();
alert('Thank you for your message! We\'ll get back to you soon.');
this.reset();
});
// Smooth scrolling for anchor links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
const target = document.querySelector(this.getAttribute('href'));
if (target) {
target.scrollIntoView({
behavior: 'smooth'
});
}
});
});
</script>
</body>
</html>