feat: Add dummy pages
This commit is contained in:
34
packages/web/src/routes.tsx
Normal file
34
packages/web/src/routes.tsx
Normal file
@@ -0,0 +1,34 @@
|
||||
import { Route, Switch, Redirect } from "react-router";
|
||||
import Dashboard from 'pages/Dashboard';
|
||||
import Applications from 'pages/Applications';
|
||||
import Flows from 'pages/Flows';
|
||||
import Explore from 'pages/Explore';
|
||||
import * as URLS from 'config/urls';
|
||||
|
||||
export default (
|
||||
<Switch>
|
||||
<Route path={URLS.DASHBOARD}>
|
||||
<Dashboard />
|
||||
</Route>
|
||||
|
||||
<Route path={URLS.FLOWS}>
|
||||
<Flows />
|
||||
</Route>
|
||||
|
||||
<Route path={URLS.APPS}>
|
||||
<Applications />
|
||||
</Route>
|
||||
|
||||
<Route path={URLS.EXPLORE}>
|
||||
<Explore />
|
||||
</Route>
|
||||
|
||||
<Route exact path="/">
|
||||
<Redirect to={URLS.DASHBOARD} />
|
||||
</Route>
|
||||
|
||||
<Route>
|
||||
404
|
||||
</Route>
|
||||
</Switch>
|
||||
);
|
Reference in New Issue
Block a user