diff --git a/app/styles/app.scss b/app/styles/app.scss index 67175c70..5e562799 100644 --- a/app/styles/app.scss +++ b/app/styles/app.scss @@ -23,6 +23,36 @@ table { padding: 2rem; } +// 404 styling +.whoops { + display: flex; + justify-content: center; + align-items: center; + padding: var(--spacing-6) +} + +.whoops img { + width: 240px; + margin: var(--spacing-2); +} + +@media (max-width: 450px) { + .whoops { + flex-direction: column; + padding: var(--spacing-3); + } + + .whoops img { + width: 80%; + margin: var(--spacing-4); + } + + .whoops__message { + margin: var(--spacing-2); + text-align: center; + } +} + // override ember-styleguide. Needed to contain code blocks. .main { grid-area: main; diff --git a/app/templates/error.hbs b/app/templates/error.hbs new file mode 100644 index 00000000..832e29b7 --- /dev/null +++ b/app/templates/error.hbs @@ -0,0 +1,9 @@ +{{page-title "Page Not Found"}} + +
+ tomster stinky fish +
+

Ack! 404 friend, you're in the wrong place

+ Click here to go home +
+
\ No newline at end of file diff --git a/public/_redirects b/public/_redirects new file mode 100644 index 00000000..7797f7c6 --- /dev/null +++ b/public/_redirects @@ -0,0 +1 @@ +/* /index.html 200 diff --git a/public/images/stinky-fish.png b/public/images/stinky-fish.png new file mode 100644 index 00000000..4103b152 Binary files /dev/null and b/public/images/stinky-fish.png differ