-
Notifications
You must be signed in to change notification settings - Fork 1
/
community.html
294 lines (266 loc) · 14.7 KB
/
community.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>FarmFresh - Organic Farm Website Template</title>
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<meta content="Free HTML Templates" name="keywords">
<meta content="Free HTML Templates" name="description">
<!-- Favicon -->
<link href="img/favicon.ico" rel="icon">
<!-- Google Web Fonts -->
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Roboto:wght@500;700&display=swap" rel="stylesheet">
<!-- Icon Font Stylesheet -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/css/all.min.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css" rel="stylesheet">
<!-- Libraries Stylesheet -->
<link href="lib/owlcarousel/assets/owl.carousel.min.css" rel="stylesheet">
<!-- Customized Bootstrap Stylesheet -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<!-- Template Stylesheet -->
<link href="css/style.css" rel="stylesheet">
<style>
h2 {
text-align: center;
}
form {
display: flex;
flex-direction: column;
align-items: center;
}
label {
margin-top: 1em;
}
select {
margin: 0.5em;
padding: 0.5em;
font-size: 1em;
border-radius: 5px;
}
select:disabled {
opacity: 0.5;
}
</style>
</head>
<body>
<!-- Navbar Start -->
<nav class="navbar navbar-expand-lg bg-primary navbar-dark shadow-sm py-3 py-lg-0 px-3 px-lg-5">
<a href="index.html" class="navbar-brand d-flex d-lg-none">
<h1 class="m-0 display-4 text-secondary"><span class="text-white">Farm</span>Fresh</h1>
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarCollapse">
<div class="navbar-nav mx-auto py-0">
<a href="index.html" class="nav-item nav-link active">Home</a>
<a href="about.html" class="nav-item nav-link">About</a>
<a href="news.html" class="nav-item nav-link">News</a>
<a href="service.html" class="nav-item nav-link">Services</a>
<div class="nav-item dropdown">
<a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown">Pages</a>
<div class="dropdown-menu m-0">
<a href="blog.html" class="dropdown-item">Success Stories</a>
<a href="goverment.html" class="dropdown-item">Government Schemes</a>
<a href="Crop.html" class="dropdown-item">Crop Management</a>
<a href="Weather.html" class="dropdown-item">Weather Information</a>
<a href="MarketInformation.html" class="dropdown-item">Market Information</a>
<a href="community.html" class="dropdown-item">Community Forum</a>
<a href="Traning.html" class="dropdown-item">Training and Workshops</a>
<a href="expert.html" class="dropdown-item">Expert Advice</a>
</div>
</div>
<a href="contact.html" class="nav-item nav-link">Contact</a>
</div>
</div>
</nav>
<!-- Navbar End -->
<!-- Hero Start -->
<div class="container-fluid bg-primary py-5 bg-hero mb-5">
<div class="container py-5">
<div class="row justify-content-start">
<div class="col-lg-8 text-center text-lg-start">
<h1 class="display-1 text-white mb-md-4">Community Forum</h1>
<a href="" class="btn btn-primary py-md-3 px-md-5 me-3">Home</a>
<a href="" class="btn btn-secondary py-md-3 px-md-5">Community</a>
</div>
</div>
</div>
</div>
<!-- Hero End -->
<h2>Select a State and City</h2>
<form>
<label for="states">Select a State:</label>
<select id="states">
<option value="">Select a state</option>
<option value="mp">Madhya Pradesh</option>
<option value="uo">Uttar Pradesh</option>
<option value="mh">Maharashtra</option>
<option value="rg">Rajasthan</option>
<!-- Add more states here -->
</select>
<label for="cities">Select a City:</label>
<select id="cities" disabled>
<option value="">Select a city</option>
</select>
</form>
<!-- Features Start -->
<div class="container-fluid bg-primary feature py-5 pb-lg-0 my-5">
<div class="container py-5 pb-lg-0">
<div class="mx-auto text-center mb-3 pb-2" style="max-width: 500px;">
<h6 class="text-uppercase text-secondary">Community</h6>
<h1 class="display-5 text-white">Farmers Community Platforms</h1>
</div>
<div class="row g-5">
<div class="col-lg-3">
<div class="text-white mb-5">
<div class="bg-secondary rounded-pill d-flex align-items-center justify-content-center mb-3" style="width: 60px; height: 60px;">
<i class='fab fa-whatsapp' style='font-size:36px'></i>
</div>
<h4 class="text-white"><a href="https://wa.me/917225075700?text=" target="_blank">Whatsapp</a></h4>
<p class="mb-0">"Join our social group for farmers: Connect, network, and learn from each other."</p>
</div>
<div class="text-white">
<div class="bg-secondary rounded-pill d-flex align-items-center justify-content-center mb-3" style="width: 60px; height: 60px;">
<i class='fab fa-telegram' style='font-size:36px'></i>
</div>
<h4 class="text-white">Telegram</h4>
<p class="mb-0">"Join our social group: Connect with like-minded farmers and stay updated with industry trends."</p>
</div>
</div>
<div class="col-lg-6">
<div class="d-block bg-white h-100 text-center p-5 pb-lg-0">
<p>Farmers Community Platforms connect farmers with information, resources, and support to improve their agricultural practices and livelihoods. Join us to grow your farm and network.</p>
<img class="img-fluid" src="img/community.jpg" alt="">
</div>
</div>
<div class="col-lg-3">
<div class="text-white mb-5">
<div class="bg-secondary rounded-pill d-flex align-items-center justify-content-center mb-3" style="width: 60px; height: 60px;">
<i class='fab fa-facebook-f' style='font-size:36px'></i>
</div>
<h4 class="text-white">Facebook</h4>
<p class="mb-0">"Join our social group for farmers: Connect, discuss and learn from other farmers in your region."</p>
</div>
<div class="text-white">
<div class="bg-secondary rounded-pill d-flex align-items-center justify-content-center mb-3" style="width: 60px; height: 60px;">
<i class='fab fa-instagram' style='font-size:36px'></i>
</div>
<h4 class="text-white">Instagram</h4>
<p class="mb-0">"Join our social group: Connect with farmers, share experiences, and get support from the community."</p>
</div>
</div>
</div>
</div>
</div>
<!-- Features Start -->
<!-- Footer Start -->
<div class="container-fluid bg-footer bg-primary text-white mt-5">
<div class="container">
<div class="row gx-5">
<div class="col-lg-8 col-md-6">
<div class="row gx-5">
<div class="col-lg-4 col-md-12 pt-5 mb-5">
<h4 class="text-white mb-4">Get In Touch</h4>
<div class="d-flex mb-2">
<i class="bi bi-geo-alt text-white me-2"></i>
<p class="text-white mb-0">462033 RGPV, Bhopal, INDIA</p>
</div>
<div class="d-flex mb-2">
<i class="bi bi-envelope-open text-white me-2"></i>
<p class="text-white mb-0">[email protected]</p>
</div>
<div class="d-flex mb-2">
<i class="bi bi-telephone text-white me-2"></i>
<p class="text-white mb-0">+91 12345 67890</p>
</div>
<div class="d-flex mt-4">
<a class="btn btn-secondary btn-square rounded-circle me-2" href="#"><i class="fab fa-twitter"></i></a>
<a class="btn btn-secondary btn-square rounded-circle me-2" href="#"><i class="fab fa-facebook-f"></i></a>
<a class="btn btn-secondary btn-square rounded-circle me-2" href="#"><i class="fab fa-linkedin-in"></i></a>
<a class="btn btn-secondary btn-square rounded-circle" href="#"><i class="fab fa-instagram"></i></a>
</div>
</div>
<div class="col-lg-4 col-md-12 pt-0 pt-lg-5 mb-5">
<h4 class="text-white mb-4">Popular Links</h4>
<div class="d-flex flex-column justify-content-start">
<a class="text-white mb-2" href="#"><i class="bi bi-arrow-right text-white me-2"></i>Crop Management</a>
<a class="text-white mb-2" href="#"><i class="bi bi-arrow-right text-white me-2"></i>Weather Information</a>
<a class="text-white mb-2" href="#"><i class="bi bi-arrow-right text-white me-2"></i>Market Information</a>
<a class="text-white mb-2" href="#"><i class="bi bi-arrow-right text-white me-2"></i>Training and Workshops</a>
<a class="text-white mb-2" href="#"><i class="bi bi-arrow-right text-white me-2"></i>Community Forum</a>
<a class="text-white" href="#"><i class="bi bi-arrow-right text-white me-2"></i>Success Storie</a>
</div>
</div>
<div class="col-lg-4 col-md-12 pt-0 pt-lg-5 mb-5">
<h4 class="text-white mb-4">Quick Links</h4>
<div class="d-flex flex-column justify-content-start">
<a class="text-white mb-2" href="#"><i class="bi bi-arrow-right text-white me-2"></i>Home</a>
<a class="text-white mb-2" href="#"><i class="bi bi-arrow-right text-white me-2"></i>About Us</a>
<a class="text-white mb-2" href="#"><i class="bi bi-arrow-right text-white me-2"></i>Contact Us</a>
<a class="text-white mb-2" href="#"><i class="bi bi-arrow-right text-white me-2"></i>Disclaimer</a>
<a class="text-white mb-2" href="#"><i class="bi bi-arrow-right text-white me-2"></i>Privacy Policy</a>
<a class="text-white" href="#"><i class="bi bi-arrow-right text-white me-2"></i>Site Map</a>
</div>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6 mt-lg-n5">
<div class="d-flex flex-column align-items-center justify-content-center text-center h-100 bg-secondary p-5">
<h4 class="text-white">Newsletter</h4>
<h6 class="text-white">"Stay informed, subscribe today!" </h6>
<p>Sign up for our newsletter to stay up-to-date on the latest agriculture news and trends.</p>
<form action="">
<div class="input-group">
<input type="text" class="form-control border-white p-3" placeholder="Your Number">
<button class="btn btn-primary">Sign Up</button>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<div class="container-fluid bg-dark text-white py-4">
<div class="container text-center">
<p class="mb-0">© <a class="text-secondary fw-bold" href="index.html">Krishi Pradhan</a> 2023 All Rights Reserved.</p>
</div>
</div>
<!-- Footer End -->
<!-- Back to Top -->
<a href="#" class="btn btn-secondary py-3 fs-4 back-to-top"><i class="bi bi-arrow-up"></i></a>
<!-- JavaScript Libraries -->
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<script src="lib/easing/easing.min.js"></script>
<script src="lib/waypoints/waypoints.min.js"></script>
<script src="lib/counterup/counterup.min.js"></script>
<script src="lib/owlcarousel/owl.carousel.min.js"></script>
<!-- Template Javascript -->
<script src="js/main.js"></script>
<script src='https://widget.lovi.ai/lovi-widget.min.js' lovi-id='mTqk905BvVSoznuP6Gj2pVKoFFp2' ></script>
<script>
const states = {
mp: ['Bhopal', 'Indore', 'Gwalior'],
up: ['Lucknow', 'Kanpur', 'Agra'],
mh: ['Jaipur', 'Jodhpur', 'Udaipur'],
rg: ['Mumbai', 'Pune', 'Fayetteville'],
// Add more states and cities here
};
const stateDropdown = document.getElementById('states');
const cityDropdown = document.getElementById('cities');
stateDropdown.addEventListener('change', () => {
const selectedState = stateDropdown.value;
const cities = states[selectedState];
cityDropdown.innerHTML = '<option value="">Select a city</option>';
cityDropdown.disabled = false;
cities.forEach(city => {
const option = document.createElement('option');
option.text = city;
cityDropdown.add(option);
});
});
</script>
</body>
</html>