Skip to content

Commit

Permalink
add css to error page
Browse files Browse the repository at this point in the history
  • Loading branch information
jdub233 committed Mar 12, 2024
1 parent 367bfd0 commit 19146fd
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/handler/responsePages.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
const pageCSS = `
body {
font-family: "Benton-Sans", sans-serif;
color: #555;
}
h1 {
font-size: 3em;
color: #000;
padding: 3em;
}
`;

const notFoundPage = `
<!DOCTYPE html>
<html>
<head>
<title>404 Not Found</title>
<style type="text/css">
${pageCSS}
</style>
</head>
<body>
<h1>404 Not Found</h1>
Expand Down

0 comments on commit 19146fd

Please sign in to comment.