Skip to content

Commit

Permalink
add 404 page
Browse files Browse the repository at this point in the history
  • Loading branch information
reorx committed Oct 8, 2022
1 parent 288d2c8 commit 147b918
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 2 deletions.
30 changes: 30 additions & 0 deletions public/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>SUI2</title>
<meta charset="utf-8">
<meta name="description" content="a startpage for your server and / or new tab page">
<meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport" />
<link rel="shortcut icon" href="/icon-512.png" type="image/png">
<style>
.container {
display: flex;
flex-direction: column;
font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, Roboto, sans-serif;
margin-top: 20vh;
}
.container * {
align-self: center;
}
</style>
</head>
<body>
<div class="container">
<h2>404 Not Found</h2>
<p>
You are coming to the wrong place.
</p>
</div>

</body>
</html>
3 changes: 1 addition & 2 deletions scss/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ html,
body {
background-color: var(--color-background);
color: var(--color-text-pri);
font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, Roboto,
sans-serif;
font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, Roboto, sans-serif;
font-size: 14px;
height: auto;
letter-spacing: -0.012em;
Expand Down

0 comments on commit 147b918

Please sign in to comment.