-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
260 lines (235 loc) · 10.4 KB
/
Copy pathindex.html
File metadata and controls
260 lines (235 loc) · 10.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CropSync - Smart Crop Management</title>
<link rel="icon" type="image/x-icon" href="favicon-crop.png">
<link rel="mask-icon" href="/docs/5.2/assets/img/favicons/safari-pinned-tab.svg" color="#712cf9">
<link rel="apple-touch-icon" href="/docs/5.2/assets/img/favicons/apple-touch-icon.png" sizes="180x180">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/weather-icons/2.0.12/css/weather-icons.min.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- Navigation -->
<nav id="nav" class="navbar navbar-expand-lg fixed-top">
<div class="container">
<a class="navbar-brand" href="#home">
<img src="cropsync.png" alt="CropSync" width="150">
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ms-auto">
<li class="nav-item"><a class="nav-link" href="#weather">Weather</a></li>
<li class="nav-item"><a class="nav-link" href="#about">About</a></li>
<li class="nav-item"><a class="nav-link" href="#contact">Contact</a></li>
</ul>
</div>
</div>
</nav>
<!-- Hero Section -->
<header id="home" class="hero-section">
<div class="container text-center">
<h1 class="hero-title">Smart Crop Management</h1>
<p class="hero-subtitle">Optimize your farming with data-driven insights</p>
</div>
</header>
<!-- Weather Section -->
<section id="weather" class="weather-section">
<div class="container">
<div class="row">
<div class="col-md-6 mx-auto">
<div class="weather-card">
<div class="weather-header">
<h2>Current Weather</h2>
<p class="location">Himalayas</p>
</div>
<div class="weather-body">
<div class="weather-temp">
<span class="temp">--</span>
<span class="unit">°C</span>
</div>
<div class="weather-icon">
<i class="wi wi-day-sunny"></i>
</div>
<div class="weather-details">
<div class="weather-detail">
<i class="wi wi-raindrops"></i>
<span class="rain">-- mm</span>
</div>
<div class="weather-detail">
<i class="wi wi-strong-wind"></i>
<span class="wind">-- km/h</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Crop Tool Section -->
<section id="crop-tool" class="crop-tool-section">
<div class="container">
<div class="section-header text-center">
<h2>Crop Planning Tool</h2>
<p>Get customized growing plans for your crops</p>
</div>
<div class="row">
<div class="col-lg-6">
<div class="crop-form-card">
<h3>Enter Crop Details</h3>
<form id="cropForm">
<div class="mb-3">
<label for="category" class="form-label">Select a category:</label>
<select id="category" class="form-select">
<option value="kharif">Kharif (Monsoon Crops)</option>
<option value="rabi">Rabi (Winter Crops)</option>
</select>
</div>
<div class="mb-3">
<label for="crop" class="form-label">Select a crop:</label>
<select id="crop" class="form-select"></select>
</div>
<div class="mb-3">
<label for="startDate" class="form-label">Start Date:</label>
<input type="date" id="startDate" class="form-control">
</div>
<div class="d-grid gap-2">
<button id="calculateButton" type="button" class="btn btn-outline-primary">Calculate Timeline</button>
<button id="enterButton" type="button" class="btn btn-primary">View Growing Guide</button>
</div>
<div id="result" class="result-box mt-3"></div>
</form>
</div>
</div>
<div class="col-lg-6">
<div class="guide-card">
<h3 class="guide-title">Growing Guide</h3>
<div class="resume-item" id="crop-guide">
<p class="text-center guide-placeholder">Select a crop and click "View Growing Guide" to see detailed instructions</p>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- About Section -->
<section id="about" class="about-section">
<div class="container">
<div class="section-header text-center">
<h2>About CropSync</h2>
</div>
<div class="row align-items-center">
<div class="col-lg-6">
<div class="about-image">
<img src="about-image.jpg" alt="Farming Technology" class="img-fluid rounded">
</div>
</div>
<div class="col-lg-6">
<div class="about-content">
<p>CropSync is a cutting-edge technology company dedicated to revolutionizing the way farmers track and manage their crops. We understand the challenges faced by modern farmers and aim to provide them with innovative solutions to enhance their productivity and efficiency.</p>
<p>Our mission is to transform farming practices and cultivate a more sustainable future. Experience the power of CropSync and unlock the true potential of your crops.</p>
<div class="weather-widget mt-4">
<a class="weatherwidget-io" href="https://forecast7.com/en/31d1077d17/himachal-pradesh/" data-label_1="HIMACHAL PRADESH" data-label_2="WEATHER" data-theme="pure">HIMACHAL PRADESH WEATHER</a>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Contact Section -->
<section id="contact" class="contact-section">
<div class="container">
<div class="section-header text-center">
<h2>Contact Us</h2>
<p>Get in touch with our team</p>
</div>
<div class="row">
<div class="col-lg-6">
<div class="contact-info">
<div class="contact-item">
<i class="fas fa-map-marker-alt"></i>
<div>
<h3>Our Location</h3>
<p>Himachal Pradesh, India</p>
</div>
</div>
<div class="contact-item">
<i class="fas fa-envelope"></i>
<div>
<h3>Email Us</h3>
<p>info@cropsync.com</p>
</div>
</div>
<div class="contact-item">
<i class="fas fa-phone-alt"></i>
<div>
<h3>Call Us</h3>
<p>+91 98765 43210</p>
</div>
</div>
<div class="map-container">
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d7055748.246152731!2d80.29902304295119!3d30.288664360022615!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3995b9ebef1235bd%3A0x3ae1297b70640201!2sHimalayas!5e0!3m2!1sen!2sin!4v1696337272659!5m2!1sen!2sin" width="100%" height="250" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>
</div>
</div>
</div>
<div class="col-lg-6">
<form class="contact-form">
<div class="mb-3">
<input type="text" class="form-control" placeholder="Your Name" required>
</div>
<div class="mb-3">
<input type="email" class="form-control" placeholder="Your Email" required>
</div>
<div class="mb-3">
<input type="text" class="form-control" placeholder="Subject">
</div>
<div class="mb-3">
<textarea class="form-control" rows="5" placeholder="Your Message" required></textarea>
</div>
<div class="text-center">
<button type="submit" class="btn btn-primary">Send Message</button>
</div>
</form>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="footer-section">
<div class="container">
<div class="footer-content">
<div class="social-icons">
<a href="#"><i class="fab fa-facebook-f"></i></a>
<a href="#"><i class="fab fa-twitter"></i></a>
<a href="#"><i class="fab fa-instagram"></i></a>
<a href="#"><i class="fab fa-linkedin-in"></i></a>
</div>
<ul class="footer-links">
<li><a href="#home">Home</a></li>
<li><a href="#weather">Weather</a></li>
<li><a href="#about">About</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
<div class="translate-box" id="google_translate_element"></div>
<p class="copyright">© 2023 CropSync | All Rights Reserved</p>
</div>
</div>
</footer>
<!-- Scripts -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
<script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
<script>
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: 'en'}, 'google_translate_element');
}
!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src='https://weatherwidget.io/js/widget.min.js';fjs.parentNode.insertBefore(js,fjs);}}(document,'script','weatherwidget-io-js');
</script>
<script src="scripts.js"></script>
</body>
</html>