-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.html
More file actions
604 lines (541 loc) · 27.1 KB
/
Copy pathindex.html
File metadata and controls
604 lines (541 loc) · 27.1 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
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>University Tech Society | Home</title>
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Roboto:wght@300;400;500&display=swap" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="images/favicon.ico">
<style>
/* Video Section CSS */
.video-section {
background-color: var(--light-grey);
padding: var(--spacing-xl) 0;
}
.video-demo {
display: grid;
grid-template-columns: 2fr 1fr;
gap: var(--spacing-xl);
margin-top: var(--spacing-lg);
}
.video-wrapper {
position: relative;
border-radius: var(--radius-lg);
overflow: hidden;
box-shadow: var(--shadow-heavy);
background-color: var(--navy-blue);
}
.custom-video {
width: 100%;
height: auto;
display: block;
border-radius: var(--radius-lg);
}
.video-controls-overlay {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 2;
}
.play-btn {
background-color: var(--accent-gold);
color: var(--navy-blue);
border: none;
width: 60px;
height: 60px;
border-radius: 50%;
font-size: 1.5rem;
cursor: pointer;
transition: all var(--transition-normal);
display: flex;
align-items: center;
justify-content: center;
}
.play-btn:hover {
background-color: var(--white);
transform: scale(1.1);
}
.video-info h3 {
color: var(--navy-blue);
margin-bottom: var(--spacing-sm);
}
.video-meta {
display: flex;
flex-wrap: wrap;
gap: var(--spacing-md);
margin: var(--spacing-md) 0;
color: var(--text-light);
font-size: 0.9rem;
}
.video-meta i {
color: var(--accent-gold);
margin-right: 5px;
}
.video-note {
background-color: rgba(212, 175, 55, 0.1);
border-left: 4px solid var(--accent-gold);
padding: var(--spacing-md);
border-radius: var(--radius-md);
margin-top: var(--spacing-md);
font-size: 0.9rem;
}
.video-note i {
color: var(--accent-gold);
margin-right: var(--spacing-xs);
}
/* Team Member Images */
.member-avatar {
position: relative;
width: 100px;
height: 100px;
margin: 0 auto 15px;
}
.member-avatar i {
font-size: 100px;
color: var(--navy-blue);
}
.member-avatar img {
width: 100%;
height: 100%;
border-radius: 50%;
object-fit: cover;
border: 3px solid var(--accent-gold);
display: block;
}
/* Hide icon when image is present */
.member-avatar:has(img) i {
display: none;
}
/* Responsive */
@media (max-width: 992px) {
.video-demo {
grid-template-columns: 1fr;
}
}
@media (max-width: 768px) {
.video-meta {
flex-direction: column;
gap: var(--spacing-xs);
}
}
</style>
</head>
<body>
<!-- Navigation Bar -->
<nav class="navbar">
<div class="nav-container">
<!-- Logo -->
<div class="nav-logo">
<div class="logo-icon">
<i class="fas fa-laptop-code"></i>
</div>
<div class="logo-text">
<h1>University Tech Society</h1>
<p class="logo-subtitle">Inspired by Bahria University</p>
</div>
</div>
<!-- Navigation Menu -->
<ul class="nav-menu">
<li class="nav-item"><a href="index.html" class="nav-link active"><i class="fas fa-home"></i> Home</a></li>
<li class="nav-item"><a href="pages/events.html" class="nav-link"><i class="fas fa-calendar-alt"></i> Events</a></li>
<li class="nav-item"><a href="pages/register.html" class="nav-link"><i class="fas fa-user-plus"></i> Register</a></li>
<li class="nav-item"><a href="pages/about.html" class="nav-link"><i class="fas fa-info-circle"></i> About</a></li>
</ul>
<!-- Mobile Menu Toggle -->
<div class="mobile-toggle">
<i class="fas fa-bars"></i>
</div>
</div>
</nav>
<!-- Hero Section -->
<header class="hero-section">
<div class="hero-overlay">
<div class="hero-content">
<h2 class="hero-title">Welcome to University Tech Society</h2>
<p class="hero-subtitle">Connecting Minds, Building Futures in Technology</p>
<a href="#about-section" class="hero-button">Explore Our Society</a>
</div>
</div>
</header>
<!-- Main Content -->
<main class="main-content">
<!-- Introduction Section -->
<section class="section intro-section" id="about-section">
<div class="container">
<h2 class="section-title"><span class="title-icon"><i class="fas fa-university"></i></span> About Our Society</h2>
<div class="intro-content">
<div class="intro-text">
<p class="intro-paragraph">
The University Tech Society is a student-led organization dedicated to fostering technological
innovation, skill development, and collaborative learning within the academic community.
Inspired by Bahria University's commitment to excellence, we provide a platform for students
to explore cutting-edge technologies, participate in hands-on projects, and prepare for
successful careers in the digital era.
</p>
<p class="intro-paragraph">
Our society bridges the gap between academic learning and industry requirements through
workshops, seminars, hackathons, and networking events that empower students with
practical skills and real-world experience.
</p>
</div>
<div class="intro-image">
<img src="images/students-collaborating.jpg"
alt="Students collaborating on technology project" class="placeholder-img">
<div class="image-caption">Students collaborating on innovative tech projects cc techfusion.bu</div>
</div>
</div>
</div>
</section>
<!-- Purpose Section -->
<section class="section purpose-section">
<div class="container">
<h2 class="section-title"><span class="title-icon"><i class="fas fa-bullseye"></i></span> Our Purpose & Mission</h2>
<div class="purpose-grid">
<div class="purpose-card">
<div class="card-icon">
<i class="fas fa-code"></i>
</div>
<h3 class="card-title">Skill Development</h3>
<p class="card-text">
Enhance technical competencies through hands-on workshops, coding sessions,
and project-based learning in various programming languages and frameworks.
</p>
</div>
<div class="purpose-card">
<div class="card-icon">
<i class="fas fa-users"></i>
</div>
<h3 class="card-title">Community Building</h3>
<p class="card-text">
Create a supportive network of tech enthusiasts where students can collaborate,
share knowledge, and build meaningful professional connections.
</p>
</div>
<div class="purpose-card">
<div class="card-icon">
<i class="fas fa-lightbulb"></i>
</div>
<h3 class="card-title">Innovation Hub</h3>
<p class="card-text">
Foster creativity and innovation by providing resources and mentorship for
students to develop solutions to real-world problems using technology.
</p>
</div>
<div class="purpose-card">
<div class="card-icon">
<i class="fas fa-briefcase"></i>
</div>
<h3 class="card-title">Career Preparation</h3>
<p class="card-text">
Bridge the gap between academia and industry through internships,
industry talks, and resume-building workshops for career readiness.
</p>
</div>
</div>
</div>
</section>
<!-- Group Members Section -->
<section class="section members-section">
<div class="container">
<h2 class="section-title"><span class="title-icon"><i class="fas fa-user-graduate"></i></span> Project Team Members</h2>
<p class="section-subtitle">This website was created by the following students for the ICT Semester Project</p>
<div class="members-grid">
<div class="member-card">
<div class="member-avatar">
<i class="fas fa-user-circle"></i>
</div>
<h3 class="member-name">Uzair Ali</h3>
<p class="member-role">Content Developer & Documentation Specialist</p>
<p class="member-id">BU-01-135252-096</p>
</div>
<div class="member-card">
<div class="member-avatar">
<i class="fas fa-user-circle"></i>
</div>
<h3 class="member-name">Shayan Ullah</h3>
<p class="member-role">UI/UX Designer</p>
<p class="member-id">BU-01-135252-074</p>
</div>
<div class="member-card has-image">
<div class="member-avatar">
<img src="images/my-photo.jpg" alt="Hamza Imran">
<i class="fas fa-user-circle"></i>
</div>
<h3 class="member-name">Hamza Imran</h3>
<p class="member-role">Frontend Developer & ICT Project Lead</p>
<p class="member-id">BU-01-135252-026</p>
</div>
<div class="member-card">
<div class="member-avatar">
<i class="fas fa-user-circle"></i>
</div>
<h3 class="member-name">Saqib Shah</h3>
<p class="member-role">Project Lead & Full Stack Developer</p>
<p class="member-id">BU-01-135252-072</p>
</div>
</div>
</div>
</section>
<!-- Video Section -->
<section class="section video-section">
<div class="container">
<h2 class="section-title"><span class="title-icon"><i class="fas fa-video"></i></span> Bahria University</h2>
<p class="section-subtitle">Watch a birds eye view of Bahria University E8 where you can join Tech Society</p>
<div class="video-demo">
<div class="video-wrapper">
<video controls class="custom-video">
<source src="videos/home-video.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<div class="video-controls-overlay">
<button class="play-btn"><i class="fas fa-play"></i></button>
</div>
</div>
<div class="video-info">
<h3>Inspired by our journey at Bahria University</h3>
<p>This video demonstrates the campus facilities and opportunities available at Bahria University for students to join various societies.</p>
<div class="video-meta">
<span><i class="fas fa-clock"></i> Duration: 2:30 min</span>
<span><i class="fas fa-calendar"></i> Uploaded: March 2024</span>
<span><i class="fas fa-user"></i> By: Hamza Imran</span>
</div>
<div class="video-note">
<i class="fas fa-info-circle"></i>
<strong>Note:</strong> Video courtesy of Bahria University.
</div>
</div>
</div>
</div>
</section>
<!-- Event Posting Section -->
<section class="section event-post-section">
<div class="container">
<h2 class="section-title"><span class="title-icon"><i class="fas fa-calendar-plus"></i></span> Share Event Happenings</h2>
<p class="section-subtitle">Bahria University students can share their event experiences and announcements</p>
<div class="event-post-container">
<div class="event-post-form">
<h3 class="form-title">Post a New Event</h3>
<form id="eventForm" class="simulated-form">
<div class="form-group">
<label for="eventTitle"><i class="fas fa-heading"></i> Event Title</label>
<input type="text" id="eventTitle" placeholder="e.g., AI Workshop Seminar" required>
</div>
<div class="form-group">
<label for="eventDescription"><i class="fas fa-align-left"></i> Description</label>
<textarea id="eventDescription" rows="3" placeholder="Describe your event..." required></textarea>
</div>
<div class="form-row">
<div class="form-group">
<label for="eventDate"><i class="fas fa-calendar-day"></i> Date</label>
<input type="date" id="eventDate" required>
</div>
<div class="form-group">
<label for="eventCategory"><i class="fas fa-tag"></i> Category</label>
<select id="eventCategory">
<option value="workshop">Workshop</option>
<option value="seminar">Seminar</option>
<option value="hackathon">Hackathon</option>
<option value="competition">Competition</option>
<option value="social">Social Event</option>
</select>
</div>
</div>
<div class="form-group">
<label for="studentName"><i class="fas fa-user"></i> Your Name</label>
<input type="text" id="studentName" placeholder="Enter your name" required>
</div>
<button type="submit" class="submit-button">
<i class="fas fa-paper-plane"></i> Post Event
</button>
<p class="form-note">
<i class="fas fa-info-circle"></i> Note: This is a simulation for the ICT project.
Events will display temporarily but won't be saved permanently.
</p>
</form>
</div>
<div class="event-posts-display">
<h3 class="display-title">Recent Event Posts</h3>
<div class="events-list" id="eventsList">
<div class="event-post-item">
<h4 class="event-post-title">Welcome Orientation 2024</h4>
<p class="event-post-desc">Join us for the annual welcome event for new Tech Society members.</p>
<div class="event-post-meta">
<span class="meta-item"><i class="fas fa-calendar"></i> Jan 15, 2024</span>
<span class="meta-item"><i class="fas fa-user"></i> Admin</span>
<span class="meta-item category workshop">Workshop</span>
</div>
</div>
<div class="event-post-item">
<h4 class="event-post-title">Web Development Bootcamp</h4>
<p class="event-post-desc">Learn HTML, CSS, and JavaScript in our intensive 3-day bootcamp.</p>
<div class="event-post-meta">
<span class="meta-item"><i class="fas fa-calendar"></i> Feb 10, 2024</span>
<span class="meta-item"><i class="fas fa-user"></i> Hamza Imran</span>
<span class="meta-item category workshop">Workshop</span>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
</main>
<!-- Footer -->
<footer class="footer">
<div class="footer-container">
<div class="footer-main">
<div class="footer-logo">
<div class="footer-logo-icon">
<i class="fas fa-laptop-code"></i>
</div>
<div class="footer-logo-text">
<h3>University Tech Society</h3>
<p>Bahria University-Inspired Student Organization</p>
</div>
</div>
<div class="footer-links">
<h4 class="footer-heading">Quick Links</h4>
<ul>
<li><a href="index.html"><i class="fas fa-chevron-right"></i> Home</a></li>
<li><a href="pages/events.html"><i class="fas fa-chevron-right"></i> Events</a></li>
<li><a href="pages/register.html"><i class="fas fa-chevron-right"></i> Register</a></li>
<li><a href="pages/about.html"><i class="fas fa-chevron-right"></i> About Us</a></li>
</ul>
</div>
<div class="footer-contact">
<h4 class="footer-heading">Contact Info</h4>
<ul>
<li><i class="fas fa-map-marker-alt"></i> Computer Science Department</li>
<li><i class="fas fa-university"></i> Bahria University Campus</li>
<li><i class="fas fa-envelope"></i> techsociety@bahria.edu.pk</li>
<li><i class="fas fa-phone"></i> +92 51 111 111 111</li>
</ul>
</div>
</div>
<div class="footer-bottom">
<div class="social-icons">
<a href="#" class="social-icon"><i class="fab fa-facebook-f"></i></a>
<a href="#" class="social-icon"><i class="fab fa-twitter"></i></a>
<a href="#" class="social-icon"><i class="fab fa-instagram"></i></a>
<a href="#" class="social-icon"><i class="fab fa-linkedin-in"></i></a>
<a href="#" class="social-icon"><i class="fab fa-github"></i></a>
</div>
<div class="copyright">
<p>© 2024 University Tech Society. All rights reserved. | ICT Semester Project</p>
<p style="margin-top: 0.5rem; font-size: 0.85rem;">Developed by: Hamza Imran, Uzair Ali, Shayan Ullah, Saqib Shah</p>
</div>
</div>
</div>
</footer>
<!-- Back to Top Button -->
<button class="back-to-top" id="backToTop">
<i class="fas fa-chevron-up"></i>
</button>
<!-- JavaScript -->
<script>
// Mobile Menu Toggle
document.querySelector('.mobile-toggle').addEventListener('click', function() {
document.querySelector('.nav-menu').classList.toggle('active');
});
// Back to Top Button
const backToTopBtn = document.getElementById('backToTop');
window.addEventListener('scroll', function() {
if (window.pageYOffset > 300) {
backToTopBtn.style.opacity = '1';
backToTopBtn.style.visibility = 'visible';
} else {
backToTopBtn.style.opacity = '0';
backToTopBtn.style.visibility = 'hidden';
}
});
backToTopBtn.addEventListener('click', function() {
window.scrollTo({ top: 0, behavior: 'smooth' });
});
// Video Controls
document.addEventListener('DOMContentLoaded', function() {
const video = document.querySelector('.custom-video');
const playBtn = document.querySelector('.play-btn');
if (playBtn && video) {
playBtn.addEventListener('click', function() {
if (video.paused) {
video.play();
playBtn.innerHTML = '<i class="fas fa-pause"></i>';
playBtn.style.opacity = '0';
} else {
video.pause();
playBtn.innerHTML = '<i class="fas fa-play"></i>';
playBtn.style.opacity = '1';
}
});
video.addEventListener('play', function() {
playBtn.style.opacity = '0';
playBtn.style.visibility = 'hidden';
});
video.addEventListener('pause', function() {
playBtn.style.opacity = '1';
playBtn.style.visibility = 'visible';
playBtn.innerHTML = '<i class="fas fa-play"></i>';
});
}
});
// Event Form Submission
document.getElementById('eventForm').addEventListener('submit', function(e) {
e.preventDefault();
// Get form values
const title = document.getElementById('eventTitle').value;
const description = document.getElementById('eventDescription').value;
const date = document.getElementById('eventDate').value;
const category = document.getElementById('eventCategory').value;
const name = document.getElementById('studentName').value;
// Format date
const formattedDate = new Date(date).toLocaleDateString('en-US', {
year: 'numeric',
month: 'short',
day: 'numeric'
});
// Create new event element
const eventsList = document.getElementById('eventsList');
const newEvent = document.createElement('div');
newEvent.className = 'event-post-item';
newEvent.innerHTML = `
<h4 class="event-post-title">${title}</h4>
<p class="event-post-desc">${description}</p>
<div class="event-post-meta">
<span class="meta-item"><i class="fas fa-calendar"></i> ${formattedDate}</span>
<span class="meta-item"><i class="fas fa-user"></i> ${name}</span>
<span class="meta-item category ${category}">${category.charAt(0).toUpperCase() + category.slice(1)}</span>
</div>
`;
// Add new event at the top of the list
eventsList.insertBefore(newEvent, eventsList.firstChild);
// Show success message
alert('Event posted successfully! (Note: This is a simulation for ICT project.)');
// Reset form
document.getElementById('eventForm').reset();
// Close mobile menu if open
document.querySelector('.nav-menu').classList.remove('active');
});
// Smooth scrolling
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function(e) {
if (this.getAttribute('href') !== '#') {
e.preventDefault();
const targetId = this.getAttribute('href');
if (targetId.startsWith('#')) {
const targetElement = document.querySelector(targetId);
if (targetElement) {
window.scrollTo({
top: targetElement.offsetTop - 80,
behavior: 'smooth'
});
}
}
}
});
});
</script>
</body>
</html>