-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathindex.html
248 lines (237 loc) · 11.2 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MED.ai - Smart Healthcare Assistant</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css" rel="stylesheet">
<style>
.navbar {
transition: background-color 0.3s ease;
}
.carousel-item img {
object-fit: cover;
height: 100vh;
filter: brightness(0.5);
}
.feature-card {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
transform: translateY(-10px);
box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.scroll-to-top {
position: fixed;
bottom: 20px;
right: 20px;
display: none;
z-index: 1000;
}
</style>
</head>
<body>
<!-- Navbar -->
<nav class="navbar navbar-expand-lg navbar-dark bg-primary fixed-top">
<div class="container">
<a class="navbar-brand" href="#">
<img src="https://www.freepnglogos.com/uploads/medical-logo-png-14.png" width="30" height="30" alt="MED.ai logo" class="d-inline-block align-top me-2">
MED.ai
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<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="#">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/docs">Docs</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/booking">Book Appointment</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>
<li class="nav-item">
<a class="btn btn-outline-light" href="/chatbot">Chat Now</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- Carousel -->
<div id="mainCarousel" class="carousel slide" data-bs-ride="carousel">
<div class="carousel-inner">
<div class="carousel-item active">
<img src="/static/images/image4.jpg" class="d-block w-100" alt="Healthcare 1">
<div class="carousel-caption">
<h2>Welcome to <span class="text-warning">MED.ai</span></h2>
<p>Your Smart Healthcare Assistant</p>
</div>
</div>
<div class="carousel-item">
<img src="/static/images/image5.jpg" class="d-block w-100" alt="Healthcare 2">
<div class="carousel-caption">
<h2>Advanced <span class="text-warning">AI Diagnostics</span></h2>
<p>Cutting-edge technology at your service</p>
</div>
</div>
<div class="carousel-item">
<img src="https://static.wixstatic.com/media/7e4c30_68447bc77d9e4937b5304c286a8ffb80~mv2.jpg" class="d-block w-100" alt="Healthcare 3">
<div class="carousel-caption">
<h2>Connecting <span class="text-warning">Doctors and Patients</span></h2>
<p>Bridging the gap in healthcare</p>
</div>
</div>
</div>
<button class="carousel-control-prev" type="button" data-bs-target="#mainCarousel" data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="visually-hidden">Previous</span>
</button>
<button class="carousel-control-next" type="button" data-bs-target="#mainCarousel" data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="visually-hidden">Next</span>
</button>
</div>
<div class="container mt-5">
<!-- Chatbot Information -->
<div class="row align-items-center mb-5">
<div class="col-md-6">
<h2>Our Advanced AI Chatbot</h2>
<p>Powered by state-of-the-art technology, our chatbot is trained on 40GB of medical textbooks and fine-tuned with the LLAMA 3.0 model. Experience the future of medical assistance today!</p>
<a href="/chatbot" class="btn btn-primary btn-lg">Chat Now</a>
</div>
<div class="col-md-6">
<img src="/static/images/chatbot.jpeg" alt="AI Chatbot" class="img-fluid rounded-circle">
</div>
</div>
<!-- Chatbot Features -->
<h2 class="text-center mb-4">Our AI-Powered Features</h2>
<div class="row">
<div class="col-md-4 mb-4">
<div class="card feature-card h-100">
<img src="/static/images/eyescan.jpg" class="card-img-top" alt="Ocular Scan">
<div class="card-body">
<h5 class="card-title">Ocular Scan</h5>
<p class="card-text">Scan your eye to predict diabetes and other ocular conditions with high accuracy.</p>
<a href="/ocular" class="btn btn-primary">Try Now</a>
</div>
</div>
</div>
<div class="col-md-4 mb-4">
<div class="card feature-card h-100">
<img src="/static/images/skinscan.jpg" class="card-img-top" alt="Skin Scan">
<div class="card-body">
<h5 class="card-title">Skin Scan</h5>
<p class="card-text">Analyze skin conditions and get instant insights into potential dermatological issues.</p>
<a href="/skin_disease" class="btn btn-primary">Try Now</a>
</div>
</div>
</div>
<div class="col-md-4 mb-4">
<div class="card feature-card h-100">
<img src="/static/images/xray_home.jpg" class="card-img-top" alt="X-Ray Scan">
<div class="card-body">
<h5 class="card-title">X-ray diagnosis</h5>
<p class="card-text">Predict and analyze your x-ray with great accuracy.</p>
<a href="/xray" class="btn btn-primary">Try Now</a>
</div>
</div>
</div>
</div>
<!-- Book Appointment Section -->
<div class="row align-items-center my-5">
<div class="col-md-6 order-md-2">
<h2>Book Your Appointment</h2>
<p>Find and book appointments with nearby doctors based on your preferences. Our smart system matches you with the best healthcare professionals in your area.</p>
<a href="/booking" class="btn btn-primary btn-lg">Book Now</a>
</div>
<div class="col-md-6 order-md-1">
<img src="/static/images/bookimg.png" alt="Book Appointment" class="img-fluid">
</div>
</div>
<!-- About Us Section -->
<div class="row align-items-center my-5">
<div class="col-md-6">
<h2>About MED.ai</h2>
<p>MED.ai is at the forefront of AI-driven healthcare solutions. Our mission is to make quality healthcare accessible to everyone through innovative technology and expert medical knowledge.</p>
<a href="/home" class="btn btn-primary">Learn More</a>
</div>
<div class="col-md-6">
<img src="/static/images/891156.png" alt="About MED.ai" class="img-fluid rounded">
</div>
</div>
</div>
<footer class="bg-primary text-white mt-5">
<div class="container py-4">
<div class="row">
<div class="col-lg-6 mb-4">
<h5>About MED.ai</h5>
<p>MED.ai is a cutting-edge healthcare assistant powered by artificial intelligence, designed to revolutionize the way we approach medical diagnoses and patient care.</p>
</div>
<div class="col-lg-3 mb-4">
<h5>Quick Links</h5>
<ul class="list-unstyled">
<li><a href="/" class="text-white">Home</a></li>
<li><a href="/about" class="text-white">About</a></li>
<li><a href="/contact" class="text-white">Contact</a></li>
<li><a href="#" class="text-white">Privacy Policy</a></li>
</ul>
</div>
<div class="col-lg-3 mb-4">
<h5>Connect with Us</h5>
<ul class="list-unstyled">
<li><a href="https://github.com/Vinit710/MEDAI" target="_blank" class="text-white"><i class="fab fa-github me-2"></i>GitHub</a></li>
<li><a href="#" class="text-white"><i class="fab fa-x-twitter me-2"></i>Twitter</a></li>
<li><a href="#" class="text-white"><i class="fab fa-linkedin me-2"></i>LinkedIn</a></li>
</ul>
</div>
</div>
</div>
<div class="text-center py-3" style="background-color: rgba(0, 0, 0, 0.2)">
© 2024 MED.ai. All rights reserved.
</div>
</footer>
<!-- Scroll to Top Button -->
<button class="btn btn-primary scroll-to-top" id="scrollToTop">
<i class="fas fa-chevron-up"></i>
</button>
<!-- Scripts -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<script>
// Navbar color change on scroll
window.addEventListener("scroll", function() {
const navbar = document.querySelector(".navbar");
if (window.scrollY > 50) {
navbar.classList.add("bg-dark");
navbar.classList.remove("bg-primary");
} else {
navbar.classList.add("bg-primary");
navbar.classList.remove("bg-dark");
}
});
// Scroll to top button
const scrollToTopBtn = document.getElementById("scrollToTop");
window.addEventListener("scroll", function() {
if (window.scrollY > 300) {
scrollToTopBtn.style.display = "block";
} else {
scrollToTopBtn.style.display = "none";
}
});
scrollToTopBtn.addEventListener("click", function() {
window.scrollTo({
top: 0,
behavior: "smooth"
});
});
</script>
</body>
</html>