diff --git a/locales/en_US.json b/locales/en_US.json index 8167558..53fc5ff 100644 --- a/locales/en_US.json +++ b/locales/en_US.json @@ -367,7 +367,7 @@ "confirm": "Confirm", "close": "Close" }, - "notfound":{ + "notfound": { "description": "Oops! We could not find this page." } } diff --git a/public/assets/css/404.css b/public/assets/css/404.css index 03512c3..968561e 100644 --- a/public/assets/css/404.css +++ b/public/assets/css/404.css @@ -1,16 +1,16 @@ -.title404{ +.status { text-align: center; font-size: 8rem; padding-top: 60px; color: var(--text-shade-1); } -.dis404{ +.description { text-align: center; font-size: 1.7rem; margin-top: -10px; color: var(--text-shade-1); } -.shockedbandwidth{ +.shocked-bandwidth { display: block; margin-left: auto; margin-right: auto; @@ -18,7 +18,7 @@ margin-bottom: -120px; } @media screen and (max-width: 900px) { - .shockedbandwidth{ + .shocked-bandwidth { margin-bottom: -100px; } } \ No newline at end of file diff --git a/src/server.js b/src/server.js index 456b79f..a0905a7 100644 --- a/src/server.js +++ b/src/server.js @@ -102,7 +102,6 @@ logger.info('Creating 404 status handler'); app.use((request, response) => { const fullUrl = util.fullUrl(request); response.render('404'); - logger.warn(`HTTP 404 at ${fullUrl}`); }); logger.info('Setting up handlebars engine'); diff --git a/views/404.handlebars b/views/404.handlebars index 0a4cd31..54c7fca 100644 --- a/views/404.handlebars +++ b/views/404.handlebars @@ -3,9 +3,9 @@ {{> header}}
-
404
-
{{ locale.notfound.description }}
- - {{> footer }} +
404
+
{{ locale.notfound.description }}
+ + {{> footer }}