Skip to content

Commit

Permalink
ui updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Tamim committed May 17, 2024
1 parent 595e941 commit 37fb605
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ RewriteCond %{REQUEST_FILENAME}\.html -f
RewriteRule ^([^/]+)/?$ $1.html [L]

# Error pages
ErrorDocument 404 /error404.html
ErrorDocument 500 /error500.html
ErrorDocument 404 /404.html
64 changes: 64 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Page Not Found</title>
<style>
body {
background: #111;
color: #fff;
text-align: center;
padding: 50px;
font-family: "Open Sans", sans-serif;
}

.container {
max-width: 600px;
margin: auto;
}

h1 {
font-size: 48px;
margin-bottom: 10px;
}

p {
font-size: 18px;
margin-bottom: 10px;
}

a {
text-decoration: none;
}

a:hover {
text-decoration: underline;
}

.btn {
display: inline-block;
padding: 10px 20px;
margin-top: 20px;
background: #fff;
color: #111;
border-radius: 2px;
transition: 0.3s;
}

.btn:hover {
background: #eee;
}
</style>
</head>

<body>
<div class="container">
<h1>404</h1>
<p>Oops! The page you are looking for cannot be found.</p>
<a href="/" class="btn">Go to Home</a>
</div>
</body>

</html>

0 comments on commit 37fb605

Please sign in to comment.