Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
96 changes: 96 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>EduBridge | 404 - Page Not Found</title>
<link rel="stylesheet" href="Styles/main.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<style>
.error-page {
display: flex;
align-items: center;
justify-content: center;
min-height: calc(100vh - 200px);
padding: 2rem;
text-align: center;
}
.error-content {
max-width: 500px;
}
.error-code {
font-size: 8rem;
font-weight: 700;
color: var(--secondary-color);
line-height: 1;
margin-bottom: 1rem;
}
.error-content h1 {
font-size: 2rem;
margin-bottom: 1rem;
color: var(--text-color);
}
.error-content p {
font-size: 1.1rem;
color: var(--text-color);
margin-bottom: 2rem;
opacity: 0.8;
}
.error-actions {
display: flex;
gap: 1rem;
justify-content: center;
flex-wrap: wrap;
}
</style>
</head>
<body>
<header>
<nav class="navbar">
<a href="index.html" class="logo">EduBridge</a>
<ul class="nav-links">
<li><a href="index.html">Home</a></li>
<li><a href="webdev.html">Web Development</a></li>
<li><a href="ai.html">AI & ML</a></li>
<li><a href="career.html">Career</a></li>
<li class="auth-buttons" id="authButtons">
<a href="login.html" class="btn btn-outline">Login</a>
<a href="register.html" class="btn">Register</a>
</li>
</ul>
</nav>
</header>

<main class="error-page">
<div class="error-content">
<div class="error-code">404</div>
<h1>Page Not Found</h1>
<p>Sorry, the page you are looking for does not exist or has been moved.</p>
<div class="error-actions">
<a href="index.html" class="btn"><i class="fas fa-home"></i> Go Home</a>
<a href="javascript:history.back()" class="btn btn-outline"><i class="fas fa-arrow-left"></i> Go Back</a>
</div>
</div>
</main>

<footer>
<div class="footer-content">
<div class="footer-section">
<h3>Quick Links</h3>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="webdev.html">Web Development</a></li>
<li><a href="ai.html">AI & ML</a></li>
<li><a href="career.html">Career</a></li>
</ul>
</div>
<div class="footer-section">
<h3>Follow Us</h3>
<a href="https://x.com/shivam98997467" target="_blank" class="social-button" title="Follow us on Twitter">
<i class="fab fa-twitter"></i>
</a>
</div>
</div>
</footer>
</body>
</html>
32 changes: 32 additions & 0 deletions Styles/auth.css
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,38 @@
margin-top: 0.25rem;
}

/* Password Visibility Toggle */
.password-wrapper {
position: relative;
display: flex;
align-items: center;
}

.password-wrapper input {
width: 100%;
padding-right: 2.5rem;
}

.password-toggle {
position: absolute;
right: 0.5rem;
background: none;
border: none;
cursor: pointer;
color: var(--text);
padding: 0.25rem;
font-size: 1.1rem;
display: flex;
align-items: center;
justify-content: center;
opacity: 0.6;
transition: opacity 0.2s;
}

.password-toggle:hover {
opacity: 1;
}

/* Responsive Design */
@media (max-width: 480px) {
.auth-card {
Expand Down
34 changes: 34 additions & 0 deletions Styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -1138,6 +1138,40 @@ ul li i.fa-check {
color: var(--light-text);
}

/* Scroll to Top Button */
#scrollToTop {
position: fixed;
bottom: 2rem;
right: 2rem;
width: 44px;
height: 44px;
background: var(--secondary-color);
color: white;
border: none;
border-radius: 50%;
cursor: pointer;
font-size: 1.25rem;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 2px 10px rgba(0,0,0,0.2);
opacity: 0;
visibility: hidden;
transform: translateY(10px);
transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease;
z-index: 999;
}

#scrollToTop.visible {
opacity: 1;
visibility: visible;
transform: translateY(0);
}

#scrollToTop:hover {
background: var(--primary-color);
}

/* Responsive Modal */
@media (max-width: 768px) {
.modal-content {
Expand Down
18 changes: 17 additions & 1 deletion admin.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>EduBridge Admin Dashboard</title>
<title>EduBridge | Admin</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Fraunces:wght@500;700&family=Space+Grotesk:wght@400;500;600&display=swap" rel="stylesheet" />
Expand Down Expand Up @@ -317,8 +317,24 @@ <h3>Follow Us</h3>

<div class="toast-container" id="toastContainer" aria-live="polite" aria-atomic="true"></div>

<button id="scrollToTop" aria-label="Scroll to top"><i class="fas fa-arrow-up"></i></button>

<script src="scripts/content-data.js"></script>
<script src="scripts/quiz-data.js"></script>
<script src="scripts/admin.js"></script>
<script>
// Scroll to Top
const scrollBtn = document.getElementById('scrollToTop');
window.addEventListener('scroll', () => {
if (window.scrollY > 300) {
scrollBtn.classList.add('visible');
} else {
scrollBtn.classList.remove('visible');
}
});
scrollBtn.addEventListener('click', () => {
window.scrollTo({ top: 0, behavior: 'smooth' });
});
</script>
</body>
</html>
17 changes: 16 additions & 1 deletion ai.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AI & Machine Learning - EduBridge</title>
<title>EduBridge | AI Assistant</title>
<!-- CSS Dependencies -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"/>
<link rel="stylesheet" href="https://unpkg.com/aos@2.3.4/dist/aos.css"/>
Expand Down Expand Up @@ -474,6 +474,21 @@ <h3>Follow Us</h3>
closeVideo();
}
}

// Scroll to Top
const scrollBtn = document.getElementById('scrollToTop');
window.addEventListener('scroll', () => {
if (window.scrollY > 300) {
scrollBtn.classList.add('visible');
} else {
scrollBtn.classList.remove('visible');
}
});
scrollBtn.addEventListener('click', () => {
window.scrollTo({ top: 0, behavior: 'smooth' });
});
</script>

<button id="scrollToTop" aria-label="Scroll to top"><i class="fas fa-arrow-up"></i></button>
</body>
</html>
17 changes: 16 additions & 1 deletion career.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Career Guidance - EduBridge</title>
<title>EduBridge | Career Guidance</title>
<!-- CSS Dependencies -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"/>
<link rel="stylesheet" href="https://unpkg.com/aos@2.3.4/dist/aos.css"/>
Expand Down Expand Up @@ -516,6 +516,21 @@ <h3>Follow Us</h3>
closeVideo();
}
}

// Scroll to Top
const scrollBtn = document.getElementById('scrollToTop');
window.addEventListener('scroll', () => {
if (window.scrollY > 300) {
scrollBtn.classList.add('visible');
} else {
scrollBtn.classList.remove('visible');
}
});
scrollBtn.addEventListener('click', () => {
window.scrollTo({ top: 0, behavior: 'smooth' });
});
</script>

<button id="scrollToTop" aria-label="Scroll to top"><i class="fas fa-arrow-up"></i></button>
</body>
</html>
Loading