-
Notifications
You must be signed in to change notification settings - Fork 0
/
Patient_page.php
265 lines (232 loc) · 7.14 KB
/
Patient_page.php
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="https://cdn.jsdelivr.net/npm/remixicon@3.4.0/fonts/remixicon.css" rel="stylesheet" />
<link rel="stylesheet" href="styles.css" />
<title>Doctor Page</title>
<style>
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");
:root {
--primary-color: #28bf96;
--primary-color-dark: #209677;
--text-dark: #111827;
--text-light: #6b7280;
--white: #ffffff;
}
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
.btn {
padding: 1rem 2rem;
outline: none;
border: none;
font-size: 1rem;
color: var(--white);
background-color: var(--primary-color);
border-radius: 5px;
cursor: pointer;
transition: 0.3s;
}
.btn:hover {
background-color: var(--primary-color-dark);
}
body {
font-family: "Roboto", sans-serif;
}
.container {
max-width: 1200px;
margin: auto;
min-height: 100vh;
display: flex;
flex-direction: column;
}
nav {
padding: 2rem 1rem;
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
}
.nav__logo {
font-size: 1.5rem;
font-weight: 600;
color: var(--primary-color);
}
.nav__links {
list-style: none;
display: flex;
align-items: center;
gap: 2rem;
}
.link a {
text-decoration: none;
color: var(--text-light);
cursor: pointer;
transition: 0.3s;
}
.link a:hover {
color: var(--primary-color);
}
.header {
padding: 0 1rem;
flex: 1;
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 2rem;
align-items: center;
}
.content h1 {
margin-bottom: 1rem;
font-size: 3rem;
font-weight: 700;
color: var(--text-dark);
}
.content h1 span {
font-weight: 400;
}
.content p {
margin-bottom: 2rem;
color: var(--text-light);
line-height: 1.75rem;
}
.image {
position: relative;
text-align: center;
isolation: isolate;
}
.image__bg {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
height: 450px;
width: 450px;
background-color: var(--primary-color);
border-radius: 100%;
z-index: -1;
}
.image img {
width: 100%;
max-width: 475px;
}
.image__content {
position: absolute;
top: 50%;
left: 50%;
padding: 1rem 2rem;
display: flex;
align-items: center;
gap: 1rem;
text-align: left;
background-color: var(--white);
border-radius: 5px;
box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}
.image__content__1 {
transform: translate(calc(-50% - 12rem), calc(-50% - 8rem));
}
.image__content__1 span {
padding: 10px 12px;
font-size: 1.5rem;
color: var(--primary-color);
background-color: #defcf4;
border-radius: 100%;
}
.image__content__1 h4 {
font-size: 1.5rem;
font-weight: 600;
color: var(--text-dark);
}
.image__content__1 p {
color: var(--text-light);
}
.image__content__2 {
transform: translate(calc(-50% + 8rem), calc(-50% + 10rem));
}
.image__content__2 ul {
list-style: none;
display: grid;
gap: 1rem;
}
.image__content__2 li {
display: flex;
align-items: flex-start;
gap: 0.5rem;
color: var(--text-light);
}
.image__content__2 span {
font-size: 1.5rem;
color: var(--primary-color);
}
@media (width < 900px) {
.nav__links {
display: none;
}
.header {
padding: 1rem;
grid-template-columns: repeat(1, 1fr);
}
.content {
text-align: center;
}
.image {
grid-area: 1/1/2/2;
}
}
</style>
</head>
<body>
<div class="container">
<nav>
<div class="nav__logo"><img src="Images/logo.png" alt=""></div>
<ul class="nav__links">
<li class="link"><a href="patprofile.php">Profile</a></li>
<li class="link"><a href="patappointment.php">Request an Appointment</a></li>
<li class="link"><a href="patmessages.php">Messages</a></li>
<li class="link"><a href="makepayment.php">Billing and Invoice</a></li>
<li class="link"><a href="feedback.php">Feedback</a></li>
</ul>
</nav>
<header class="header">
<div class="content">
<h1><span>Get Quick</span><br/>Medical Services</h1>
<p>
In today's fast-paced world, access to prompt and efficient medical
services is of paramount importance. When faced with a medical
emergency or seeking immediate medical attention, the ability to
receive quick medical services can significantly impact the outcome
of a situation.
</p>
<button class="btn">Get Services</button>
</div>
<div class="image">
<span class="image__bg"></span>
<img src="Images/header.png" alt="header image" />
<div class="image__content image__content__1">
<span><i class="ri-user-3-line"></i></span>
<div class="details">
<h4>1520+</h4>
<p>Active Clients</p>
</div>
</div>
<div class="image__content image__content__2">
<ul>
<li>
<span><i class="ri-check-line"></i></span>
Get 20% off on 1st appointment
</li>
<li>
<span><i class="ri-check-line"></i></span>
Expert Doctors
</li>
</ul>
</div>
</div>
</header>
</div>
</body>
</html>