-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathabout.html
More file actions
229 lines (203 loc) · 6.79 KB
/
about.html
File metadata and controls
229 lines (203 loc) · 6.79 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>About</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body {
display: flex;
justify-content: center;
align-items: center;
min-height: 700px;
background-color: #081229;
background-position: center;
color: white;
position: relative;
}
header {
position: fixed;
background-color: #282d32;
top: 0;
left: 0;
width: 100%;
padding: 5px 100px;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 99;
}
.logo {
color: white;
user-select: none;
}
.logo img {
width: 2em;
}
.nav a {
position: relative;
top: -10px;
font-size: 1.1em;
color: #fff;
text-decoration: none;
font-weight: 500;
margin-left: 40px;
cursor: pointer;
}
.nav a::after {
content: '';
position: absolute;
left: 0;
bottom: -6px;
width: 100%;
height: 3px;
background: white;
border-radius: 5px;
transform: scaleX(0);
transition: transform .5s;
}
.nav a:hover::after {
transform: scaleX(1);
}
.nav .btnlog {
width: 50px;
height: 50px;
background: transparent;
border: 2px solid #fff;
outline: none;
border-radius: 50%;
cursor: pointer;
font-size: 1.1em;
color: #fff;
font-weight: 500;
margin-left: 40px;
align-items: center;
justify-content: center;
transition: .5s;
}
.nav .btnlog img {
margin-top: 2px;
width: 40px;
height: 40px;
border-radius: 50%;
}
.nav .btnlog:hover {
background: #fff;
color: #162938;
}
.about-section {
text-align: center;
max-width: 1000px;
padding: 80px 40px;
margin: 120px auto;
background: rgba(255, 255, 255, 0.1);
border-radius: 20px;
backdrop-filter: blur(15px);
-webkit-backdrop-filter: blur(15px);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
border: 1px solid rgba(255, 255, 255, 0.2);
}
.about-section h1 {
font-size: 48px;
color: #ffffff;
}
.about-section h6 {
font-size: 22px;
color: #c1c1c1;
margin: 20px 0;
}
.about-section p {
font-size: 20px;
line-height: 1.6;
color: #dddddd;
margin-top: 15px;
}
.mission {
margin-top: 60px;
padding: 40px;
background: rgba(169, 209, 255, 0.1);
border-radius: 15px;
border: 1px solid rgba(169, 209, 255, 0.2);
}
.mission h2 {
font-size: 32px;
color: #a9d1ff;
}
</style>
</head>
<body>
<header>
<h1 class="logo"><img src="assets/logo.png" alt=""></h1>
<nav class="nav">
<a class="home">Home</a>
<a class="about">About</a>
<a class="services">Services</a>
<button class="btnlog"><img src="" id="user-image"></button>
</nav>
</header>
<div class="about-section">
<h1>About Post Accident Alert System</h1>
<h6>Enhancing Safety and Emergency Response on Roads</h6>
<p>
The Post-Accident Alert System is a cutting-edge safety solution intended to improve emergency response in vehicle accidents.
This system utilizes sensors to identify accidents immediately. Once an accident is detected, it promptly pinpoints the location
through GPS and sends an alert to the nearest hospital or emergency services automatically, facilitating quicker ambulance dispatch
and potentially preserving lives.
</p>
<p>
Empowering individuals with a reliable, real-time accident alert system that ensures immediate detection, this solution provides
accessible and efficient tools that enhance road safety, reduce response times, and support timely medical intervention.
Our system addresses the intersection of technology, security, and healthcare to create effective life-saving solutions.
</p>
<div class="mission">
<h2>Our Mission</h2>
<p>To reduce road fatalities by providing timely alerts and fostering a safer community.</p>
</div>
</div>
<script>
const urlParams = new URLSearchParams(window.location.search);
const username = urlParams.get('username');
console.log("Username received:", username);
const userImages = {
"Vishaal": "assets/1.jpg",
"Akhilesh": "assets/2.jpg",
};
document.getElementById('user-image').src = userImages[username] || "assets/3.jpg";
document.querySelector('.home').addEventListener('click', () => {
if (username) {
window.location.href = `client.html?username=${encodeURIComponent(username)}`;
} else {
alert("Username is missing!");
}
});
document.querySelector('.about').addEventListener('click', () => {
if (username) {
window.location.href = `about.html?username=${encodeURIComponent(username)}`;
} else {
alert("Username is missing!");
}
});
document.querySelector('.services').addEventListener('click', () => {
if (username) {
window.location.href = `services.html?username=${encodeURIComponent(username)}`;
} else {
alert("Username is missing!");
}
});
document.querySelector('.btnlog').addEventListener('click', () => {
if (username) {
window.location.href = `client-dashboard.html?username=${encodeURIComponent(username)}`;
} else {
alert("Username is missing!");
}
});
</script>
</body>
</html>