responsively-app/desktop-app/app/Routes.js
2020-06-23 09:25:46 -03:00

26 lines
836 B
JavaScript

import React from 'react';
import {Switch, Route} from 'react-router';
import routes from './constants/routes';
import App from './containers/App';
import Browser from './containers/Browser';
import LeftIconsPaneContainer from './containers/LeftIconsPaneContainer';
import styles from './layout.css';
import StatusBarContainer from './containers/StatusBarContainer';
import DevToolResizerContainer from './containers/DevToolResizerContainer';
export default () => (
<App>
<div className={styles.appRoot}>
<div className={styles.iconColumn}>
<LeftIconsPaneContainer />
</div>
<div className={styles.contentColumn}>
<Switch>
<Route path={routes.HOME} component={Browser} />
</Switch>
</div>
</div>
<StatusBarContainer />
<DevToolResizerContainer />
</App>
);