summaryrefslogtreecommitdiff
path: root/frontend/src/routes.js
diff options
context:
space:
mode:
authorJoffrey BION <joffrey.bion@gmail.com>2017-02-03 01:05:48 +0100
committerJoffrey BION <joffrey.bion@gmail.com>2017-02-03 01:05:48 +0100
commitc6c26e95d87f9a974a032403b37364d8e659a97f (patch)
treeebf1176991eec340bcb097ac1b80cb1960b5ce23 /frontend/src/routes.js
parentRemove explicit unsubscribe declarations (diff)
downloadseven-wonders-c6c26e95d87f9a974a032403b37364d8e659a97f.tar.gz
seven-wonders-c6c26e95d87f9a974a032403b37364d8e659a97f.tar.bz2
seven-wonders-c6c26e95d87f9a974a032403b37364d8e659a97f.zip
Create home layout with zeus background
Diffstat (limited to 'frontend/src/routes.js')
-rw-r--r--frontend/src/routes.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/frontend/src/routes.js b/frontend/src/routes.js
index 70762aa2..2e95abda 100644
--- a/frontend/src/routes.js
+++ b/frontend/src/routes.js
@@ -11,7 +11,7 @@ export const makeSagaRoutes = wsConnection => ({
}
})
-import { LobbyLayout } from './layouts'
+import { HomeLayout, LobbyLayout } from './layouts'
import HomePage from './containers/home'
import GameBrowser from './containers/gameBrowser'
import Error404 from './components/errors/Error404'
@@ -19,8 +19,12 @@ import Error404 from './components/errors/Error404'
export const routes = [
{
path: '/',
+ component: HomeLayout,
+ indexRoute: { component: HomePage }
+ },
+ {
+ path: '/',
component: LobbyLayout,
- indexRoute: { component: HomePage },
childRoutes: [
{ path: '/games', component: GameBrowser }
]
bgstack15