-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathabout.php
More file actions
328 lines (272 loc) · 6.29 KB
/
Copy pathabout.php
File metadata and controls
328 lines (272 loc) · 6.29 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
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
<?php
include 'header.php';
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>About OneTap Bus</title>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800&display=swap" rel="stylesheet">
<style>
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.about-hero {
position: relative;
width: 100%;
height: 888px;
overflow: hidden;
}
.about-hero::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(
90deg,
rgba(0,0,0,0.75) 0%,
rgba(0,0,0,0.45) 40%,
rgba(0,0,0,0.15) 70%,
rgba(0,0,0,0) 100%
);
z-index: 1;
}
.about-hero::before,
.about-hero::after {
pointer-events: none;
}
.about-hero::after {
background:
linear-gradient(
to bottom,
rgba(0,0,0,0.75) 0%,
rgba(0,0,0,0.45) 40%,
rgba(0,0,0,0.15) 65%,
#171718 100%
);
}
.about-hero::before {
content: "";
position: absolute;
inset: 0;
background: url("assets/images/about-hero.jpg") center / cover no-repeat;
transform: scale(1) translate(0, 0);
transition: transform 0.4s ease-out;
will-change: transform;
z-index: 0;
}
.about-hero:hover::before {
transform: scale(1.1) translate(var(--x), var(--y));
}
.about-content {
position: absolute;
top: 160px;
left: 64px;
max-width: 640px;
color: #ffffff;
z-index: 2;
}
.about-content h1 {
font-weight: 800;
font-size: 40px;
line-height: 1.2;
margin-bottom: 22px;
-webkit-text-stroke: 1.5px #000;
text-shadow: 0 3px 6px rgba(0,0,0,0.45);
}
.about-content p {
font-size: 16px;
line-height: 1.75;
opacity: 0.95;
}
.about-contact {
margin-top: 28px;
font-size: 14px;
line-height: 1.6;
opacity: 0.9;
}
.about-contact strong {
display: block;
font-size: 15px;
font-weight: 700;
margin-bottom: 6px;
}
.about-contact a {
color: #ffffff;
text-decoration: underline;
}
.team-section {
padding: 80px 20px;
text-align: center;
background: linear-gradient(180deg, #171718 0%, #0c0c0e 100%);
}
.team-section h2 {
font-size: 28px;
font-weight: 800;
margin-bottom: 50px;
color: #ffffffff;
}
.team-grid {
display: flex;
justify-content: center;
align-items: center;
gap: 40px;
transition: all 0.5s ease;
}
.team-member {
flex: 1;
max-width: 220px;
transition:
flex 0.5s ease,
transform 0.5s ease,
opacity 0.5s ease;
cursor: pointer;
}
.team-grid:hover .team-member {
opacity: 0.55;
transform: scale(0.9);
}
.team-grid .team-member:hover {
flex: 2;
opacity: 1;
transform: scale(1.15);
z-index: 2;
}
.team-member img {
width: 160px;
height: 160px;
border-radius: 50%;
object-fit: cover;
padding: 4px;
background: #171718ff;
border: 1.5px solid #ffffff;
box-shadow: 0 10px 25px rgba(0,0,0,0.25);
margin-bottom: 18px;
transition: transform 0.5s ease;
}
.team-member h4 {
font-size: 16px;
font-weight: 700;
margin-bottom: 6px;
color: #ffffffff;
transition: transform 0.4s ease, letter-spacing 0.4s ease;
}
.team-member:hover h4 {
transform: scale(1.1);
letter-spacing: 0.5px;
}
.team-member p {
font-size: 14px;
opacity: 0.75;
}
.team-member:hover img {
transform: scale(1.08);
}
.complaint-footer {
background: #000;
color: #fff;
text-align: center;
padding: 20px;
font-size: 14px;
}
.complaint-footer a {
color: #4f6ef7;
text-decoration: underline;
}
@media (max-width: 768px) {
.site-footer {
padding: 40px 20px 24px;
}
.footer-inner {
grid-template-columns: 1fr;
gap: 28px;
}
.footer-bottom {
font-size: 12px;
}
}
@media (max-width: 768px) {
.about-hero {
height: 460px;
}
.about-content {
top: 120px;
left: 20px;
max-width: 90%;
}
.about-content h1 {
font-size: 26px;
}
.about-content p {
font-size: 14px;
}
}
@media (hover: none) {
.about-hero:hover::before {
transform: scale(1.05);
}
}
</style>
</head>
<body>
<section class="about-hero">
<div class="about-content">
<h1>About OneTap Bus</h1>
<p>
One Tap Bus is a simple and reliable bus search and fare information platform
designed for daily commuters in Dhaka. It helps users quickly find available
bus routes, bus names, and estimated fares between two locations without any
confusions.
<br><br>
Built with local routes and real commuting needs in mind, One Tap Bus aims to
make public transport information easier to access, faster to understand, and
practical for everyday travel across Dhaka.
</p>
<br><br>
</div>
</section>
<section class="team-section">
<h2>Meet Our Team</h2>
<div class="team-grid">
<div class="team-member">
<img src="assets/images/team1.jpg">
<h4>Sumaiya Islam Aritra</h4>
</div>
<div class="team-member">
<img src="assets/images/team2.jpg">
<h4>Tahmid Islam</h4>
</div>
<div class="team-member">
<img src="assets/images/team3.jpg">
<h4>Yeanul Haque Khan Akib</h4>
</div>
</div>
</section>
<script>
const aboutHero = document.querySelector('.about-hero');
aboutHero.addEventListener('mousemove', (e) => {
const rect = aboutHero.getBoundingClientRect();
const x = (e.clientX - rect.left) / rect.width - 0.5;
const y = (e.clientY - rect.top) / rect.height - 0.5;
const moveX = x * 20;
const moveY = y * 20;
aboutHero.style.setProperty('--x', `${moveX}px`);
aboutHero.style.setProperty('--y', `${moveY}px`);
});
aboutHero.addEventListener('mouseleave', () => {
aboutHero.style.setProperty('--x', `0px`);
aboutHero.style.setProperty('--y', `0px`);
});
</script>
<footer class="complaint-footer">
<p>
Any complaints or issues?
Email us at <a href="mailto:support@example.com">support@example.com</a>
</p>
</footer>
</body>
</html>