-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Router]: Set 'app' container as root route. [Ui]: Apply new template…
… for page 'auth_signup', 'group_list'.
- Loading branch information
Showing
11 changed files
with
118 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,18 @@ | ||
import React from 'react'; | ||
import { Router, Route, browserHistory } from 'react-router'; | ||
import AppContainer from '../../ui/containers/app_container'; | ||
import LobbyContainer from '../../ui/containers/lobby_container'; | ||
import GroupContainer from '../../ui/containers/group_container.jsx'; | ||
import AuthLogin from '../../ui/pages/auth_login'; | ||
import AuthSignup from '../../ui/pages/auth_signup'; | ||
|
||
export const renderRoutes = () => ( | ||
<Router history={browserHistory}> | ||
<Route path="/" component={LobbyContainer}/> | ||
<Route path="/groups/:id" component={GroupContainer}/> | ||
<Route path="/login" component={AuthLogin}/> | ||
<Route path="/signup" component={AuthSignup}/> | ||
<Route path="" component={AppContainer}> | ||
<Route path="/" component={LobbyContainer}/> | ||
<Route path="/groups/:id" component={GroupContainer}/> | ||
<Route path="/login" component={AuthLogin}/> | ||
<Route path="/signup" component={AuthSignup}/> | ||
</Route> | ||
</Router> | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { Meteor } from 'meteor/meteor'; | ||
import { Groups } from '../../api/groups/groups.js'; | ||
import { createContainer } from 'meteor/react-meteor-data'; | ||
import App from '../layouts/app.jsx'; | ||
|
||
export default createContainer(() => { | ||
return { | ||
user: Meteor.user(), | ||
}; | ||
}, App); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters