Open andrewtremblay opened 6 years ago
Code branch open (https://github.com/IndivisibleSomerville/its-our-call/tree/kevin/404) and when designs are uploaded to Invision, I'll update the branch and open a PR.
Questions/comments:
<Switch />
we can get away with just <Route component={pages.MissingPage404} />
but correct me if wrongparseInt
missing radix error. I've fixed those in the branch but if there's some other way around those errors let me know.@thekevinscott Good questions!
Add a 404 page for users that mistype a url or otherwise poke around too much.
Requirements
MissingPage404
to/pages
describing that the page does not exist<Route path='*' exact={true} component={MissingPage404} />
toApp
Other Notes
A mock up might be added later to give more specific guides of what the 404 page looks like, otherwise; just have fun with it.