Skip to content

Commit

Permalink
Added 404 page
Browse files Browse the repository at this point in the history
  • Loading branch information
mp-pinheiro committed Mar 21, 2024
1 parent 3e64f67 commit 5051342
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
31 changes: 31 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>404 Not Found | Fairfruit</title>
<link rel="stylesheet" href="elements.css">
<link rel="stylesheet" href="css/style.css">
<link rel="icon" href="img/icon.png" type="image/png">
<script src="js/main.js"></script>
</head>

<body>
<header>
<img class="logo" src="img/logo.png" alt="Fairfruit Logo">
<h1>Oops!</h1>
<hr>
</header>
<div class="container">
<div class="main-content" style="text-align: center;">
<h2>404 - Page Not Found</h2>
<p class="error-message">The page you are looking for might have been removed, had its name changed, or is
temporarily unavailable.
</p>
<a href="/" class="links links-red">Go to Homepage</a>
</div>
</div>
</body>

</html>
5 changes: 5 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -389,4 +389,9 @@ footer .external-links {

::-webkit-scrollbar-thumb:hover {
background: var(--color-secondary);
}

.error-message {
margin: 20px;
max-width: 600px;
}

0 comments on commit 5051342

Please sign in to comment.