-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.php
More file actions
316 lines (278 loc) · 8.06 KB
/
index.php
File metadata and controls
316 lines (278 loc) · 8.06 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AgroWave</title>
<link rel="icon" type="image/png" href="assets/img/logo.png">
<!-- Font Awesome for icons -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" rel="stylesheet">
<style>
/* General Styles */
body {
margin: 0;
font-family: 'Arial', sans-serif;
background: url('assets/img/x.jpg') no-repeat center center fixed;
background-size: cover;
color: #333;
overflow-x: hidden;
}
a {
text-decoration: none;
color: inherit;
}
a:hover {
color: #007bff;
}
/* Hero Section */
header {
height: 100vh;
background: rgba(0, 0, 0, 0.6);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
color: white;
padding: 0 20px;
}
header h1 {
font-size: 4rem;
font-weight: bold;
margin-bottom: 20px;
}
header p {
font-size: 1.5rem;
margin-bottom: 30px;
max-width: 700px;
}
header button {
background: #ffc107;
border: none;
color: #333;
padding: 15px 30px;
font-size: 16px;
border-radius: 30px;
cursor: pointer;
transition: 0.3s ease;
}
header button:hover {
background: #e0a800;
}
/* Features Section */
.features {
padding: 80px 20px;
background: rgba(255, 255, 255, 0.9);
text-align: center;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
width: 80%;
margin: -60px auto 0 auto; /* Adjusted for better spacing */
border-radius: 20px;
z-index: 1;
position: relative;
}
.features h3 {
font-size: 2.5rem;
font-weight: bold;
color: #28a745;
margin-bottom: 40px;
}
.features .row {
display: flex;
justify-content: center;
gap: 30px;
flex-wrap: wrap;
}
.features .card {
background: #f9f9f9;
border-radius: 15px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
padding: 30px;
width: 300px;
text-align: center;
transition: transform 0.3s ease, box-shadow 0.3s ease;
margin-top: 20px;
}
.features .card:hover {
transform: translateY(-10px);
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.features .card i {
margin-bottom: 20px;
font-size: 3rem;
color: #007bff;
}
.features .card h4 {
font-size: 1.5rem;
margin-bottom: 10px;
color: #333;
}
.features .card p {
font-size: 1rem;
color: #666;
}
/* Innovations and News Section */
.innovations, .news, .content {
padding: 50px 20px;
text-align: center;
background: rgba(255, 255, 255, 0.9);
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
margin: 50px auto;
width: 80%;
border-radius: 20px;
position: relative;
}
.innovations h3, .news h3, .content h3 {
font-size: 2.5rem;
font-weight: bold;
color: #28a745;
margin-bottom: 30px;
}
.innovation-item, .news-item, .content-item {
margin-bottom: 20px;
font-size: 1.2rem;
color: #333;
line-height: 1.6;
transition: transform 0.3s ease;
}
.innovation-item:hover, .news-item:hover, .content-item:hover {
transform: translateX(10px);
}
/* Footer */
footer {
background: #333;
color: white;
text-align: center;
padding: 20px;
position: relative;
bottom: 0;
width: 100%;
}
footer p {
margin: 0;
font-size: 14px;
}
/* Media Queries for Responsiveness */
@media (max-width: 768px) {
header h1 {
font-size: 3rem;
}
header p {
font-size: 1.2rem;
}
.features .row {
flex-direction: column;
gap: 20px;
}
.features .card {
width: 100%;
}
}
/* Simple Footer Styles */
.simple-footer {
background-color: #333;
color: white;
text-align: center;
padding: 20px;
font-size: 14px;
position: relative;
bottom: 0;
width: 100%;
}
.simple-footer .social-icons {
margin-top: 10px;
}
.simple-footer .social-icons a {
margin: 0 10px;
color: white;
font-size: 1.2rem;
transition: color 0.3s ease;
}
.simple-footer .social-icons a:hover {
color: #ffc107;
}
.simple-footer i {
color: #e74c3c;
}
</style>
</head>
<body>
<?php include('navbar.php'); ?>
<!-- Hero Section -->
<header>
<h1>Welcome to AgroWave</h1>
<p>Your Trusted Partner in Modern Agriculture</p>
<button onclick="scrollToFeatures()">Explore Features</button>
</header>
<!-- Features Section -->
<section class="features" id="features">
<h3>Features</h3>
<div class="row">
<div class="card">
<i class="fas fa-leaf"></i>
<h4>Sustainable Practices</h4>
<p>We promote eco-friendly and sustainable farming techniques.</p>
</div>
<div class="card">
<i class="fas fa-chart-line"></i>
<h4>Data Analytics</h4>
<p>Data-driven solutions for optimizing agriculture practices.</p>
</div>
<div class="card">
<i class="fas fa-tools"></i>
<h4>Modern Tools</h4>
<p>Advanced tools to empower farmers with technology.</p>
</div>
</div>
</section>
<!-- Bangladeshi Agriculture News Section -->
<section class="news">
<h3>Latest Bangladeshi Agriculture News</h3>
<div class="news-item">
<strong>Government Pushes for Organic Farming to Boost Agriculture</strong><br>
The Bangladeshi government is increasing efforts to promote organic farming, aiming to improve soil health and reduce the environmental impact of conventional agriculture.
</div>
<div class="news-item">
<strong>Bangladesh Farmers to Receive Subsidies for Climate-Smart Agriculture</strong><br>
In an effort to combat climate change, the government has announced subsidies for farmers who adopt climate-smart practices, including water-saving irrigation systems and drought-resistant crops.
</div>
<div class="news-item">
<strong>New Agricultural Technology to Improve Rice Yield</strong><br>
Researchers in Bangladesh have developed a new rice cultivation technology that promises to increase yields by 30%, addressing the food security challenges in the country.
</div>
<div class="news-item">
<strong>Bangladesh's Agriculture Exports Surge Amid Global Demand</strong><br>
Bangladesh's agricultural export sector has experienced a significant boost, with a growing demand for crops like mangoes, jute, and rice from international markets.
</div>
</section>
<!-- Content for Farmers Section -->
<section class="content">
<h3>Content to Empower Farmers</h3>
<div class="content-item">
<strong>Crop Protection Tips:</strong><br>
Learn how to protect your crops from pests and diseases using eco-friendly methods, ensuring healthy harvests and better yields.
</div>
<div class="content-item">
<strong>Climate-Smart Agriculture:</strong><br>
Adopt climate-smart practices to improve productivity and ensure the sustainability of your farm despite climate challenges.
</div>
</section>
<!-- Footer -->
<!-- Footer -->
<!-- Simple Footer -->
<footer class="simple-footer">
<p>© 2024 AgroWave | Designed by AgroWave Team</p>
<div class="social-icons">
<a href="https://www.facebook.com/AgroWave" target="_blank"><i class="fab fa-facebook-f"></i></a>
<a href="https://www.instagram.com/AgroWave" target="_blank"><i class="fab fa-instagram"></i></a>
<a href="https://twitter.com/AgroWave" target="_blank"><i class="fab fa-twitter"></i></a>
<a href="https://www.linkedin.com/company/agrowave" target="_blank"><i class="fab fa-linkedin"></i></a>
</div>
</footer>
<script>
function scrollToFeatures() {
document.getElementById('features').scrollIntoView({ behavior: 'smooth' });
}
</script>
</body>
</html>