-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Made a 404 page for publify with relevant links #623
base: master
Are you sure you want to change the base?
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>The page you were looking for doesn't exist (404)</title> | ||
<title>404 Not Found</title> | ||
<meta name="viewport" content="width=device-width,initial-scale=1"> | ||
<style> | ||
body { | ||
background-color: #EFEFEF; | ||
background-color: #FFFFFF; | ||
color: #2E2F30; | ||
text-align: center; | ||
font-family: arial, sans-serif; | ||
|
@@ -23,7 +23,7 @@ | |
border-right-color: #999; | ||
border-left-color: #999; | ||
border-bottom-color: #BBB; | ||
border-top: #B00100 solid 4px; | ||
border-top: #A5A5A5 solid 4px; | ||
border-top-left-radius: 9px; | ||
border-top-right-radius: 9px; | ||
background-color: white; | ||
|
@@ -32,9 +32,13 @@ | |
} | ||
|
||
h1 { | ||
font-size: 100%; | ||
color: #730E15; | ||
line-height: 1.5em; | ||
font-size: 42px;; | ||
color: #000000; | ||
/*line-height: 1.5em;*/ | ||
} | ||
|
||
h2 { | ||
color: #417DBE; | ||
} | ||
|
||
div.dialog > p { | ||
|
@@ -58,10 +62,17 @@ | |
<!-- This file lives in public/404.html --> | ||
<div class="dialog"> | ||
<div> | ||
<h1>The page you were looking for doesn't exist.</h1> | ||
<h2>Publify</h2> | ||
<h1>404 Not Found</h1> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What about having the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think the 404 message is the main thing, so it makes sense for that to be h1. I would remove the Publify heading entirely. |
||
<p>You may have mistyped the address or the page may have moved.</p> | ||
</div> | ||
<p>If you are the application owner check the logs for more information.</p> | ||
<p>If you are the application owner check the logs for more information. | ||
<br> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This |
||
<br> | ||
<a href="http://localhost:3000/">Home</a> | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This link won't work in a production environment. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So I'll just remove it? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Tricky. You could simply change the links to just ba a path: Removing the links is probably the best option. |
||
<a href="http://localhost:3000/notes">Notes</a> | | ||
<a href="http://localhost:3000/archives">Archives</a> | ||
</p> | ||
</div> | ||
</body> | ||
</html> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left an extra
;
semi-colon here