forked from ML-Fusion-Lab/ML-Fusion-Lab-Website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
contributor.html
327 lines (291 loc) · 8.14 KB
/
contributor.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" />
<link rel="icon" href="ml-fusion-lab-logo.png" />
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ML Fusion Lab</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css"
integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="contributor.css" />
<style>
html {
scroll-behavior: smooth;
}
body {
background-color: #a0a09c;
}
header {
background-color: #1a1a1a;
padding: 0px 20px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
position: sticky;
top: 0;
z-index: 1000;
border-bottom: 3px solid #00c6ff;
display: flex;
justify-content: space-between;
align-items: center;
}
header nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.5rem 1rem;
}
header nav ul {
list-style: none;
display: flex;
gap: 30px;
}
header nav ul li a {
color: #fff;
text-decoration: none;
font-weight: 600;
font-size: 18px;
transition: color 0.3s, border-bottom 0.3s;
background-color: rgb(72, 71, 71);
padding: 15px;
}
header nav ul li a:hover {
background-color: #00c6ff;
color: #000;
border-radius: 0.75rem;
}
@media (max-width: 900px) {
header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.5rem 1rem;
}
header nav {
flex-direction: column;
align-items: flex-start;
width: 100%;
}
header nav .hamburger {
display: block;
font-size: 28px;
cursor: pointer;
color: #fff;
padding: 1rem;
position: absolute;
top: 0;
right: 1rem;
}
header nav ul {
flex-direction: column;
display: none;
width: 100%;
height: 100vh;
background-color: #333;
padding: 1rem;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
border-radius: 0 0 8px 8px;
}
header nav ul.show {
display: flex;
}
}
@media (min-width: 901px) {
header nav .hamburger {
display: none;
}
header nav ul {
display: flex;
flex-direction: row;
align-items: center;
}
}
header .logo h1 {
color: #fff;
font-weight: 700;
font-size: 28px;
margin: 0;
}
.top-btn {
display: none;
width: 50px;
height: 50px;
position: fixed;
bottom: 10px;
right: 0px;
background-color: #59038a;
color: #fff;
padding: 2px;
border: none;
margin-right: 36px;
border-radius: 50%;
cursor: pointer;
}
.top-btn:hover {
background-color: #f689f2;
}
/* Container for the progress bar */
#progress-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 8px;
background-color: #f3f3f3;
z-index: 99;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
/* Progress bar with glowing effect */
#progress-bar {
height: 100%;
width: 0%;
background: linear-gradient(90deg, #9be5ff, #0074e1);
box-shadow: 0 0 15px rgba(0, 116, 225, 0.7),
0 0 30px rgba(0, 116, 225, 0.5);
border-radius: 4px;
transition: width 0.25s ease-out;
}
/* Glowing animation */
#progress-bar::before {
content: "";
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
background: radial-gradient(circle, rgba(255, 255, 255, 0.4), transparent);
opacity: 0.5;
animation: glow 2s infinite;
border-radius: inherit;
}
/* Glowing animation keyframes */
@keyframes glow {
0% {
opacity: 0.5;
}
50% {
opacity: 1;
}
100% {
opacity: 0.5;
}
}
/* Responsive adjustments */
@media screen and (max-width: 600px) {
#progress-container {
height: 6px;
}
}
header {
height: 100px;
}
body {
min-height: 100vh;
max-width: 100vw;
}
</style>
</head>
<body>
<header>
<div id="progress-container">
<div id="progress-bar"></div>
</div>
<div class="logo">
<a href="index.html">
<h1>
<img src="ml fusion lab log.jpg" alt="logo" width="100" height="100" />
</h1>
</a>
</div>
<nav>
<div class="hamburger" id="hamburger">☰</div>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="courses.html">Courses</a></li>
<li><a href="projects.html">Projects</a></li>
<li><a href="about.html">About Us</a></li>
<li><a href="contact.html">Contact</a></li>
<li><a href="community_suport.html">Community Support</a></li>
<li><a href="feedback.html">Feedback</a></li>
</ul>
</nav>
</header>
<div class="container">
<h1 class="title">Our Contributors</h1>
<div id="contributors" class="contributors-grid"></div>
</div>
<button class="top-btn" id="goToTopBtn" onclick="goToTop()">
<i class="fa-solid fa-chevron-up" style="color: #ffffff"></i>
</button>
<footer>
<div class="container">
<div class="footer-socials">
Follow us on:
<a href="https://facebook.com" target="_blank"><i class="fab fa-facebook-f"></i></a>
<a href="https://twitter.com" target="_blank"><i class="fa-brands fa-x-twitter"></i></a>
<a href="https://linkedin.com" target="_blank"><i class="fab fa-linkedin-in"></i></a>
</div>
<div class="footer-contact">
<p>
Contact us:
<a href="mailto:[email protected]" style="color: white">[email protected]</a>
| Phone: +1 (555) 123-4567
</p>
</div>
<div class="footer-links">
<a href="privacy.html">Privacy Policy</a> |
<a href="terms.html">Terms of Service</a> |
<a href="about.html">About Us</a> |
<a href="contact.html">Contact</a> |
<a href="contributor.html">Contributor</a>
</div>
<p>© 2024 ML Fusion Labs | All Rights Reserved</p>
</div>
</footer>
<script>
// Get the button
var mybutton = document.getElementById("goToTopBtn");
// When the user scrolls down 20px from the top of the document, show the button
window.onscroll = function () {
scrollFunction();
};
function scrollFunction() {
if (
document.body.scrollTop > 20 ||
document.documentElement.scrollTop > 20
) {
mybutton.style.display = "block";
} else {
mybutton.style.display = "none";
}
}
// When the user clicks on the button, scroll to the top of the document
function goToTop() {
document.body.scrollTop = 0;
document.documentElement.scrollTop = 0;
}
</script>
<script src="contributor.js"></script>
<script>
window.addEventListener("scroll", function () {
const winScroll =
document.body.scrollTop || document.documentElement.scrollTop;
const height =
document.documentElement.scrollHeight -
document.documentElement.clientHeight;
const scrolled = (winScroll / height) * 100;
document.getElementById("progress-bar").style.width = scrolled + "%";
});
// progress bar functioning
window.onscroll = function () { updateProgressBar() };
function updateProgressBar() {
var windowScroll = document.documentElement.scrollTop || document.body.scrollTop;
var windowHeight = document.documentElement.scrollHeight - document.documentElement.clientHeight;
var scrollPercentage = (windowScroll / windowHeight) * 100;
document.getElementById('progress-bar').style.width = scrollPercentage + "%";
}
</script>
</body>
</html>