added 404

This commit is contained in:
Tristan Smith 2024-05-25 23:07:25 -04:00
parent 8c966ba60b
commit 0d1750d28f
2 changed files with 93 additions and 0 deletions

57
404.html Normal file
View file

@ -0,0 +1,57 @@
<!DOCTYPE html>
<html>
<head>
<title>404 Not Found - WillowMeCreations</title>
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Montserrat:400,700|Playfair+Display:400,700">
</head>
<body>
<header class="header">
<div class="container">
<div class="logo">
<img src="img/logo.png" alt="WillowMeCreations logo">
</div>
<nav class="topnav">
<a href="index.html">Home</a>
<a href="about.html">About</a>
<a href="news.html">News</a>
<a href="products.html">Products</a>
<a href="contact.html">Contact</a>
</nav>
</div>
</header>
<main>
<section class="error-404">
<div class="container">
<h1>404</h1>
<h2>Page Not Found</h2>
<p>Oops! It looks like the page you are looking for does not exist. It might have been moved or deleted.</p>
<a href="index.html" class="btn">Go to Homepage</a>
</div>
</section>
</main>
<footer class="footer">
<div class="container">
<div class="footer-info">
<h2>Willow Me Creations</h2>
<p>&copy; 2024 Willow Me Creations. All rights reserved.</p>
</div>
<div class="social-media">
<h2>Follow Me</h2>
<a href="https://instagram.com/" target="_blank"><i class="fab fa-instagram"></i></a>
<a href="https://facebook.com/" target="_blank"><i class="fab fa-facebook"></i></a>
<a href="https://tiktok.com/bethanyrhodes6" target="_blank"><i class="fab fa-tiktok"></i></a>
</div>
</div>
</footer>
<script src="script.js"></script>
</body>
</html>

View file

@ -327,6 +327,42 @@ header {
color: #fff; color: #fff;
} }
.error-404 {
padding: 100px 0;
text-align: center;
}
.error-404 h1 {
font-size: 6em;
font-family: 'Playfair Display', serif;
color: #FFD700;
/* Gold color for emphasis */
}
.error-404 h2 {
font-size: 2.5em;
margin-bottom: 20px;
}
.error-404 p {
font-size: 1.2em;
margin-bottom: 30px;
}
.error-404 .btn {
background-color: #333;
color: #fff;
padding: 10px 20px;
text-decoration: none;
font-weight: bold;
border-radius: 5px;
}
.error-404 .btn:hover {
background-color: #FFD700;
color: #333;
}
/* Media Queries for Responsiveness */ /* Media Queries for Responsiveness */
@media (max-width: 768px) { @media (max-width: 768px) {