-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
168 lines (131 loc) · 5.06 KB
/
index.html
File metadata and controls
168 lines (131 loc) · 5.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="./assets/img/logo solo.png" type="image/x-icon">
<link rel="stylesheet" href="./assets/css/style.css">
<link rel="stylesheet" href="./assets/css/">
<script src="./assets/js/fa.js"></script>
<title>AfyaConnect</title>
</head>
<body>
<header id="menu">
<div class="title">
<img src="./assets/img/transp-logo.png" alt="">
</div>
<nav>
<ul>
<li><a href="#" class="nav_link">Home</a></li>
<li><a href="#" class="nav_link">Register</a></li>
<li><a href="#" class="nav_link">Features</a></li>
</ul>
</nav>
<a href="#" class="btn btn-primary">Login</a>
</header>
<main>
<div class="showcase-text">
<h1 class="txt-white">Access The Right Health Facility, Anytime Anywhere</h1>
<a href="#" class="btn-primary">Take Tour</a>
</div>
</main>
<section>
<div class="border-primary"></div>
<h2 class="txt-primary">What Afya Connect Does for you</h2>
<p>Tired of endless back and forths looking for a good hospital ? Explore our features meant to give you the best quality.</p>
<div class="grid-container grid-4">
<div class="card">
<i class="fas fa-map-marker"></i>
<p>Maps you to the nearest health facility</p>
</div>
<div class="card">
<i class="fas fa-upload"></i>
<p> Lets doctors upload test results for reference</p>
</div>
<div class="card">
<i class="fas fa-paperclip"></i>
<p>Ability to take user feedback and recommend based on that</p>
</div>
<div class="card">
<i class="fas fa-clock"></i>
<p>Timely access to medical services and facilities </p>
</div>
</div>
<a href="#" class="btn-primary">Try it now</a>
</section>
<section>
<div class="grid-container grid-2">
<img src="./assets/img/mockup.jpg" alt="">
<div class="text">
<h1>Getting you the best possible, as fast as possible</h1>
<p>
We help connect you to the best health facilities in your vicinity on the click of a button.
</p>
<a href="#" class="btn-primary">Try it now</a>
</div>
</div>
</section>
<section>
<div class="grid-container grid-2">
<div class="text">
<h1>Guaranteed quality through feedback</h1>
<p>
Enjoy the ability to give feedback on the services you receive and get recommendations based on that.
</p>
<a href="#" class="btn-primary">Try it now</a>
</div>
<img src="./assets/img/medicine.jpg" alt="">
</div>
</section>
<section>
<div class="grid-container grid-2">
<img src="./assets/img/gal.png" alt="">
<div class="text">
<h1>With you, Anywhere and Everywhere</h1>
<p>
Get recommendations based on your real time location and access the best health facilities in your vicinity.
</p>
<a href="#" class="btn-primary">Try it now</a>
</div>
</div>
</section>
<section class="wrapped">
<div class="overlay flex-column">
<h1 class="txt-white">The Service you are looking for is in that signup you're avoiding !</h1>
<a href="#" class="btn-white txt-primary btn-rounded">Sign up now</a>
</div>
</section>
<script>
menu = document.getElementById("menu");
links = document.querySelectorAll(".nav_link");
window.onkeydown = function (){
menu.style.background = "white";
menu.classList.add("shadowed");
links.forEach(element => {
element.style.color = "black";
});
if (window.scrollY == 0 || window.pageYOffset < 1){
menu.style.background = "transparent";
menu.classList.remove("shadowed");
links.forEach(element => {
element.style.color = "white";
});
}
}
window.onscroll = function(){
menu.style.background = "white";
menu.classList.add("shadowed");
links.forEach(element => {
element.style.color = "black";
});
if (window.scrollY == 0 || window.pageYOffset < 1){
menu.style.background = "transparent";
menu.classList.remove("shadowed");
links.forEach(element => {
element.style.color = "white";
});
}
}
</script>
</body>
</html>