Skip to content
Merged
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
1 change: 1 addition & 0 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ErrorDocument 404 /404.html
181 changes: 181 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,181 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/x-icon" href="assets/images/favicons/favicon1.png">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="assets/404.css">
<link rel="stylesheet" href="assets/customcursor.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.1/css/all.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap">
<script src="https://kit.fontawesome.com/4cf6385dfa.js" crossorigin="anonymous"></script>
<title>Eventica | Error 404</title>
</head>

<body>
<!-- Custom cursor section -->
<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>

<!-- Navigation bar section -->
<nav class="navbar">
<div class="navbar-container">
<a href="index.html" class="logo-container">
<img src="assets/images/logos/logo1.png" alt="Logo" class="logo">
<span class="logo-text">Eventica</span>
</a>
<button class="mobile-menu-btn" aria-label="Toggle mobile menu" aria-expanded="false">
<i class="fas fa-bars"></i>
<i class="fas fa-times"></i>
</button>
<div class="nav-items">
<ul class="nav-links">
<li><a href="index.html"><i class="fas fa-house"></i> Home</a></li>
<li><a href="#"><i class="fas fa-circle-info"></i> About</a></li>
<li><a href="index.html#events"><i class="fas fa-calendar-alt"></i> Upcoming Events</a></li>
<li><a href="assets/pastevents/"><i class="fas fa-calendar-check"></i> Past Events</a></li>
<li><a href="assets/contributors/contributor.html"><i class="fa-solid fa-users"></i> Contributors</a></li>
<li><a href="assets/contact/contact.html"><i class="fas fa-phone"></i> Contact</a></li>
</ul>
<div class="theme-switcher">
<button id="theme-toggle" aria-label="Change theme color">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<circle cx="12" cy="12" r="5"/>
<path d="M12 1v2M12 21v2M4.2 4.2l1.4 1.4M18.4 18.4l1.4 1.4M1 12h2M21 12h2M4.2 19.8l1.4-1.4M18.4 5.6l1.4-1.4">
</svg>
</button>
<div class="theme-options">
<button class="theme-btn" data-color="blue" data-image="assets/images/errors/blue.svg" aria-label="Blue theme"></button>
<button class="theme-btn" data-color="red" data-image="assets/images/errors/red.svg" aria-label="Red theme"></button>
<button class="theme-btn" data-color="yellow" data-image="assets/images/errors/yellow.svg" aria-label="Yellow theme"></button>
<button class="theme-btn" data-color="green" data-image="assets/images/errors/green.svg" aria-label="Green theme"></button>
<button class="theme-btn" data-color="purple" data-image="assets/images/errors/purple.svg" aria-label="Purple theme"></button>
</div>
</div>
<div class="dark-mode-switcher">
<button id="dark-mode-toggle" aria-label="Toggle dark mode">
<i class="fas fa-moon"></i>
</button>
</div>
</div>
</div>
</nav>

<!-- About main section -->
<main>
<section class="error-section">
<div class="container">
<div class="error-content">
<h1 class="error-title">404</h1>
<h2 class="error-subtitle">Page Not Found</h2>
<p class="error-text">
Oops! The page you are looking for does not exist or has been moved.
</p>
<div class="error-actions">
<a href="index.html" class="btn btn-primary">
<i class="fas fa-home"></i> Back to Home
</a>
<a href="assets/contact/contact.html" class="btn btn-secondary">
<i class="fas fa-envelope"></i> Contact Us
</a>
</div>
</div>
<div class="error-image">
<img id="error-illustration" src="assets/images/errors/blue.svg" alt="404 Error Illustration">
</div>
</div>
</section>
</main>

<!-- Footer section -->
<footer>
<div class="footer-container">
<div class="company-info">
<h1 class="company-name heading"><img src="assets/images/logos/logo1.png">Eventica</h1>
<p>Eventica, an ultimate guide to the dynamic and diverse events in Bangalore.
As the heart of India's tech and cultural hub, Eventica is dedicated to bridging the gap between event organizers and eager participants, creating a vibrant community.</p>
</div>
<div class="quick-links">
<h1 class="heading">Quick Links</h1>
<ul class="footer-ul">
<li><a href="index.html"><i class="fa fa-house" aria-hidden="true"></i> Home</a></li>
<li><a href="#"><i class="fa-solid fa-circle-info" aria-hidden="true"></i> About</a></li>
<li><a href="index.html#events"><i class="fas fa-calendar-alt" aria-hidden="true"></i> Upcoming Events</a></li>
<li><a href="pastevents/pastevents.html"><i class="fas fa-calendar-check" aria-hidden="true"></i> Past Events</a></li>
<li><a href="contributors/contributor.html"><i class="fa-solid fa-users" aria-hidden="true"></i> Contributors</a></li>
<li><a href="contact/contact.html"><i class="fa fa-phone" aria-hidden="true"></i> Contact</a></li>
</ul>
</div>
<div class="send-message">
<h1 class="heading">Keep In Touch</h1>
<form id="contact-form" name="Eventica Contact" autocomplete="off" netlify>
<div class="form-group group1">
<input type="text" id="name" name="name" placeholder="Enter your name" autocomplete="name" required oninput="validateName('name')">
<input type="email" id="email" name="email" placeholder="Enter your email" autocomplete="email" required oninput="validateEmail('email')">
</div>
<div class="form-group group1">
<textarea id="message" name="message" placeholder="Leave your message" required></textarea>
<button type="submit">SEND</button>
</div>
</form>
<div class="social">
<a class="user" href="https://rakesh9100.bio.link/" target="_blank"><i class="fa-solid fa-user socials"></i></a>
<a class="message" href="mailto:roshanrakesh7362@gmail.com" target="_blank"><i class="fa-solid fa-envelope"></i></a>
<a class="linkedin" href="https://www.linkedin.com/in/rakesh-roshan-9100/" target="_blank"><i class="fa fa-linkedin-square"></i></a>
<a class="github" href="https://www.github.com/Rakesh9100" target="_blank"><i class="fa-brands fa-square-github"></i></a>
<a class="instagram" href="https://www.instagram.com/rakesh250602/" target="_blank"><i class="fa-brands fa-instagram"></i></a>
<a class="facebook" href="https://www.facebook.com/rakesh6203/" target="_blank"><i class="fa-brands fa-square-facebook"></i></a>
<a class="twitter" href="https://twitter.com/rakeshroshan73" target="_blank"><i class="fa-brands fa-square-x-twitter"></i></a>
<a class="discord" href="https://discord.com/users/944144134950748170" target="_blank"><i class="fa-brands fa-discord"></i></a>
</div>
</div>
</div>

<p class="copyright">Created By Rakesh Roshan ❤️ | ©
<script>
document.write(new Date().getFullYear());
</script>: All Rights Reserved
</p>
</footer>

<!-- Scroll to top button -->
<a href="#" class="to-top">
<i class="fas fa-chevron-up"></i>
</a>

<script src="script.js"></script>
<script src="assets/customcursor.js"></script>
<script>
document.querySelectorAll('.theme-btn').forEach(button => {
button.addEventListener('click', () => {
const imageSrc = button.getAttribute('data-image');
document.getElementById('error-illustration').src = imageSrc;
});
});
</script>
</body>

</html>
116 changes: 116 additions & 0 deletions assets/404.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
.error-section {
display: flex;
align-items: center;
justify-content: center;
padding: 4rem 2rem;
min-height: 100vh;
background-color: var(--background-color);
color: var(--text-color);
}

.container {
display: flex;
align-items: center;
justify-content: space-between;
max-width: 1200px;
width: 100%;
gap: 2rem;
}

.error-content {
flex: 1;
padding: 2rem;
border-radius: 10px;
text-align: left;
}

.error-title {
font-size: 8rem;
color: var(--primary-color);
margin-bottom: 1rem;
}

.error-subtitle {
font-size: 3rem;
color: var(--primary-color);;
margin-bottom: 1rem;
}

.error-text {
font-size: 1.5rem;
color: var(--light-text-color);
margin-bottom: 2rem;
}

.error-actions {
display: flex;
gap: 1rem;
margin-bottom: 2rem;
}

.error-actions .btn {
display: inline-block;
padding: 1rem 2rem;
font-size: 1.2rem;
color: #ffffff;
border-radius: 5px;
text-decoration: none;
transition: background-color 0.3s ease;
}

.error-actions .btn-primary {
background-color: var(--primary-color);
}

.error-actions .btn-primary:hover {
background-color: var(--secondary-color);
}

.error-actions .btn-secondary {
background-color: var(--primary-color);
}

.error-actions .btn-secondary:hover {
background-color: var(--secondary-color);
}

.error-image {
flex: 1;
}

.error-image img {
max-width: 100%;
height: auto;
}

@media (max-width: 768px) {
.container {
flex-direction: column;
text-align: center;
}

.error-content {
text-align: center;
}

.error-title {
font-size: 4rem;
}

.error-subtitle {
font-size: 1.5rem;
}

.error-text {
font-size: 1rem;
}

.error-actions {
justify-content: center;
}

.error-actions .btn {
padding: 0.5rem 1rem;
font-size: 1rem;
}
}
1 change: 1 addition & 0 deletions assets/images/errors/blue.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/images/errors/green.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/images/errors/purple.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/images/errors/red.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/images/errors/yellow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.