-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathclass-representatives.html
More file actions
484 lines (441 loc) · 14.8 KB
/
class-representatives.html
File metadata and controls
484 lines (441 loc) · 14.8 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Class Representatives - ACT NMAMIT | Student Leaders</title>
<meta name="description" content="Meet the Class Representatives of ACT Branch at NMAMIT Nitte. Student leaders of B.Tech Electronics and Communication Engineering with Advanced Communication Technology.">
<link rel="icon" type="image/x-icon" href="img/favicon.ico">
<link rel="apple-touch-icon" sizes="180x180" href="img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="192x192" href="img/android-chrome-192x192.png">
<link rel="icon" type="image/png" sizes="512x512" href="img/android-chrome-512x512.png">
<link rel="manifest" href="site.webmanifest">
<style>
/* Base styles (same as main page) */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
line-height: 1.6;
color: #333;
overflow-x: hidden;
}
.container {
width: 90%;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
/* Header styles */
header {
background-color: #fff;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
position: fixed;
width: 100%;
z-index: 1000;
transition: transform 0.3s ease;
}
.header-hidden {
transform: translateY(-100%);
}
.header-content {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 0;
}
.logo {
display: flex;
align-items: center;
}
.logo img {
width: 50px;
height: 50px;
margin-right: 10px;
}
.logo-text h1 {
font-size: 1.2rem;
margin-bottom: 5px;
}
.logo-text p {
font-size: 0.8rem;
color: #666;
}
nav ul {
display: flex;
list-style: none;
}
nav ul li {
margin-left: 20px;
}
nav ul li a {
text-decoration: none;
color: #333;
font-weight: bold;
transition: color 0.3s ease;
}
nav ul li a:hover {
color: #1e40af;
}
.highlight {
background-color: #1e40af;
color: #fff;
text-align: center;
padding: 10px 0;
}
/* Main content styles */
main {
padding-top: 100px;
}
section {
padding: 60px 0;
}
h2 {
text-align: center;
font-size: 2.5rem;
margin-bottom: 40px;
color: #1e40af;
}
/* CR Card specific styles */
.cr-card {
background-color: #fff;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
overflow: visible;
transition: transform 0.3s ease, box-shadow 0.3s ease;
max-width: 400px;
margin: 0 auto;
margin-top: 40px;
padding-top: 20px;
}
.cr-image {
width: 200px;
height: 200px;
min-width: 200px;
min-height: 200px;
object-fit: cover;
border-radius: 50%;
margin: 20px auto;
display: block;
border: 4px solid #1e40af;
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cr-card:hover .cr-image {
transform: scale(1.1);
box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}
.cr-info {
padding: 20px;
text-align: center;
}
.cr-name {
font-size: 1.5rem;
margin-bottom: 10px;
color: #1e40af;
}
.cr-position {
font-size: 1.1rem;
color: #666;
margin-bottom: 15px;
}
.cr-details {
font-size: 0.9rem;
margin-bottom: 15px;
}
/* WhatsApp button styles */
.whatsapp-button {
display: inline-flex;
align-items: center;
background-color: #25D366;
color: white;
padding: 10px 20px;
border-radius: 25px;
text-decoration: none;
font-weight: bold;
transition: all 0.3s ease;
margin-top: 15px;
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.whatsapp-button:hover {
background-color: #128C7E;
transform: translateY(-2px);
box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.whatsapp-icon {
margin-right: 10px;
font-size: 1.2em;
}
/* Footer styles */
footer {
background-color: #1e40af;
color: #fff;
padding: 40px 0;
}
.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 30px;
}
.footer-section h3 {
font-size: 1.2rem;
margin-bottom: 20px;
}
.footer-section ul {
list-style: none;
}
.footer-section ul li {
margin-bottom: 10px;
}
.footer-section ul li a {
color: #fff;
text-decoration: none;
transition: color 0.3s;
}
.footer-section ul li a:hover {
color: #bfdbfe;
}
.social-icons {
display: flex;
gap: 15px;
}
.social-icons a {
color: #fff;
font-size: 1.5rem;
transition: color 0.3s, transform 0.3s;
}
.social-icons a:hover {
color: #bfdbfe;
transform: scale(1.1);
}
.copyright {
text-align: center;
margin-top: 40px;
padding-top: 20px;
border-top: 1px solid rgba(255,255,255,0.1);
}
/* Mobile menu styles */
.mobile-menu-toggle {
display: none;
background: none;
border: none;
font-size: 2.5rem;
cursor: pointer;
color: #333;
padding: 10px;
position: absolute;
right: 20px;
top: 50%;
transform: translateY(-50%);
z-index: 1002;
transition: all 0.3s ease;
}
@media (max-width: 768px) {
.header-content {
flex-wrap: wrap;
position: relative;
padding-right: 60px;
}
.logo {
margin-right: auto;
}
.mobile-menu-toggle {
display: block;
}
nav {
width: 100%;
order: 3;
}
nav ul {
display: none;
width: 100%;
flex-direction: column;
background-color: #fff;
position: absolute;
top: 100%;
left: 0;
padding: 20px;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
z-index: 1001;
}
nav ul.show {
display: flex;
}
nav ul li {
margin: 15px 0;
text-align: center;
}
nav ul li a {
display: block;
padding: 10px;
font-size: 1.1rem;
}
.mobile-menu-toggle.active {
transform: rotate(90deg);
color: #1e40af;
}
}
.watermark {
text-align: center;
padding: 10px 0;
font-size: 0.9rem;
color: rgba(255, 255, 255, 0.8);
font-style: italic;
margin-top: 10px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.watermark a {
color: rgba(255, 255, 255, 0.8);
text-decoration: none;
transition: all 0.3s ease;
font-weight: bold;
}
.watermark a:hover {
color: #fff;
text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}
/* Footer link styles */
.footer-section a {
color: #fff !important; /* Force white color */
text-decoration: none;
transition: all 0.3s ease;
}
.footer-section a:hover {
color: #bfdbfe !important;
text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}
/* Contact info specific styles */
.footer-section p a {
color: #fff !important;
text-decoration: none;
transition: all 0.3s ease;
}
.footer-section p a:hover {
color: #bfdbfe !important;
text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}
</style>
</head>
<body>
<header id="header">
<div class="container">
<div class="header-content">
<div class="logo">
<a href="./">
<img src="img/logo.png" alt="NMAMIT ACT logo">
</a>
<div class="logo-text">
<a href="./" style="text-decoration: none; color: inherit;">
<h1>ACT NMAMIT</h1>
<p>B.Tech EnC with ACT</p>
</a>
</div>
</div>
<nav>
<button class="mobile-menu-toggle" aria-label="Toggle mobile menu">☰</button>
<ul>
<li><a href="./">Home</a></li>
<li><a href="./#about">About</a></li>
<li><a href="./#student-life">Student Life</a></li>
<li><a href="./downloads">Downloads</a></li>
<li><a href="./faculty">Faculty</a></li>
<li><a href="./class-representatives">Class Representatives</a></li>
<li><a href="./contact">Contact</a></li>
</ul>
</nav>
</div>
</div>
<div class="highlight">
<p>Advanced Communication Technology</p>
</div>
</header>
<main>
<section id="class-representatives">
<div class="container">
<h2>Class Representatives</h2>
<div class="cr-card animate-fadeInUp">
<img src="CR.jpg" alt="Akash Yalawar" class="cr-image">
<div class="cr-info">
<h3 class="cr-name">Akash Yalawar</h3>
<p class="cr-position">Class Representative</p>
<p class="cr-details">B.Tech Electronics and Communication (ACT) 2024-28 Batch</p>
<a href="https://wa.me/916360192963" class="whatsapp-button" target="_blank">
<span class="whatsapp-icon">💬</span>
Message on WhatsApp
</a>
</div>
</div>
</div>
</section>
</main>
<footer>
<div class="container">
<div class="footer-content">
<div class="footer-section">
</div>
<div class="footer-section">
<h3>Quick Links</h3>
<ul>
<li><a href="./">Home</a></li>
<li><a href="./#about">About</a></li>
<li><a href="./#student-life">Student Life</a></li>
<li><a href="./downloads">Downloads</a></li>
<li><a href="./faculty">Faculty</a></li>
<li><a href="./class-representatives">Class Representatives</a></li>
<li><a href="./contact">Contact</a></li>
<li><a href="https://github.com/nmaco-in/act.nmamit.git" target="_blank">Source Code</a></li>
</ul>
</div>
<div class="footer-section">
<h3>Contact</h3>
<br>Email: <a href="mailto:[email protected]"> [email protected]</a></p>
</div>
</div>
<div class="copyright">
<p style="font-size: 0.8rem; margin-top: 10px; opacity: 0.8;">This website is created and maintained by students and is not officially affiliated with NMAMIT Nitte.</p>
<div class="max-w-7xl mx-auto px-4 text-center">
Made with <span class="text-red-500">❤️</span> by
<a href="https://nmaco.in/team" target="_blank" class="text-white underline hover:text-white transition" rel="noopener">
<span style="color: white; text-decoration: underline;">NMA CO. Team</span>
</a>
</p>
</a>
</p>
</div>
</div>
</div>
</footer>
<script>
// Mobile menu toggle with animation
const mobileMenuToggle = document.querySelector('.mobile-menu-toggle');
const navMenu = document.querySelector('nav ul');
if (mobileMenuToggle && navMenu) {
mobileMenuToggle.addEventListener('click', (e) => {
e.stopPropagation();
mobileMenuToggle.classList.toggle('active');
navMenu.classList.toggle('show');
mobileMenuToggle.setAttribute('aria-expanded', navMenu.classList.contains('show'));
});
// Close menu when clicking outside
document.addEventListener('click', (e) => {
if (!e.target.closest('nav') && !e.target.closest('.mobile-menu-toggle')) {
mobileMenuToggle.classList.remove('active');
navMenu.classList.remove('show');
mobileMenuToggle.setAttribute('aria-expanded', 'false');
}
});
// Close menu when clicking a link
navMenu.querySelectorAll('a').forEach(link => {
link.addEventListener('click', () => {
mobileMenuToggle.classList.remove('active');
navMenu.classList.remove('show');
mobileMenuToggle.setAttribute('aria-expanded', 'false');
});
});
}
</script>
</body>
</html>