diff --git a/src/pages/404/PageNotFound.jsx b/src/pages/404/PageNotFound.jsx new file mode 100644 index 0000000..8756fa7 --- /dev/null +++ b/src/pages/404/PageNotFound.jsx @@ -0,0 +1,7 @@ +import React from 'react'; + +export default function PageNotFound() { + return ( +

Sorry, but the thing you are looking for is definitely not here :(

+ ); +} diff --git a/src/routes.js b/src/routes.js index 17a5180..e98c4a2 100644 --- a/src/routes.js +++ b/src/routes.js @@ -6,6 +6,7 @@ import IndexPage from 'pages/index/IndexPage'; import AuthPage from 'pages/auth/AuthPage'; import RulesPage from 'pages/rules/RulesPage'; +import PageNotFound from 'pages/404/PageNotFound'; import ProfilePage from 'pages/profile/ProfilePage'; import ProfileChangePasswordPage from 'pages/profile/ChangePasswordPage'; @@ -69,6 +70,8 @@ export default function routesFactory(store) { + + ); }