Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
397 lines (350 loc) · 16.7 KB
/
Copy pathindex.html
File metadata and controls
397 lines (350 loc) · 16.7 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
<!DOCTYPE html>
<html lang="en" data-bs-theme="dark">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Coding Club</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-aFq/bzH65dt+w6FI2ooMVUpc+21e0SRygnTpmBvdBgSdnuTN7QbdgL+OapgHtvPp" crossorigin="anonymous" />
<style>
@import "https://fonts.googleapis.com/css?family=Roboto+Mono:100";
html,
body {
height: 100%;
margin: 0;
padding: 0;
}
#animation-container {
width: 100%;
height: 100%;
position: fixed;
z-index: -1;
top: 0;
left: 0;
background-image: url('background.jpg');
background-size: 100% auto;
/* Updated */
background-repeat: no-repeat;
animation: move-background 50s linear infinite;
}
@keyframes move-background {
0% {
background-position: bottom;
}
100% {
background-position: top;
}
}
@media (max-width: 768px) {
#animation-container {
background-size: auto 150%;
animation-duration: 25s;
/* Updated */
}
}
.nav-item .active {
background-color: rgba(0, 123, 255, 0.5);
color: #fff;
}
.nav-item .nav-link:hover {
background-color: rgba(0, 123, 255, 0.5);
color: #fff;
}
.bi {
vertical-align: -0.125em;
fill: currentColor;
}
.me-2 {
margin-right: 0.5rem !important;
}
.pt-5 {
padding-top: 0rem !important;
}
.my-5 {
margin-top: 0rem !important;
margin-bottom: 3rem !important;
}
.btn-group {
padding-bottom: 1.5rem !important;
}
.col-lg-4 {
position: relative;
transform: scale(1);
transition: all 0.3s ease-in-out;
}
.col-lg-4:hover {
transform: scale(1.1);
}
.svg-container {
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 1rem;
}
.col-lg-4 svg {
opacity: 0;
}
.col-lg-4:hover svg {
opacity: 1;
}
.bg-dark {
--bs-bg-opacity: 0;
}
.me-2 {
margin-left: 1rem !important;
margin-right: 1rem !important;
}
.ccontainer {
font-family: "Roboto Mono", monospace;
width: 100%;
justify-content: center;
align-items: center;
display: flex;
opacity: 1;
}
.text {
font-weight: 100;
font-size: 28px;
z-index: 1;
text-align: center;
}
.logo-img {
max-width: 100px;
max-height: 100px;
width: auto;
height: auto;
}
.img-container {
position: relative;
display: flex;
justify-content: center;
align-items: center;
z-index: 1000;
}
* {
border: none;
}
.card {
border: none;
border-radius: 10px;
}
.navbar-nav .nav-link {
border-radius: 10px;
}
.wc {
color: #fff;
}
.sticky-navbar {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 100;
}
</style>
</head>
<div id="animation-container"></div>
<body>
<nav class="navbar navbar-expand-lg navbar-dark " style="opacity:1; background-color: transparent; color: white;">
<a class="navbar-brand" href="home.html"><img src="Coding Club Logo Dark.png" alt="Coding Club Logo.png"
width="40px" height="40px"></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a href="home.html" class="nav-link active wc" aria-current="page">Home</a>
</li>
<li class="nav-item">
<a href="events.html" class="nav-link wc" aria-current="page">Events</a>
</li>
<li class="nav-item">
<a href="ourteam.html" class="nav-link wc" aria-current="page">Our Team</a>
</li>
<li class="nav-item">
<a href="member.html" class="nav-link wc" aria-current="page">Member</a>
</li>
</ul>
</div>
</nav>
<div class="img-container" style="padding-top: 50px;">
<img src="./Coding Club Logo Dark.png" alt="Coding Club Logo.png" class="logo-img" />
</div>
<!-- nachte hue text -->
<div class="ccontainer">
<div class="text" style="opacity: 1; color: white"></div>
</div>
<div style="height: 100px"></div>
<div class="card text-white bg-transparent mb-3" style="max-width: 100%">
<div class="row no-gutters">
<div class="col-md-4">
<img src="Coding Club.jpg" class="card-img" alt="Coding Club2.jpg" style="height: 100%" />
</div>
<div class="col-md-8 bg-transparent card text-center">
<div class="card-body">
<h2 class="card-title fs wc">Who We Are</h2>
<p class="card-text wc">
We are a dedicated community of passionate individuals driven by
our love for competitive programming. Together, we strive to push
the boundaries of our coding abilities, continuously challenge
ourselves, and foster an environment of growth and innovation.
Through collaboration, knowledge-sharing, and a commitment to
excellence, we aim to excel in the world of competitive
programming. Welcome to Coding Club, IIT Ropar!
</p>
<a href="ourteam.html" class="btn btn-outline-dark" style="opacity: 1; color: white">Check us
out!</a>
</div>
</div>
</div>
</div>
<div class="card text-white bg-transparent mb-3" style="max-width: 100%">
<div class="row no-gutters">
<div class="col-md-8 card bg-transparent text-center" style="height: 100%">
<div class="card-body">
<h2 class="card-title fs wc">What We Do</h2>
<p class="card-text wc">
We embark on a journey of continuous learning and problem-solving.
Through rigorous coding practice sessions, we sharpen our
problem-solving skills and tackle complex challenges. Engaging in
online and offline contests and competitions, we foster healthy
competition, push our limits, and showcase our individual and
collective talents. Join us and embrace the pursuit of knowledge
and success in the world of competitive programming.
</p>
<a href="events.html" class="btn btn-outline-dark" style="opacity: 1; color: white">Our Events</a>
</div>
</div>
<div class="col-md-4">
<img src="What We Do.jpg" class="card-img" alt="What We Do2.jpg" style="height: 250px; width: 100%" />
</div>
</div>
</div>
<footer class="d-flex flex-wrap justify-content-between align-items-center py-3 my-4 ">
<div class="col-md-4 d-flex align-items-center" style="padding-left: 1.5rem;">
<span class="mb-3 mb-md-0 text-body-secondary"
style="color: #6c757d; font-weight: bold ; white-space: nowrap; ">Copyright © 2023 Created with ❤ by
Devansh Garg and Mehul Gupta</span>
</div>
<ul class="nav col-md-4 justify-content-end list-unstyled d-flex">
<li class="ms-3">
<a class="text-body-secondary" href="mailto:codingclub@iitrpr.ac.in" target="_blank"><svg xmlns="http://www.w3.org/2000/svg"
width="25" height="25" fill="currentColor" class="bi bi-envelope" viewBox="0 0 16 16">
<path
d="M0 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V4Zm2-1a1 1 0 0 0-1 1v.217l7 4.2 7-4.2V4a1 1 0 0 0-1-1H2Zm13 2.383-4.708 2.825L15 11.105V5.383Zm-.034 6.876-5.64-3.471L8 9.583l-1.326-.795-5.64 3.47A1 1 0 0 0 2 13h12a1 1 0 0 0 .966-.741ZM1 11.105l4.708-2.897L1 5.383v5.722Z" />
</svg></a>
</li>
<li class="ms-3">
<a class="text-body-secondary" href="https://www.linkedin.com/company/coding-club-iit-ropar/mycompany/"
target="_blank"><svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="currentColor"
class="bi bi-linkedin" viewBox="0 0 16 16">
<path
d="M0 1.146C0 .513.526 0 1.175 0h13.65C15.474 0 16 .513 16 1.146v13.708c0 .633-.526 1.146-1.175 1.146H1.175C.526 16 0 15.487 0 14.854V1.146zm4.943 12.248V6.169H2.542v7.225h2.401zm-1.2-8.212c.837 0 1.358-.554 1.358-1.248-.015-.709-.52-1.248-1.342-1.248-.822 0-1.359.54-1.359 1.248 0 .694.521 1.248 1.327 1.248h.016zm4.908 8.212V9.359c0-.216.016-.432.08-.586.173-.431.568-.878 1.232-.878.869 0 1.216.662 1.216 1.634v3.865h2.401V9.25c0-2.22-1.184-3.252-2.764-3.252-1.274 0-1.845.7-2.165 1.193v.025h-.016a5.54 5.54 0 0 1 .016-.025V6.169h-2.4c.03.678 0 7.225 0 7.225h2.4z" />
</svg></a>
</li>
<li class="ms-3">
<a class="text-body-secondary" href="https://www.instagram.com/coding_iitrpr/" target="_blank"><svg xmlns="http://www.w3.org/2000/svg"
width="25" height="25" fill="currentColor" class="bi bi-instagram" viewBox="0 0 16 16">
<path
d="M8 0C5.829 0 5.556.01 4.703.048 3.85.088 3.269.222 2.76.42a3.917 3.917 0 0 0-1.417.923A3.927 3.927 0 0 0 .42 2.76C.222 3.268.087 3.85.048 4.7.01 5.555 0 5.827 0 8.001c0 2.172.01 2.444.048 3.297.04.852.174 1.433.372 1.942.205.526.478.972.923 1.417.444.445.89.719 1.416.923.51.198 1.09.333 1.942.372C5.555 15.99 5.827 16 8 16s2.444-.01 3.298-.048c.851-.04 1.434-.174 1.943-.372a3.916 3.916 0 0 0 1.416-.923c.445-.445.718-.891.923-1.417.197-.509.332-1.09.372-1.942C15.99 10.445 16 10.173 16 8s-.01-2.445-.048-3.299c-.04-.851-.175-1.433-.372-1.941a3.926 3.926 0 0 0-.923-1.417A3.911 3.911 0 0 0 13.24.42c-.51-.198-1.092-.333-1.943-.372C10.443.01 10.172 0 7.998 0h.003zm-.717 1.442h.718c2.136 0 2.389.007 3.232.046.78.035 1.204.166 1.486.275.373.145.64.319.92.599.28.28.453.546.598.92.11.281.24.705.275 1.485.039.843.047 1.096.047 3.231s-.008 2.389-.047 3.232c-.035.78-.166 1.203-.275 1.485a2.47 2.47 0 0 1-.599.919c-.28.28-.546.453-.92.598-.28.11-.704.24-1.485.276-.843.038-1.096.047-3.232.047s-2.39-.009-3.233-.047c-.78-.036-1.203-.166-1.485-.276a2.478 2.478 0 0 1-.92-.598 2.48 2.48 0 0 1-.6-.92c-.109-.281-.24-.705-.275-1.485-.038-.843-.046-1.096-.046-3.233 0-2.136.008-2.388.046-3.231.036-.78.166-1.204.276-1.486.145-.373.319-.64.599-.92.28-.28.546-.453.92-.598.282-.11.705-.24 1.485-.276.738-.034 1.024-.044 2.515-.045v.002zm4.988 1.328a.96.96 0 1 0 0 1.92.96.96 0 0 0 0-1.92zm-4.27 1.122a4.109 4.109 0 1 0 0 8.217 4.109 4.109 0 0 0 0-8.217zm0 1.441a2.667 2.667 0 1 1 0 5.334 2.667 2.667 0 0 1 0-5.334z" />
</svg></a>
</li>
</ul>
</footer>
<!-- <div class="container">
<footer class="py-3 my-4" style="margin-bottom: 0rem
!important;">
<p class="text-center text-body-secondary" style="color: #6c757d; font-weight: bold;">Copyright © 2023
Created with ❤ by Devansh Garg and Mehul Gupta</p>
</footer>
</div> -->
<script>
class TextScramble {
constructor(el) {
this.el = el;
this.chars = "!<>-_\\/[]{}—=+*^?#________";
this.update = this.update.bind(this);
}
setText(newText) {
const oldText = this.el.innerText;
const length = Math.max(oldText.length, newText.length);
const promise = new Promise((resolve) => (this.resolve = resolve));
this.queue = [];
for (let i = 0; i < length; i++) {
const from = oldText[i] || "";
const to = newText[i] || "";
const start = Math.floor(Math.random() * 40);
const end = start + Math.floor(Math.random() * 40);
this.queue.push({ from, to, start, end });
}
cancelAnimationFrame(this.frameRequest);
this.frame = 0;
this.update();
return promise;
}
update() {
let output = "";
let complete = 0;
for (let i = 0, n = this.queue.length; i < n; i++) {
let { from, to, start, end, char } = this.queue[i];
if (this.frame >= end) {
complete++;
output += to;
} else if (this.frame >= start) {
if (!char || Math.random() < 0.28) {
char = this.randomChar();
this.queue[i].char = char;
}
output += `<span class="dud">${char}</span>`;
} else {
output += from;
}
}
this.el.innerHTML = output;
if (complete === this.queue.length) {
this.resolve();
} else {
this.frameRequest = requestAnimationFrame(this.update);
this.frame++;
}
}
randomChar() {
return this.chars[Math.floor(Math.random() * this.chars.length)];
}
}
const phrases = [
"Ignite your coding potential.",
"Where champions are forged in code.",
"Code, Compete, Conquer.",
"Embrace the thrill of competitive coding.",
"Push your coding limits, reach new heights.",
];
const el = document.querySelector(".text");
const fx = new TextScramble(el);
let counter = 0;
const next = () => {
fx.setText(phrases[counter]).then(() => {
setTimeout(next, 800);
});
counter = (counter + 1) % phrases.length;
};
next();
</script>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.14.7/dist/umd/popper.min.js"
integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"
integrity="sha384-geWF76RCwLtnZ8qwWowPQNguL3RmwHVBC9FhGdlKrxdiJJigb/j/68SIy3Te4Bkz"
crossorigin="anonymous"></script>
</body>
</html>