-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
675 lines (596 loc) · 21.3 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
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
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
<!DOCTYPE html>
<html>
<head>
<title>Path Enlightenment</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
@import url("https://fonts.googleapis.com/css?family=Hind:300,400&display=swap");
* {
box-sizing: border-box;
}
*::before, *::after {
box-sizing: border-box;
}
.container {
margin: 0 auto;
padding: 4rem;
width: 48rem;
}
.accordion .accordion-item {
border-bottom: 1px solid #e5e5e5;
}
.accordion .accordion-item button[aria-expanded=true] {
border-bottom: 1px solid #03b5d2;
}
.accordion button {
position: relative;
display: block;
text-align: left;
width: 100%;
padding: 1em 0;
color: #7288a2;
font-size: 1.15rem;
font-weight: 400;
border: none;
background: none;
outline: none;
}
.accordion button:hover, .accordion button:focus {
cursor: pointer;
color: #03b5d2;
}
.accordion button:hover::after, .accordion button:focus::after {
cursor: pointer;
color: #03b5d2;
border: 1px solid #03b5d2;
}
.accordion button .accordion-title {
padding: 1em 1.5em 1em 0;
}
.accordion button .icon {
display: inline-block;
position: absolute;
top: 18px;
right: 0;
width: 22px;
height: 22px;
border: 1px solid;
border-radius: 22px;
}
.accordion button .icon::before {
display: block;
position: absolute;
content: "";
top: 9px;
left: 5px;
width: 10px;
height: 2px;
background: currentColor;
}
.accordion button .icon::after {
display: block;
position: absolute;
content: "";
top: 5px;
left: 9px;
width: 2px;
height: 10px;
background: currentColor;
}
.accordion button[aria-expanded=true] {
color: #03b5d2;
}
.accordion button[aria-expanded=true] .icon::after {
width: 0;
}
.accordion button[aria-expanded=true] + .accordion-content {
opacity: 1;
max-height: 18em;
transition: all 200ms linear;
will-change: opacity, max-height;
}
.accordion .accordion-content {
opacity: 0;
max-height: 0;
overflow: hidden;
transition: opacity 200ms linear, max-height 200ms linear;
will-change: opacity, max-height;
}
.accordion .accordion-content p {
font-size: 1rem;
font-weight: 300;
margin: 2em 0;
}
body,
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: "Raleway", sans-serif
}
body,
html {
height: 100%;
line-height: 1.8;
}
/* Full height image header */
.bgimg-1 {
background-position: center;
background-size: cover;
background-color: #1d162d;
min-height: 100%;
}
.w3-bar .w3-button {
padding: 16px;
}
.w3-logo img {
width: 50px;
/* Adjust the width as needed */
height: auto;
/* This maintains the aspect ratio */
}
.question{
background-color: beige;
}
.image-container {
position: relative;
overflow: hidden;
width: 600px;
/* Adjust the width to match your image size */
height: 600px;
/* Adjust the height to match your image size */
transition: all 0.3s ease;
/* Smooth transition for the blur effect */
}
.image-container img {
max-width: 100%;
height: auto;
transition: filter 0.3s ease;
/* Transition for the filter property */
}
.view-button {
position: absolute;
top: 60%;
/* Adjust the position of the button */
left: 50%;
transform: translate(-50%, -50%);
padding: 10px 20px;
background-color: transparent;
color: #271e3b;
border: 2px solid #271e3b;
border-radius: 5px;
cursor: pointer;
opacity: 0;
/* Hidden by default */
transition: opacity 0.3s ease;
/* Smooth transition for opacity */
}
.view-button:hover {
background-color: #271e3b;
color: #fff;
}
/* Apply the blur effect and show the button and text on hover */
.image-container:hover {
transform: scale(1.1);
/* Optional: Scale the image on hover */
}
.image-container:hover img {
filter: blur(5px);
/* Adjust the blur intensity as needed */
}
.image-container:hover .view-button {
opacity: 1;
/* Show the button on hover */
}
.image-container .view-text {
position: absolute;
top: 30%;
/* Adjust the position of the text */
left: 40%;
font-size: 30px;
color: white;
transform: translate(-50%, -50%);
opacity: 0;
transition: opacity 0.3s ease;
}
.image-container:hover .view-text {
opacity: 1;
}
.img-side {
padding-left: 10px;
float: left;
width: 80%;
padding: 5px;
}
.all {
display: flex;
justify-content: space-between;
position: absolute;
top: 50%;
left: 150%;
transform: translate(-50%, -50%);
-webkit-transform: rotate(90deg);
-moz-transform: rotate(90deg);
-o-transform: rotate(90deg);
-ms-transform: rotate(90deg);
transform: rotate(90deg);
}
.contain {
height: 90px;
margin: 0 20px;
position: relative;
}
.contain .circle {
width: 20px;
height: 20px;
border-radius: 50%;
position: absolute;
left: calc(50% - 5px);
top: 0;
}
.contain .circle:nth-child(1) {
top: 0;
animation: anim_a 2s infinite ease-in-out;
background-color: lightskyblue;
}
.contain .circle:nth-child(2) {
top: calc(100% - 5px);
transform: scale(1.5);
animation: anim_b 2s infinite ease-in-out;
background-color: lightskyblue;
}
@keyframes anim_a {
0% {
top: 0;
z-index: 50;
}
20% {
transform: scale(1.5);
}
50% {
top: 100%;
}
50.1% {
z-index: 0;
}
75% {
transform: scale(0.8);
z-index: 0;
}
100% {
top: 0%;
z-index: 2;
}
}
@keyframes anim_b {
0% {
top: calc(100% - 5px);
z-index: 1;
}
25% {
transform: scale(0.8);
}
50% {
top: 0;
}
50.1% {
z-index: 2;
}
80% {
transform: scale(1.5);
z-index: 2;
}
100% {
top: calc(100% - 5px);
z-index: 0;
}
}
.contain:nth-child(2) .circle {
animation-delay: -0.1s;
}
.contain:nth-child(3) .circle {
animation-delay: -0.2s;
}
.contain:nth-child(4) .circle {
animation-delay: -0.3s;
}
.contain:nth-child(5) .circle {
animation-delay: -0.4s;
}
.contain:nth-child(6) .circle {
animation-delay: -0.5s;
}
.contain:nth-child(7) .circle {
animation-delay: -0.6s;
}
.contain:nth-child(8) .circle {
animation-delay: -0.7s;
}
.contain:nth-child(9) .circle {
animation-delay: -0.8s;
}
.contain:nth-child(10) .circle {
animation-delay: -0.9s;
}
.contain:nth-child(11) .circle {
animation-delay: -1s;
}
.contain:nth-child(12) .circle {
animation-delay: -1.1s;
}
</style>
</head>
<body>
<!-- Navbar (sit on top) -->
<div class="w3-top">
<div class="w3-bar w3-white w3-card" id="myNavbar">
<a href="#home" class="w3-bar-item w3-button w3-logo">
<img src="images/logo.jpeg" alt="Path Enlightenment Logo">
</a>
<!-- Right-sided navbar links -->
<div class="w3-right w3-hide-small">
<a href="#about" class="w3-bar-item w3-button">ABOUT</a>
<!-- Dropdown for Login -->
<div class="w3-dropdown-click">
<button class="w3-button" onclick="toggleDropdown()">LOGIN <i class="fa fa-caret-down"></i></button>
<div class="w3-dropdown-content w3-bar-block w3-card-4" id="loginDropdown" style="display: none;">
<a href="pat_login.html" class="w3-bar-item w3-button">User Login</a>
<a href="doc_login.html" class="w3-bar-item w3-button">Doctor Login</a>
</div>
</div>
<a href="#team" class="w3-bar-item w3-button">DNA Samples</a>
<a href="#faq" class="w3-bar-item w3-button">FAQs</a>
<a href="#contact" class="w3-bar-item w3-button"><i class="fa fa-envelope"></i> CONTACT</a>
</div>
<!-- Hide right-floated links on small screens and replace them with a menu icon -->
<button class="w3-bar-item w3-button w3-right w3-hide-large w3-hide-medium" onclick="toggleSidebar()">
MENU <i class="fa fa-bars"></i>
</button>
</div>
</div>
<!-- Sidebar on small screens when clicking the menu icon -->
<nav class="w3-sidebar w3-bar-block w3-black w3-card w3-animate-left w3-hide-medium w3-hide-large"
style="display:none" id="mySidebar">
<a href="javascript:void(0)" onclick="toggleSidebar()" class="w3-bar-item w3-button w3-large w3-padding-16">Close
×</a>
<a href="#about" onclick="toggleSidebar()" class="w3-bar-item w3-button">ABOUT</a>
<a href="#team" onclick="toggleSidebar()" class="w3-bar-item w3-button">DNA Samples</a>
<a href="#faq" onclick="toggleSidebar()" class="w3-bar-item w3-button">FAQs</a>
<a href="#contact" onclick="toggleSidebar()" class="w3-bar-item w3-button">CONTACT</a>
</nav>
<!-- Header with full-height image -->
<header class="bgimg-1 w3-display-container w3-grayscale-min" id="home">
<div class="w3-display-left w3-text-white" style="padding:48px">
<span class="w3-jumbo w3-hide-small">Path Enlightenment</span><br>
<span class="w3-large">Preserving Genomes, Empowering Futures: Your DNA, Your Data, Your Health</span>
<p><a href="#about"
class="w3-button w3-white w3-padding-large w3-large w3-margin-top w3-opacity w3-hover-opacity-off">Learn
more</a></p>
<div class="all">
<div class="contain">
<div class="circle"></div>
<div class="circle"></div>
</div>
<div class="contain">
<div class="circle"></div>
<div class="circle"></div>
</div>
<div class="contain">
<div class="circle"></div>
<div class="circle"></div>
</div>
<div class="contain">
<div class="circle"></div>
<div class="circle"></div>
</div>
<div class="contain">
<div class="circle"></div>
<div class="circle"></div>
</div>
<div class="contain">
<div class="circle"></div>
<div class="circle"></div>
</div>
<div class="contain">
<div class="circle"></div>
<div class="circle"></div>
</div>
<div class="contain">
<div class="circle"></div>
<div class="circle"></div>
</div>
<div class="contain">
<div class="circle"></div>
<div class="circle"></div>
</div>
<div class="contain">
<div class="circle"></div>
<div class="circle"></div>
</div>
<div class="contain">
<div class="circle"></div>
<div class="circle"></div>
</div>
<div class="contain">
<div class="circle"></div>
<div class="circle"></div>
</div>
</div>
</div>
</header>
<!-- About Section -->
<div class="w3-container" style="padding:128px 16px" id="about">
<h3 class="w3-center">ABOUT THE PROJECT</h3>
<p class="w3-center w3-large">Key features of our project</p>
<div class="w3-row-padding w3-center" style="margin-top:64px">
<div class="w3-quarter">
<i class="fa fa-desktop w3-margin-bottom w3-jumbo w3-center"></i>
<p class="w3-large">Genomic Datasets</p>
<p>Comprehensive genomic data for cancer research and insight into genetic alterations in cancer patients.</p>
</div>
<div class="w3-quarter">
<i class="fa fa-heart w3-margin-bottom w3-jumbo"></i>
<p class="w3-large">Powerful Computational Algorithms</p>
<p>Advanced algorithms for data analysis and accurate cancer diagnosis and treatment planning.</p>
</div>
<div class="w3-quarter">
<i class="fa fa-diamond w3-margin-bottom w3-jumbo"></i>
<p class="w3-large">Blockchain-Backed Data Integrity</p>
<p>Ensuring data security and integrity with blockchain and tamper-proof medical records.</p>
</div>
<div class="w3-quarter">
<i class="fa fa-cog w3-margin-bottom w3-jumbo"></i>
<p class="w3-large">How It Works</p>
<p>User-friendly platform for individuals and healthcare providers and step-by-step genomic analysis and
interpretation.</p>
</div>
</div>
</div>
<!-- Team Section -->
<div class="w3-container w3-light-grey" style="padding:128px 16px" id="team">
<h3 class="w3-center">NGS Nucleotide Level Annotations</h3>
<div class="w3-center">
<div class="img-side">
<div class="image-container" style="float: left; padding: 40px; width: 50%;">
<img src="images/europekids.jpg" alt="europekids" style="width:100%">
<a href="europe.html"><button class="view-button">View</button></a>
<div class="view-text">
<p>European Ancestry(CEU) Whole Genome DNA samples</p>
</div>
</div>
<div class="image-container" style="float: left; width: 50%;">
<img src="images/africankids.jpg" alt="europekids" style="width:100%">
<a href="africa.html"><button class="view-button">View</button></a>
<div class="view-text">
<p>African(YRI) Ancestry Whole Genome DNA Samples</p>
</div>
</div>
<div style="clear: both;"></div> <!-- Clear the float to prevent layout issues -->
</div>
</div>
</div>
<div class="container" id="faq">
<h2>Frequently Asked Questions</h2>
<div class="accordion">
<div class="accordion-item">
<button id="accordion-button-1" aria-expanded="false"><span class="accordion-title">What is Path Enlightenment? And what do you do?</span><span class="icon" aria-hidden="true"></span></button>
<div class="accordion-content">
<p>We are a team who wants to help in eliminating the cancer from the society by targetting its root cause i.e. DNA alterations.
We help you to store your data in the most efficient manner by running our algorithms which can help in early detection of cancer,
keeping in mind, the integrity of the data as well.</p>
</div>
</div>
<div class="accordion-item">
<button id="accordion-button-2" aria-expanded="false"><span class="accordion-title">What is DNA Sequencing And why do we need this?</span><span class="icon" aria-hidden="true"></span></button>
<div class="accordion-content">
<p>DNA sequencing is like deciphering a hidden message in our cells that contains instructions for our bodies.
It's super important because it helps scientists find ways to cure diseases.
By understanding this code, we can figure out which genes might be causing illnesses and then work on treatments to fix them.
So, DNA sequencing is a powerful tool in the search for better health and medical breakthroughs!.</p>
</div>
</div>
<div class="accordion-item">
<button id="accordion-button-3" aria-expanded="false"><span class="accordion-title">Why are regular DNA screenings necessary?</span><span class="icon" aria-hidden="true"></span></button>
<div class="accordion-content">
<p>Regular DNA screenings are important because they allow us to create personalized medicine tailored to each person's unique genetic makeup.
By checking our DNA regularly, we can spot any changes or signs that might lead to diseases like cancer early on.
This early detection gives us a better chance to treat and prevent serious health issues, leading to more effective and personalized medical care for everyone.</p>
</div>
</div>
<div class="accordion-item">
<button id="accordion-button-4" aria-expanded="false"><span class="accordion-title"> Is my DNA data secure?</span><span class="icon" aria-hidden="true"></span></button>
<div class="accordion-content">
<p>Your DNA data is actually accessible by you and the people who you choose to share it with. Even Path Enlightenment doesn't have access to it, since it
is being stored in <b>your personal e-wallet</b>. We use state-of-the-art technologies like decentralised storage system(IPFS) and blockchain to ensure
the integrity of the data. Also, we are open source and anyone can verify the smart contract(the way we deploy your data to your wallet) from this
<a href="https://sepolia.etherscan.io/address/0xc4e21d62cc53a628067b038791578332d5ffc0a9#code">link</a>.</p>
</div>
</div>
<div class="accordion-item">
<button id="accordion-button-5" aria-expanded="false"><span class="accordion-title">After I upload my DNA data, how is it being processed and used?</span><span class="icon" aria-hidden="true"></span></button>
<div class="accordion-content">
<p>When you upload the data(which will be given to you by some lab after testing!), our algorithm processes it and makes it more simple and understandable
(for the doctors to generate insights) and store it securely to your e-wallet. Also, after processing and analysing, the website may suggest you some
doctors to connect with, if needed.</p>
</div>
</div>
</div>
</div>
<!-- Contact Section -->
<div class="w3-container w3-light-grey" style="padding:128px 16px" id="contact" style="background-color: lightgrey;">
<h3 class="w3-center">CONTACT</h3>
<p class="w3-center w3-large">Let's get in touch. Send us a message:</p>
<div style="margin-top:48px">
<p><i class="fa fa-map-marker fa-fw w3-xxlarge w3-margin-right"></i> Kolkata, India</p>
<p><i class="fa fa-phone fa-fw w3-xxlarge w3-margin-right"></i> Phone: +00 151515</p>
<p><i class="fa fa-envelope fa-fw w3-xxlarge w3-margin-right"> </i> Email: pathenlightenment@gmail.com</p>
<br>
</div>
</div>
<!-- Footer -->
<footer class="w3-center w3-black w3-padding-64">
<a href="#home" class="w3-button w3-light-grey"><i class="fa fa-arrow-up w3-margin-right"></i>To the top</a>
</footer>
<script>
// Toggle between showing and hiding the sidebar and dropdown menu when clicking the menu icon
var mySidebar = document.getElementById("mySidebar");
var loginDropdown = document.getElementById("loginDropdown");
function toggleSidebar() {
if (mySidebar.style.display === 'block') {
mySidebar.style.display = 'none';
loginDropdown.style.display = 'none';
} else {
mySidebar.style.display = 'block';
loginDropdown.style.display = 'block';
}
}
// Toggle the dropdown menu
function toggleDropdown() {
if (loginDropdown.style.display === 'block') {
loginDropdown.style.display = 'none';
} else {
loginDropdown.style.display = 'block';
}
}
// Close the sidebar with the close button
function closeSidebar() {
mySidebar.style.display = "none";
loginDropdown.style.display = 'none';
}
// const questions = document.querySelectorAll('.question');
// questions.forEach(question => {
// const answer = question.querySelector('.answer');
// question.addEventListener('click', () => {
// if (answer.style.display === 'block') {
// answer.style.display = 'none';
// } else {
// answer.style.display = 'block';
// }
// });
// question.addEventListener('mouseover', () => {
// question.style.cursor = 'pointer';
// });
// question.addEventListener('mouseout', () => {
// question.style.cursor = 'default';
// });
// });
const items = document.querySelectorAll(".accordion button");
function toggleAccordion() {
const itemToggle = this.getAttribute('aria-expanded');
for (i = 0; i < items.length; i++) {
items[i].setAttribute('aria-expanded', 'false');
}
if (itemToggle == 'false') {
this.setAttribute('aria-expanded', 'true');
}
}
items.forEach(item => item.addEventListener('click', toggleAccordion));
</script>
</body>
</html>