|
@@ -11,6 +11,7 @@ import Login from "./Content/Login/Login";
|
|
|
import Registration from "./Content/Registration/Registration";
|
|
|
import Users from "./Content/Users/users";
|
|
|
import Messages from "./Content/Messages/messages";
|
|
|
+import Page404 from "./Components/404_Page/404_Page";
|
|
|
|
|
|
function App() {
|
|
|
return (
|
|
@@ -21,7 +22,7 @@ function App() {
|
|
|
<Navigation />
|
|
|
|
|
|
<div className="app-wrapper-content">
|
|
|
- <Redirect exact from="/" to="/profile" />
|
|
|
+ {/* <Redirect exact from="/" to="/profile" /> */}
|
|
|
<Route
|
|
|
path="/profile"
|
|
|
render={() => <Profile />}
|
|
@@ -34,6 +35,10 @@ function App() {
|
|
|
path="/users"
|
|
|
render={() => <Users /> }
|
|
|
/>
|
|
|
+ <Route
|
|
|
+ path="/404"
|
|
|
+ render={() => <Page404 /> }
|
|
|
+ />
|
|
|
<Route path="/news" component={News} />
|
|
|
<Route path="/music" component={Music} />
|
|
|
<Route path="/settings" component={Settings} />
|