chingu-voyages / geckos-project-16

Rescue Korea - Chingu Voyage Project
https://beta.chingu.io/project/17
0 stars 1 forks source link

Error Page #83

Closed dastrong closed 5 years ago

dastrong commented 5 years ago

I forgot but we need an error component.

If someone enters the url /signu we should send them to a generic 'this page does not exist'

<Route component={ErrorPage} />

Adding that line to the bottom of the Routes component will catch any routes that weren't listed above it and then you can import and create a component with the name ErrorPage.

An idea I had was maybe show a heading that the page doesn't exist along with a cute/sad picture/meme of a dog/cat