-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathevents.html
268 lines (250 loc) · 13.8 KB
/
events.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Events</title>
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" rel="stylesheet">
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- Navbar -->
<nav class="navbar navbar-expand-lg fixed-top ">
<div class="container">
<a class="navbar-brand" href="#"><img src="media/logo2.png" alt=""></a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ms-auto w-100 d-lg-flex justify-content-end">
<li class="nav-item ">
<a class="nav-link" href="index.html">Home</a>
</li>
<li class="nav-item">
<a class="nav-link " href="teams.html">Our Team</a>
</li>
<li class="nav-item">
<a class="nav-link activ" href="events.html">Events</a>
</li>
<li class="nav-item">
<a class="nav-link" href="CompetetionPage/competetion.html">Competition</a>
</li>
<li class="nav-item">
<a class="nav-link" href="gallery.html">Gallery</a>
</li>
<!-- <li class="nav-item">
<a class="nav-link" href="#blog.html">Blog/News</a>
</li> -->
<li class="nav-item">
<a class="nav-link" href="contact.html">Contact</a>
</li>
<li class="nav-item ">
<a class="nav-link custom-button text-white" href="RegisterPage/register.html" id="register">Register Now</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- Events Section -->
<div class="container" id="events" style="margin-top: 130px;">
</div>
<!-- Footer Section -->
<footer id="footer" class="mt-4">
<div class="container">
<div class="row">
<div class="col-lg-4 mb-4">
<h5>Hult Prize at MUET SZAB</h5>
<p>Empowering young innovators to create social impact through entrepreneurship.</p>
</div>
<div class="col-lg-2 mb-4">
<h5>Quick Links</h5>
<ul class="list-unstyled">
<li><a href="index.html">Home</a></li>
<li><a href="index.html">About</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</div>
<div class="col-lg-3 mb-4">
<h5>Contact Us</h5>
<p>
Mehran UET SZAB Campus,<br>
Khairpur Mir's, Sindh, Pakistan<br>
Phone: +923051028803<br>
Email: <a href="mailto: [email protected]">[email protected]</a>
</p>
</div>
<div class="col-lg-3 mb-4">
<h5>Follow Us</h5>
<div class="social-icons">
<a href="https://www.facebook.com/share/19p9QJzvCU/?mibextid=wwXIfr" class="me-2"><i class="fab fa-facebook-f"></i></a>
<a href="#" class="me-2"><i class="fab fa-twitter"></i></a>
<a href="https://www.linkedin.com/company/hult-prize-muet-szab/" class="me-2"><i class="fab fa-linkedin-in"></i></a>
<a href="https://www.instagram.com/hpmuetkhp?igsh=MXhoN292aXB3NWsxaQ==" class="me-2"><i class="fab fa-instagram"></i></a>
<a href="#"><i class="fab fa-youtube"></i></a>
</div>
</div>
</div>
<div class="text-center mt-4">
<p class="mb-0">© 2025 Hult Prize MUET SZAB. All rights reserved.</p>
</div>
</div>
</footer>
<!-- Bootstrap JS -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.2/gsap.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<script src="script.js"></script>
<!-- FontAwesome for Icons -->
<script src="https://kit.fontawesome.com/a076d05399.js" crossorigin="anonymous"></script>
<script>
document.addEventListener("DOMContentLoaded", function () {
const events = [
{
title: "Startup Ka Funding Formula",
speaker: "Urooj Fatima",
image: "media/Events/Event6.jpg",
date: "27th January 2025",
time: "8:00 PM",
mode: "Online",
attendees: "45 Attendees",
description: "The insightful session with Urooj Fatima, Founder of Coolcoinlee, was successfully held on 27th January 2025 at 8:00 PM via Teams. The discussion provided valuable guidance on the funding strategies for startups, covering key aspects of investment, fundraising, and financial planning to help aspiring entrepreneurs succeed.",
},
{
title: "Raah-e-Impact: Tasalsul-e-Hult",
speaker: "Rehan Mehdi",
image: "media/Events/Event5.jpg",
date: "18th January 2025",
time: "8:00 PM",
mode: "Online",
attendees: "45 Attendees",
description: "The impactful session with Rehan Mehdi, Lead of Hult Prize On-Campus MUET SZAB, was successfully held on 18th January 2025 at 8:00 PM via Teams. The discussion emphasized creating lasting impact through innovative initiatives, inspiring participants to drive meaningful change and explore new opportunities in the startup ecosystem.",
},
{
title: "Takhleeq-e-Startup",
speaker: "Waqas Saeed & Momina Iqbal",
image: "media/Events/Event4.jpg",
date: "16th January 2025",
time: "8:00 PM",
mode: "Online",
attendees: "75 Attendees",
description: "The informative session with Waqas Saeed and Momina Iqbal, Mentors at ETL, was successfully held on 16th January 2025 at 8:00 PM via Zoom. The discussion focused on the creation and growth of startups, providing aspiring entrepreneurs with essential insights into innovation, business development, and strategic planning.",
},
{
title: "Artificial Intelligence and Entrepreneurship",
speaker: "Asad Raza",
image: "media/Events/Event3.jpg",
date: "7th January 2025",
time: "1:00 PM",
mode: "In-Person",
attendees: "55 Attendees",
description: "The engaging session with Asad Raza, CEO of Indus CyberForce, was successfully held on 7th January 2025 at 1:00 PM in the Software Department. The discussion provided valuable insights into the intersection of AI and entrepreneurship, exploring how artificial intelligence is transforming business landscapes and driving innovation.",
},
{
title: "Innovating for Impact: Exploring the Hult Prize and the SDGs",
speaker: "Mazhar Ali Memon",
image: "media/Events/Event2.jpg",
date: "31st December 2024",
time: "12:00 PM",
mode: "Online",
attendees: "22 Attendees",
description: "The insightful session with Mazhar Ali Memon, Engineer, was successfully held on 31st December 2024 at 12:00 PM via Teams. The discussion focused on innovation for social impact, exploring the Hult Prize and Sustainable Development Goals (SDGs) while inspiring participants to develop creative solutions for global challenges.",
},
{
title: "Driving Impact with Teamwork",
speaker: "Fazli Subhan",
image: "media/Events/Event1.jpg",
date: "3rd December 2024",
time: "7:00 PM",
mode: "Online",
attendees: "14 Attendees",
description: "The insightful session with Fazli Subhan, National Coordinator at Hult Prize Pakistan, was successfully held on 3rd December at 7:00 PM via Zoom. Attendees gained valuable knowledge on teamwork, leadership, and effective strategies to enhance on-campus initiatives, making it a highly engaging and impactful discussion.",
},
];
const eventsContainer = document.getElementById("events");
events.forEach((event, index) => {
const isOdd = index % 2 !== 0;
let eventHTML = "";
if (!isOdd) {
eventHTML = `
<div class="container odd col-md-12" style="margin-top: 30px;">
<div class="card mb-12">
<div class="row g-0 align-items-center">
<div class="col-md-4">
<img src="${event.image}" class="img-fluid rounded" alt="...">
</div>
<div class="col-md-8">
<div class="card-body">
<h1 class="card-title mt-3">${event.title}</h1>
<p class="card-text" style="font-size: large;">
${event.description}
</p>
<div class="d-flex flex-wrap gap-3 mt-3">
<button class="btn text-white d-flex align-items-center px-3 py-2" style="background-color: #e6007f;" type="button" disabled>
<i class="fas fa-globe me-2"></i> ${event.mode}
</button>
<button class="btn text-white d-flex align-items-center px-3 py-2" style="background-color: #e6007f;" type="button" disabled>
<i class="fas fa-user-tie me-2"></i> ${event.speaker}
</button>
<button class="btn text-white d-flex align-items-center px-3 py-2" style="background-color: #e6007f;" type="button" disabled>
<i class="fas fa-users me-2"></i> ${event.attendees}
</button>
</div>
</div>
</div>
</div>
</div>
</div>
`;
} else {
eventHTML = `
<div class="container even" style="margin-top: 30px;">
<div class="card mb-12">
<div class="row flex-column-reverse flex-md-row g-0 align-items-center">
<div class="col-md-8">
<div class="card-body">
<h1 class="card-title mt-3">${event.title}</h1>
<p class="card-text" style="font-size: large;">
${event.description}
</p>
<div class="d-flex flex-wrap gap-3 mt-3">
<button class="btn text-white d-flex align-items-center px-3 py-2" style="background-color: #e6007f;" type="button" disabled>
<i class="fas fa-globe me-2"></i> ${event.mode}
</button>
<button class="btn text-white d-flex align-items-center px-3 py-2" style="background-color: #e6007f;" type="button" disabled>
<i class="fas fa-user-tie me-2"></i> ${event.speaker}
</button>
<button class="btn text-white d-flex align-items-center px-3 py-2" style="background-color: #e6007f;" type="button" disabled>
<i class="fas fa-users me-2"></i> ${event.attendees}
</button>
</div>
</div>
</div>
<div class="col-md-4">
<img src="${event.image}" class="img-fluid rounded" style="width: 100%; height: auto; object-fit: cover;" alt="Event Image">
</div>
</div>
</div>
</div>
`;
}
eventsContainer.innerHTML += eventHTML;
});
});
document.addEventListener("DOMContentLoaded", function () {
console.log(window.innerWidth);
if (window.innerWidth > 768) {
gsap.to(".odd", { x: -30, duration: 0.6, ease: "power2.in" });
gsap.to(".even", { x: 30, duration: 0.6, ease: "power2.in" });
console.log("Animation applied");
}
else {
gsap.from(".odd", { y: -30, duration: 0.6, ease: "power2.in" });
gsap.from(".even", { y: -30, duration: 0.6, ease: "power2.in" });
}
});
</script>
</body>
</html>