a b/templates/main.html
1
<!DOCTYPE html>
2
<html>
3
<head>
4
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
5
  <meta name="og:title" content="DOC-PAT : Smart Disease Predictor">
6
  <meta name="author" content="MILIND KASHYAP">
7
  <meta name="og:image" content="static/favicon.ico">
8
  <title>DOC-PAT</title>
9
  <link rel="icon" type="image/x-icon" href="favicon.ico" />
10
  <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
11
  <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"/>
12
  <link rel="canonical" href="https://getbootstrap.com/docs/4.0/examples/sticky-footer/">
13
  <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
14
  <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDzwrnQq4xF86dIHNDz0W1" crossorigin="anonymous"></script>
15
  <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
16
17
  <style>
18
    html, body {
19
      height: 100%;
20
      margin: 0;
21
      color: black;
22
    }
23
    header {
24
      color: #000000;
25
  height: 150px;
26
  background-color: rgb(94, 162, 231); /* Change to the desired color */
27
  display: flex;
28
  align-items: center;
29
  justify-content: center;
30
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
31
}
32
33
footer {
34
  color: #ffffff;
35
  height: 200px;
36
  background-color: rgb(94, 162, 231); /* Change to the desired color */
37
  display: flex;
38
  align-items: center;
39
  justify-content: center;
40
  box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
41
}
42
43
44
    body {
45
      font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
46
      display: flex;
47
      flex-direction: column;
48
      background-color: rgb(255, 255, 255);
49
      background-size: cover;
50
      background-position: center;
51
      background-attachment: fixed;
52
    }
53
    .heading-wrapper {
54
  display: inline-block;
55
  background-color: rgba(255, 255, 0, 0.3); /* Light yellow with transparency */
56
  padding: 30px 60px;
57
  border-radius: 10px; /* Rounded corners */
58
}
59
60
h2 {
61
  position: relative;
62
  font-size: 30px;
63
  transition: transform 0.3s, color 0.3s; /* Add transition effect for transform and color */
64
}
65
66
h2:hover {
67
  transform: scale(1.1); /* Scale up text on hover */
68
  color: #000000; /* Change text color on hover */
69
}
70
71
72
73
74
75
.image-container {
76
  display: flex;
77
  justify-content: center;
78
  align-items: center;
79
  position: relative;
80
  overflow: hidden;
81
}
82
83
.disease-image {
84
  width: auto;
85
  max-width: 100%;
86
  height: auto;
87
  border: 5px solid transparent;
88
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
89
}
90
91
.image-container:hover .disease-image {
92
  transform: scale(1.1);
93
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2); /* Add shadow below image on hover */
94
  border-color: #000000;
95
}
96
97
98
99
100
    .image-container img {
101
      width: 300px;
102
      height: auto;
103
      margin: 70px;
104
      cursor: pointer;
105
      border-radius: 10px;
106
    }
107
108
109
110
    .image-text {
111
      text-align: center;
112
      margin-top: 0px;
113
    }
114
115
    .image-text p {
116
      font-size: 30px;
117
      font-weight: bold;
118
      color: #333;
119
      margin-bottom: 0;
120
      padding: 0;
121
    }
122
123
    .faq-dropdown {
124
      text-align: center;
125
    }
126
127
    .reviews {
128
      text-align: center;
129
      margin-bottom: 20px;
130
    }
131
132
    .fa-star {
133
      color: #ffd700;
134
    }
135
136
    .contact-info {
137
      text-align: center;
138
      color: white;
139
    }
140
141
    .navbar-nav .nav-item {
142
      margin: 0 10px;
143
    }
144
145
    .navbar-nav .nav-link {
146
    color: black; /* Set initial text color to black */
147
    background-color: #ffd700;
148
    padding: 15px 20px;
149
    border-radius: 5px;
150
    transition: background-color 0.3s, transform 0.3s, color 0.3s; /* Include color transition */
151
    border: 2px solid black;
152
    align-items: center;
153
  }
154
155
  .navbar-nav .nav-link:hover {
156
    background-color: rgba(236, 87, 87, 0.792);
157
    transform: scale(1.05);
158
    color: white; /* Change text color to white on hover */
159
  }
160
161
    .navbar-brand img {
162
      height: 60px;
163
      width: auto;
164
    }
165
    /* Style for the dropdown container */
166
    #faqButton {
167
        transition: all 0.3s ease-in-out;
168
    }
169
170
    /* Increase button size */
171
    #faqButton {
172
        font-size: 1.5rem; /* Change to adjust the font size */
173
        padding: 15px 30px; /* Change to adjust the padding */
174
    }
175
176
    /* Hover effect */
177
    #faqButton:hover {
178
        transform: scale(1.1);
179
    }
180
    /* Custom CSS for the reviews section */
181
182
/* Custom CSS for increasing logo size */
183
.navbar-brand img {
184
  width: 100px; /* Adjust the width as needed */
185
  height: auto; /* Maintain aspect ratio */
186
}
187
188
.reviews-heading {
189
    font-size: 2rem;
190
    font-weight: bold;
191
    text-align: center;
192
    color: #333;
193
    margin-bottom: 30px;
194
    text-transform: uppercase;
195
    letter-spacing: 2px;
196
  }
197
198
  .reviews {
199
    background-color: #f9f9f9;
200
    padding: 40px 20px;
201
    border-radius: 10px;
202
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
203
  }
204
205
  .review-box {
206
    background-color: #ffffff;
207
    border-radius: 10px;
208
    padding: 20px;
209
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
210
    transition: transform 0.3s, box-shadow 0.3s;
211
    text-align: center;
212
    position: relative;
213
  }
214
215
  .review-box:hover {
216
    transform: translateY(-10px);
217
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
218
  }
219
220
  .stars {
221
    color: #ffc107; /* Gold color for stars */
222
    font-size: 1.5rem;
223
    margin-bottom: 15px;
224
  }
225
226
  .review-box p {
227
    font-size: 1rem;
228
    color: #555;
229
    line-height: 1.6;
230
    font-style: italic;
231
    margin-bottom: 10px;
232
  }
233
234
  .reviewer-photo {
235
    position: absolute;
236
    top: -15px;
237
    right: -15px;
238
    width: 50px;
239
    height: 50px;
240
    border-radius: 50%;
241
    border: 3px solid #fff;
242
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
243
    object-fit: cover;
244
  }
245
246
  .review-box small {
247
    display: block;
248
    font-size: 0.9rem;
249
    color: #666;
250
    margin-top: 10px;
251
  }
252
  
253
254
255
  </style>
256
257
</head>
258
<body>
259
  <nav class="navbar navbar-expand-lg navbar-dark fixed-top" style="background-color: rgb(94, 162, 231); height: 120px;">
260
    <a class="navbar-brand" >
261
      <img src="/static/NEWLOGO.png" alt="Logo">
262
    </a>
263
    <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
264
      <span class="navbar-toggler-icon"></span>
265
    </button>
266
    
267
    <div class="collapse navbar-collapse" id="navbarNav">
268
      <ul class="navbar-nav ml-auto">
269
        <li class="nav-item active">
270
          <a class="nav-link" href="diabetes_info/">Diabetes</a>
271
        </li>
272
        <li class="nav-item active">
273
          <a class="nav-link" href="breast_cancer_info/">Breast Cancer</a>
274
        </li>
275
        <li class="nav-item active">
276
          <a class="nav-link" href="heart_disease_info/">Heart Disease</a>
277
        </li>
278
        <li class="nav-item active">
279
          <a class="nav-link" href="liver_disease_info/">Liver Disease</a>
280
        </li>
281
        <li class="nav-item active">
282
          <a class="nav-link" href="GI_Diseases_info/">GI Diseases</a>
283
        </li>
284
      </ul>
285
    </div>
286
  </nav>
287
<br>
288
<br>
289
<br>
290
<br>
291
<br>
292
<br>
293
<div class="container mt-5">
294
  <div class="row">
295
    <div class="col-md-12 text-center">
296
      <div class="heading-wrapper">
297
        <h2>Welcome to DOC-PAT: Your Intelligent Companion for Predictive Healthcare</h2>
298
      </div>
299
     </div>
300
  </div>
301
</div>
302
303
  <div class="container mt-5">
304
    <!-- Existing Images -->
305
    <div class="row">
306
      <div class="col-md-6">
307
        <div class="image-container">
308
          <a href="diabetes/">
309
            <img src="/static/diabetesnew.jpg" alt="Diabetes" class="disease-image">
310
          </a>
311
        </div>
312
        <div class="image-text">
313
          <p>Predict Diabetes</p>
314
        </div>
315
      </div>
316
      <div class="col-md-6">
317
        <div class="image-container">
318
          <a href="breast/">
319
            <img src="/static/Breast-Cancer-new (1).webp" alt="Breast Cancer" class="disease-image">
320
          </a>
321
        </div>
322
        <div class="image-text">
323
          <p>Predict Breast Cancer</p>
324
        </div>
325
      </div>
326
    </div>
327
    <div class="row">
328
      <div class="col-md-6">
329
        <div class="image-container">
330
          <a href="heart/">
331
            <img src="/static/heartnew (2).jpg" alt="Heart Disease" class="disease-image">
332
          </a>
333
        </div>
334
        <div class="image-text">
335
          <p>Predict Heart Disease</p>
336
        </div>
337
      </div>
338
      <div class="col-md-6">
339
        <div class="image-container">
340
          <a href="liver/">
341
            <img src="/static/livernew (1).webp" alt="Liver Disease" class="disease-image">
342
          </a>
343
        </div>
344
        <div class="image-text">
345
          <p>Predict Liver Disease</p>
346
        </div>
347
      </div>
348
    </div>
349
  
350
    <!-- Centered Image -->
351
    <div class="row mt-5">
352
      <div class="col-md-12 text-center">
353
        <div class="image-container">
354
          <a href="GI_diseases/">
355
            <img src="/static/ginew.jpeg" alt="Centered Image" class="disease-image">
356
          </a>
357
        </div>
358
        <div class="image-text">
359
          <p>Predict Gastrointestinal (GI) diseases</p>
360
        </div>
361
      </div>
362
    </div>
363
  </div>
364
  
365
  <br>
366
  <br>
367
  <br>
368
  <br>
369
  <br>
370
371
372
373
374
375
  <div class="faq-dropdown mt-5">
376
    <button class="btn btn-primary btn-lg" type="button" id="faqButton" onclick="window.location.href='faqs/'" style="background-color: #ffd700;">
377
      Frequently Asked Questions
378
  </button>
379
  
380
</div>
381
382
383
<br>
384
<br>
385
<br>
386
<br>
387
<p class="reviews-heading">Reviews</p>
388
<div class="reviews mt-5">
389
  <div class="row">
390
    <div class="col-md-4">
391
      <div class="review-box">
392
        <img src="/static/review.jpg" alt="Reviewer Aryan" class="reviewer-photo">
393
        <div class="stars">&#9733;&#9733;&#9733;&#9733;&#9733;</div>
394
        <p>"Great app! Really helped me understand my health better."</p>
395
        <small>- Aryan</small>
396
      </div>
397
    </div>
398
    <div class="col-md-4">
399
      <div class="review-box">
400
        <img src="/static/review.jpg" alt="Reviewer Mayank" class="reviewer-photo">
401
        <div class="stars">&#9733;&#9733;&#9733;&#9733;&#9734;</div>
402
        <p>"Good app, but could use some improvements."</p>
403
        <small>- Mayank</small>
404
      </div>
405
    </div>
406
    <div class="col-md-4">
407
      <div class="review-box">
408
        <img src="/static/review.jpg" alt="Reviewer Ved" class="reviewer-photo">
409
        <div class="stars">&#9733;&#9733;&#9733;&#9734;&#9734;</div>
410
        <p>"Decent app, needs more features."</p>
411
        <small>- Ved</small>
412
      </div>
413
    </div>
414
  </div>
415
</div>
416
417
418
419
<br>
420
<br>
421
<br>
422
  <footer>
423
    <center>
424
      <p>© 2023 DOC-PAT. All rights reserved.</p>
425
      <p>Contact us: contact@docpat.com | +1 (123) 456-7890</p>
426
      <p><a href="#">Privacy Policy</a> | <a href="#">Terms of Service</a></p>
427
      <p>
428
        <a href="#https://www.facebook.com/"><i class="fa fa-facebook"></i></a>
429
        <a href="https://x.com/?lang=en"><i class="fa fa-twitter"></i></a>
430
        <a href="#https://www.instagram.com/"><i class="fa fa-instagram"></i></a>
431
      </p>
432
      <p>Bennett University Greater Noida</p>
433
    </center>
434
  </footer>
435
  
436
437
</body>
438
</html>