-
Notifications
You must be signed in to change notification settings - Fork 276
/
homepage.html
622 lines (591 loc) · 23.6 KB
/
homepage.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
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
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>AmbuFlow</title>
<link rel="stylesheet" href="src/css/index.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"
/>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 0;
color: #333;
display: flex;
flex-direction: column;
min-height: 100vh;
}
.menu ul li a {
padding: 0.625rem 0.9375rem; /* 10px 15px */
color: black;
text-decoration: none;
}
.menu ul li a.active {
color: white;
background-color: #000;
}
.content {
margin: 1.25rem; /* 20px */
padding: 1.25rem; /* 20px */
background-color: #fff;
border-radius: 0.3125rem; /* 5px */
flex-grow: 1;
}
h1 {
color: #2c3e50;
text-align: center;
margin-bottom: 1.25rem; /* 20px */
}
.grid {
display: grid;
grid-template-columns: repeat(
auto-fill,
minmax(15.625rem, 1fr)
); /* 250px */
grid-template-rows: auto auto;
gap: 1.25rem; /* 20px */
animation: fadeIn 1s ease-in-out;
}
.feature {
background-color: #e7f3fe;
border-radius: 0.625rem; /* 10px */
padding: 0.9375rem; /* 15px */
text-align: center;
transition: transform 0.3s, box-shadow 0.3s;
box-shadow: 0 0.125rem 0.3125rem rgba(0, 0, 0, 0.2); /* 0 2px 5px */
}
.feature:hover {
transform: translateY(-0.3125rem); /* -5px */
box-shadow: 0 0.25rem 0.625rem rgba(102, 18, 18, 0.3); /* 0 4px 10px */
}
.feature img {
width: 6.25rem; /* 100px */
height: 6.25rem; /* 100px */
object-fit: cover;
margin-bottom: 0.625rem; /* 10px */
border-radius: 50%;
}
.feature h2 {
color: #2980b9;
margin-bottom: 0.625rem; /* 10px */
}
.feature p {
color: #555;
}
.team-feature {
background-color: #e7ffe7;
padding: 1.25rem; /* 20px */
display: flex;
align-items: center;
text-align: left;
border-radius: 0.625rem; /* 10px */
box-shadow: 0 0.125rem 0.3125rem rgba(0, 0, 0, 0.2); /* 0 2px 5px */
grid-column: 1 / -1;
transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transition for smooth effect */
}
.team-feature:hover {
transform: scale(1.05); /* Slightly increase the size */
box-shadow: 0 0.25rem 0.625rem rgba(0, 0, 0, 0.3); /* Increase shadow on hover */
}
.team-feature img {
width: 9.375rem; /* 150px */
height: auto;
margin-right: 1.25rem; /* 20px */
border-radius: 0.625rem; /* 10px */
}
.contact-feature {
background-color: #f2e4aa;
padding: 1.25rem; /* 20px */
display: flex;
align-items: center;
text-align: left;
border-radius: 0.625rem; /* 10px */
box-shadow: 0 0.125rem 0.3125rem rgba(0, 0, 0, 0.2); /* 0 2px 5px */
grid-column: 1 / -1;
transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transition for smooth effect */
}
.contact-feature:hover {
transform: scale(1.05); /* Slightly increase the size */
box-shadow: 0 0.25rem 0.625rem rgba(0, 0, 0, 0.3); /* Increase shadow on hover */
}
.contact-feature img {
width: 9.375rem; /* 150px */
height: auto;
margin-right: 1.25rem; /* 20px */
border-radius: 0.625rem; /* 10px */
}
footer {
background-color: #000;
color: white;
text-align: center;
padding: 0.625rem 0; /* 10px 0 */
position: relative;
bottom: 0;
width: 100%;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
</style>
</head>
<body>
<header>
<div class="container">
<div class="logo">
<a href="./index.html" target="_self">
<img
src="images/logo2-w.webp"
alt="Ambulance Monitoring System Logo"
style="width: 3.125rem; height: auto"
/>
</a>
<!-- 50px -->
</div>
<nav class="menu">
<ul>
<li>
<a
href="./index.html"
target="_self"
id="home-link"
onclick="changeContent('home')"
>Home</a
>
</li>
<li>
<a
href="features.html"
id="features-link"
onclick="changeContent('features')"
>Features</a
>
</li>
<li>
<a href="team.html" id="team-link" onclick="changeContent('team')"
>Team</a
>
</li>
<li>
<a
href="contact.html"
id="contact-link"
onclick="changeContent('contact')"
>Contact</a
>
</li>
</ul>
<div class="hamburger" onclick="toggleMenu()">
<div class="bar"></div>
<div class="bar"></div>
<div class="bar"></div>
</div>
</nav>
<div class="buttons">
<a href="login.html" class="login">Log in</a>
<a href="up.html" class="get-started">Get started</a>
</div>
</div>
</header>
<div class="content" id="main-content">
<h1>Welcome to AmbuFlow</h1>
<div class="grid">
<div class="feature">
<img src="images/emergency-w.jpg" alt="Emergency Response" />
<h2>Quick Emergency Response</h2>
<p>
Ensures patients receive timely medical assistance by locating the
nearest hospitals and ambulances.
</p>
</div>
<div class="feature">
<img src="images/ambulance-w.jpg" alt="Real-Time Tracking" />
<h2>Real-Time Tracking</h2>
<p>
Provides real-time updates on ambulance locations and traffic
conditions, optimizing route management.
</p>
</div>
<div class="feature">
<img src="images/24-w.jpg" alt="24/7 Availability" />
<h2>24/7 Availability</h2>
<p>
Ensures round-the-clock service, making sure that help is just a
call away, anytime, anywhere.
</p>
</div>
<div class="feature">
<img src="images/doctor-w.jpg" alt="Enhanced Communication" />
<h2>Enhanced Communication</h2>
<p>
Facilitates seamless communication between patients, hospitals, and
ambulance drivers.
</p>
</div>
<div class="feature">
<img src="images/hospital-w.jpg" alt="Resource Management" />
<h2>Resource Management</h2>
<p>
Helps hospitals manage their resources efficiently by providing
critical information and analytics.
</p>
</div>
<!-- Team Section in Full Row -->
<div class="team-feature">
<img src="images/team-w.png" alt="Meet the Team" />
<div>
<h2>Meet the Team</h2>
<p>
Learn more about our dedicated team working tirelessly to ensure
efficient ambulance monitoring and resource management.
</p>
<a href="team.html" class="button">Go to Team</a>
</div>
</div>
<!-- Contact Section in Full Row -->
<div class="contact-feature">
<img src="images/contact-w.avif" alt="Contact Us" />
<div>
<h2>Contact Us</h2>
<p>
Reach out to us for any inquiries or assistance. We're here to
help you 24/7 withHere's your updated HTML with all pixel values
converted to `rem`: ```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0"
/>
<title>AmbuFlow</title>
<link rel="stylesheet" href="src/css/index.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"
/>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 0;
color: #333;
display: flex;
flex-direction: column;
min-height: 100vh;
}
.menu ul li a {
padding: 0.625rem 0.9375rem; /* 10px 15px */
color: black;
text-decoration: none;
}
.menu ul li a.active {
color: white;
background-color: #000;
}
.content {
margin: 1.25rem; /* 20px */
padding: 1.25rem; /* 20px */
background-color: #fff;
border-radius: 0.3125rem; /* 5px */
flex-grow: 1;
}
h1 {
color: #2c3e50;
text-align: center;
margin-bottom: 1.25rem; /* 20px */
}
.grid {
display: grid;
grid-template-columns: repeat(
auto-fill,
minmax(15.625rem, 1fr)
); /* 250px */
grid-template-rows: auto auto;
gap: 1.25rem; /* 20px */
animation: fadeIn 1s ease-in-out;
}
.feature {
background-color: #e7f3fe;
border-radius: 0.625rem; /* 10px */
padding: 0.9375rem; /* 15px */
text-align: center;
transition: transform 0.3s, box-shadow 0.3s;
box-shadow: 0 0.125rem 0.3125rem rgba(0, 0, 0, 0.2); /* 0 2px 5px */
}
.feature:hover {
transform: translateY(-0.3125rem); /* -5px */
box-shadow: 0 0.25rem 0.625rem rgba(0, 0, 0, 0.3); /* 0 4px 10px */
}
.feature img {
width: 6.25rem; /* 100px */
height: 6.25rem; /* 100px */
object-fit: cover;
margin-bottom: 0.625rem; /* 10px */
border-radius: 50%;
}
.feature h2 {
color: #2980b9;
margin-bottom: 0.625rem; /* 10px */
}
.feature p {
color: #555;
}
.team-feature {
background-color: #e7ffe7;
padding: 1.25rem; /* 20px */
display: flex;
align-items: center;
text-align: left;
border-radius: 0.625rem; /* 10px */
box-shadow: 0 0.125rem 0.3125rem rgba(0, 0, 0, 0.2); /* 0 2px 5px */
grid-column: 1 / -1;
}
.team-feature img {
width: 9.375rem; /* 150px */
height: auto;
margin-right: 1.25rem; /* 20px */
border-radius: 0.625rem; /* 10px */
}
.contact-feature {
background-color: #f2e4aa;
padding: 1.25rem; /* 20px */
display: flex;
align-items: center;
text-align: left;
border-radius: 0.625rem; /* 10px */
box-shadow: 0 0.125rem 0.3125rem rgba(0, 0, 0, 0.2); /* 0 2px 5px */
grid-column: 1 / -1;
}
.contact-feature img {
width: 9.375rem; /* 150px */
height: auto;
margin-right: 1.25rem; /* 20px */
border-radius: 0.625rem; /* 10px */
}
footer {
background-color: #000;
color: white;
text-align: center;
padding: 0.625rem 0; /* 10px 0 */
position: relative;
bottom: 0;
width: 100%;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
</style>
</head>
<body>
<header>
<div class="container">
<div class="logo">
<img
src="images/logo2-w.webp"
alt="Ambulance Monitoring System Logo"
style="width: 3.125rem; height: auto"
/>
<!-- 50px -->
</div>
<nav>
<ul>
<li>
<a
href="homepage.html"
id="home-link"
onclick="changeContent('home')"
>Home</a
>
</li>
<li>
<a
href="features.html"
id="features-link"
onclick="changeContent('features')"
>Features</a
>
</li>
<li>
<a
href="team.html"
id="team-link"
onclick="changeContent('team')"
>Team</a
>
</li>
<li>
<a
href="contact.html"
id="contact-link"
onclick="changeContent('contact')"
>Contact</a
>
</li>
</ul>
<div class="hamburger" onclick="toggleMenu()">
<div class="bar"></div>
<div class="bar"></div>
<div class="bar"></div>
</div>
</nav>
<div class="buttons">
<a href="login.html" class="login">Log in</a>
<a href="up.html" class="get-started">Get started</a>
</div>
</div>
</header>
<div class="content" id="main-content">
<h1>Welcome to AmbuFlow</h1>
<div class="grid">
<div class="feature">
<img
src="images/emergency-w.jpg"
alt="Emergency Response"
/>
<h2>Quick Emergency Response</h2>
<p>
Ensures patients receive timely medical assistance by
locating the nearest hospitals and ambulances.
</p>
</div>
<div class="feature">
<img
src="images/ambulance-w.jpg"
alt="Real-Time Tracking"
/>
<h2>Real-Time Tracking</h2>
<p>
Provides real-time updates on ambulance locations and
traffic conditions, optimizing route management.
</p>
</div>
<div class="feature">
<img src="images/24-w.jpg" alt="24/7 Availability" />
<h2>24/7 Availability</h2>
<p>
Ensures round-the-clock service, making sure that help
is just a call away, anytime, anywhere.
</p>
</div>
<div class="feature">
<img
src="images/doctor-w.jpg"
alt="Enhanced Communication"
/>
<h2>Enhanced Communication</h2>
<p>
Facilitates seamless communication between patients,
hospitals, and ambulance drivers.
</p>
</div>
<div class="feature">
<img
src="images/hospital-w.jpg"
alt="Resource Management"
/>
<h2>Resource Management</h2>
<p>
Helps hospitals manage their resources efficiently by
providing critical information and analytics.
</p>
</div>
<!-- Team Section in Full Row -->
<div class="team-feature">
<img src="images/team-w.png" alt="Meet the Team" />
<div>
<h2>Meet the Team</h2>
<p>
Learn more about our dedicated team working
tirelessly to ensure efficient ambulance monitoring
and resource management.
</p>
<a href="team.html" class="button">Go to Team</a>
</div>
</div>
<!-- Contact Section in Full Row -->
<div class="contact-feature">
<img src="images/contact-w.avif" alt="Contact Us" />
<div>
<h2>Contact Us</h2>
<p>
Reach out to us for any inquiries or assistance.
We're here to help you 24/7 with our dedicated
support.
</p>
</div>
</div>
</div>
</div>
<script src="src/js/index.js"></script>
</body>
</html>
</p>
</div>
</div>
</div>
</div>
</div>
<footer style= " color: #f3f4f6; text-align: center; width: 100%;">
<div style="background-color: #C4D7FF; color: #f3f4f6; ">
<div style="display: flex; justify-content: space-between; flex-wrap: wrap; max-width: 1200px; margin: 0 auto;">
<!-- Quick Links Section -->
<div class="quick-links" style="flex: 1 1 200px; min-width: 200px; margin-bottom: 20px; width: 100%; box-sizing: border-box;">
<h3 style="font-size: 1.5rem; margin-bottom: 10px; color: #2980b9;">Quick Links</h3>
<ul class="quick-links-list" style="list-style-type: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: space-around;">
<li style="flex: 1 1 150px; margin: 10px 0;"><a href="about.html" style="color: #000000; text-decoration: none;">About Us</a></li>
<li style="flex: 1 1 150px; margin: 10px 0;"><a href="contact.html" style="color: #000000; text-decoration: none;">Contact Us</a></li>
<li style="flex: 1 1 150px; margin: 10px 0;"><a href="privacy.html" style="color: #000000; text-decoration: none;">Privacy Policy</a></li>
<li style="flex: 1 1 150px; margin: 10px 0;"><a href="terms.html" style="color: #000000; text-decoration: none;">Terms of Service</a></li>
<li style="flex: 1 1 150px; margin: 10px 0;"><a href="sitemap.html" style="color: #000000; text-decoration: none;">Site Map</a></li>
</ul>
</div>
<!-- Contact Information Section -->
<div style="flex: 1; min-width: 200px; margin-bottom: 10px;">
<h3 style="font-size: 1.5rem; color: #2980b9;">Contact Info</h3>
<p style="color: #000;">123 Emergency Lane, Mumbai, India</p>
<a href="mailto:emergency@ambulanceservice.in" style="color: #000000;">emergency@ambulanceservice.in</a></p>
<p style="color: #000000;">Phone: <a href="tel:+91-911-1234567" style="color: #000000;">+91-911-1234567</a></p>
</div>
<!-- Social Media Links -->
<div style="flex: 1; min-width: 200px; margin-bottom: 20px;">
<h3 style="font-size: 1.5rem; margin-bottom: 10px; color: #2980b9;">Follow Us</h3>
<a href="https://www.facebook.com" target="_blank" style="color: #000000; text-decoration: none; margin-right: 10px;"><i class="fab fa-facebook-f"></i> Facebook</a><br>
<a href="https://www.twitter.com" target="_blank" style="color: #000000; text-decoration: none; margin-right: 10px;"><i class="fa-brands fa-x-twitter"></i> Twitter</a><br>
<a href="https://www.instagram.com" target="_blank" style="color: #000000; text-decoration: none; margin-right: 10px;"><i class="fab fa-instagram"></i> Instagram</a><br>
<a href="https://www.linkedin.com" target="_blank" style="color: #000000; text-decoration: none; margin-right: 10px;"><i class="fab fa-linkedin-in"></i> LinkedIn</a>
</div>
<!-- Newsletter Subscription -->
<div style="flex: 1; min-width: 200px; margin-bottom: 20px;">
<h3 style="font-size: 1.5rem; margin-bottom: 10px; color: #2980b9;">Subscribe to Our Newsletter</h3>
<form action="#">
<i class="fas fa-envelope" style="position: absolute; top: 7.99rem; right: 18.8rem; color: gray; font-size: 13px;"></i>
<input type="email" placeholder="Your Email" style="padding: 10px; width: 80%; border: none; border-radius: 5px; padding-left: 26px;" required><br><br>
<button type="submit" style="background-color: #ff0000; color: white; padding: 10px 20px; border: none; cursor: pointer; border-radius: 5px;">Subscribe</button>
</form>
</div>
</div>
</div>
<hr>
<!-- Copyright Section -->
<strong><p style="background-color: #C4D7FF; color: #000000; ">© 2024 AmbuFlow. All rights reserved.</p></strong>
</footer>
<script src="src/js/index.js"></script>
</body>
</html>