forked from ML-Fusion-Lab/ML-Fusion-Lab-Website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
576 lines (508 loc) · 16.3 KB
/
index.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<head>
<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="style.css" />
<style>
header {
height: 100px;
}
.logo {
margin: 30px 0 0 0;
}
footer {
background-color: #333;
color: white;
text-align: center;
padding: 20px 0;
margin-top: auto;
}
.footer-container {
max-width: 800px;
margin: auto;
padding: 0 20px;
}
.footer-links,
.footer-socials,
.footer-contact {
margin: 10px 0;
}
.footer-links a,
.footer-socials a {
color: white;
text-decoration: none;
margin: 0 10px;
transition: color 0.3s;
}
.footer-links a:hover,
.footer-socials a:hover {
color: #007bff;
}
.footer-socials a {
font-size: 24px;
margin: 0 15px;
}
.footer-contact a {
color: white;
}
.newsletter .input-group .input {
color: black;
}
#scrollTopBtn {
display: none;
position: fixed;
bottom: 20px;
right: 30px;
z-index: 99;
font-size: 18px;
background-color: #00bfff;
color: white;
border: none;
padding: 10px;
border-radius: 5px;
}
#scrollTopBtn:hover {
background-color: #555;
}
</style>
</head>
<link rel="stylesheet" href="style.css" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="scroll.css" />
</head>
<body>
<!-- html for mouse cursor trail effect -->
<div class="circle-container">
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
</div>
<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>
<li><a href="login.html">Login</a></li>
<div class="theme-switch" id="theme-switch"></div>
</ul>
</nav>
</header>
<section class="hero">
<div class="hero-content">
<h2>Learn Machine Learning with Us</h2>
<p>
We provide top-notch resources to help you master machine learning,
from basics to advanced levels.
</p>
<a href="courses.html" class="btn">Explore Courses</a>
</div>
</section>
<!-- about section starts -->
<section class="about" id="about">
<div class="row">
<div class="img-container">
<img
src="https://images.unsplash.com/photo-1522071820081-009f0129c71c?q=80&w=1470&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"
alt="ML Fusion Lab" />
<h3>ML FUSION LAB</h3>
</div>
<div class="content">
<h3 class="content-heading">About Us</h3>
<!-- Added a heading for bold text -->
<p>
We are a community-driven platform that aims to provide free,
accessible, and high-quality machine learning tutorials, projects,
and resources for all. Whether you are a beginner or an experienced
professional, ML Fusion Labs has something to offer for everyone.
</p>
<a href="#" class="btn">Learn more</a>
</div>
</div>
</section>
<!-- Direct Course Jump-In -->
<div class="direct-course">
<h3 class="head-h3">Jump To Courses</h3>
<p class="crcPara">
Our platform is perfect for those eager to dive into Python programming
and explore the fascinating world of AI and ML. With comprehensive
tutorials and hands-on projects, you'll gain the skills needed to excel
in these cutting-edge fields.
</p>
<div class="en-course">
<a class="cr-box" href="https://roadmap.sh/python">Know The Roadmap</a>
<a class="cr-box" href="https://www.learnpython.org/">Learn Basics</a>
<a class="cr-box" href="https://www.w3schools.com/python/python_ml_getting_started.asp">Learn AI & ML</a>
</div>
</div>
<!-- about section ends -->
<section class="features">
<div class="container">
<h2>Our Features</h2>
<div class="feature-grid">
<div class="feature-item">
<a href="courses.html" style="text-decoration: none">
<h3>Structured Learning</h3>
<p>
Our courses are designed for clarity and progress, from
fundamentals to expert-level topics.
</p>
</a>
</div>
<div class="feature-item">
<a href="projects.html" style="text-decoration: none">
<h3>Practical Projects</h3>
<p>
Work on real-world ML projects to apply the concepts you learn.
</p>
</a>
</div>
<div class="feature-item">
<a href="community_suport.html" style="text-decoration: none">
<h3>Community Support</h3>
<p>
Collaborate with other learners and contribute to open-source ML
projects.
</p>
</a>
</div>
</div>
</div>
</section>
<div class="newsletter">
<div class="newsletter-left">
<h1>Sign Up for Newsletters</h1>
<p>
Get updates in your E-mail about
<span>latest deals and products</span>
</p>
</div>
<div class="newsletter-right">
<div class="input-group">
<input type="email" id="email" placeholder="Enter your email" class="input" required />
<button type="submit" class="submit-button" id="submit-button">
Subscribe
</button>
</div>
<div id="error-message" style="display: none; color: red; width: 242px">
Please enter a valid email address.
</div>
<!-- Confirmation message container -->
<div id="confirmation-message" style="display: none" class="confirmation-message">
Thank you for subscribing to our newsletter!
</div>
</div>
</div>
<style>
.input-group {
display: flex;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.input {
transition: all 0.3s ease;
border: 2px solid #ccc;
padding: 10px;
border-radius: 4px 0 0 4px;
outline: none;
}
.input:focus {
border-color: #0056b3;
box-shadow: 0 0 10px rgba(0, 86, 179, 0.2);
}
.input::placeholder {
color: #999;
transition: all 0.3s ease;
}
.input:focus::placeholder {
opacity: 0;
transform: translateX(10px);
}
.submit-button {
transition: all 0.3s ease;
background-color: #0056b3;
color: white;
border: none;
padding: 10px 20px;
border-radius: 0 4px 4px 0;
cursor: pointer;
position: relative;
overflow: hidden;
min-height: 50px;
font-size: 16px;
}
.submit-button:hover {
background-color: #003d82;
}
.submit-button::before {
content: "";
position: absolute;
top: 50%;
left: 50%;
width: 0;
height: 0;
background-color: rgba(255, 255, 255, 0.2);
border-radius: 50%;
transition: width 0.6s ease, height 0.6s ease;
transform: translate(-50%, -50%);
}
.submit-button:hover::before {
width: 300px;
height: 300px;
}
.submit-button:active {
transform: scale(0.95);
}
@keyframes shake {
0%,
100% {
transform: translateX(0);
}
25% {
transform: translateX(5px);
}
75% {
transform: translateX(-5px);
}
}
.input:invalid:not(:placeholder-shown) {
animation: shake 0.3s;
border-color: #ff3860;
}
.confirmation-message {
position: fixed;
top: 20px;
left: 50%;
transform: translateX(-50%);
background-color: #4caf50;
color: white;
padding: 15px;
border-radius: 5px;
font-size: 16px;
z-index: 1000;
text-align: center;
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
opacity: 0;
transition: opacity 0.5s ease-in-out;
}
@media only screen and (max-width: 600px) {
.confirmation-message {
font-size: 14px;
padding: 10px;
width: 80%;
}
}
/* css for mouse cursor trail effect */
.circle {
position: absolute;
width: 25px;
height: 25px;
border-radius: 50%;
pointer-events: none;
background: radial-gradient(circle,
rgba(70, 130, 180, 0.3),
skyblue,
rgba(0, 0, 50, 0.3),
white);
transition: transform 0.1s, left 0.1s, top 0.1s;
}
.circle-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 9999;
/* removed the non-breaking space ( ) */
}
</style>
<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>
<a href="https://github.com" target="_blank"><i class="fab fa-github"></i></a> <!-- GitHub link added -->
</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>
<button id="scrollTopBtn" onclick="scrollToTop()">
<i class="fas fa-arrow-up"></i>
</button>
</footer>
<script>
const scrollTopBtn = document.getElementById("scrollTopBtn");
window.onscroll = function () {
if (
document.body.scrollTop > 20 ||
document.documentElement.scrollTop > 20
) {
scrollTopBtn.style.display = "block";
} else {
scrollTopBtn.style.display = "none";
}
};
function scrollToTop() {
window.scrollTo({
top: 0,
behavior: "smooth",
});
}
</script>
<script src="scroll.js"></script>
<script src="script.js"></script>
<script>
let isSubmitting = false; // Debouncing flag
// Function to show confirmation message
function showConfirmationMessage() {
var messageElement = document.getElementById("confirmation-message");
messageElement.style.display = "block";
messageElement.style.opacity = "1";
// Hide the message after 3 seconds
setTimeout(function () {
messageElement.style.opacity = "0";
setTimeout(function () {
messageElement.style.display = "none";
}, 500); // wait for the opacity transition to finish
}, 3000);
}
// Email validation function
function validateEmail(email) {
var re = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
return re.test(String(email).toLowerCase());
}
// Debounced form submission function
function debouncedSubmit(event) {
event.preventDefault(); // Prevent default form submission
var email = document.getElementById("email").value;
var errorMessage = document.getElementById("error-message");
// Check if already submitting (debouncing) and if email is valid
if (isSubmitting) {
return; // Prevent multiple submissions
}
if (!validateEmail(email)) {
errorMessage.style.display = "block"; // Show error message
return;
}
errorMessage.style.display = "none"; // Hide error message if valid
console.log("Form submitted");
// Simulate form submission with a delay (debounce)
isSubmitting = true;
showConfirmationMessage();
// Simulate form submission here if needed (AJAX or similar)
setTimeout(() => {
isSubmitting = false; // Reset debouncing after 5 seconds
}, 5000);
}
// Attach the function to the submit button
document
.getElementById("submit-button")
.addEventListener("click", debouncedSubmit);
</script>
<!-- js for mouse cursor trail effect -->
<script>
document.addEventListener("DOMContentLoaded", function () {
const coords = { x: 0, y: 0 };
const circles = document.querySelectorAll(".circle");
circles.forEach(function (circle) {
circle.x = 0;
circle.y = 0;
});
window.addEventListener("mousemove", function (e) {
coords.x = e.pageX;
coords.y = e.pageY - window.scrollY; // Adjust for vertical scroll position
});
function animateCircles() {
let x = coords.x;
let y = coords.y;
circles.forEach(function (circle, index) {
circle.style.left = `${x - 12}px`;
circle.style.top = `${y - 12}px`;
circle.style.transform = `scale(${(circles.length - index) / circles.length
})`;
const nextCircle = circles[index + 1] || circles[0];
circle.x = x;
circle.y = y;
x += (nextCircle.x - x) * 0.3;
y += (nextCircle.y - y) * 0.3;
});
requestAnimationFrame(animateCircles);
}
animateCircles();
});
</script>
<!-- Botpress Chat Scripts -->
<script src="https://cdn.botpress.cloud/webchat/v2.2/inject.js"></script>
<script src="https://files.bpcontent.cloud/2024/10/06/10/20241006104845-C8MQIMON.js"></script>
</body>
</html>