rearranged css

This commit is contained in:
Daniel 2018-02-02 17:06:05 -05:00
parent 34913705c0
commit 01413d9816
7 changed files with 27 additions and 1 deletions

View File

@ -0,0 +1,26 @@
import React from 'react';
import {observer, inject} from 'mobx-react';
import {Route} from 'react-router-dom';
import EnterTheCode from './EnterTheCode';
@inject((stores, props, context) => props) @observer
export default class Home extends React.Component {
render() {
<div>
<Routing {...this.props} />
</div>
}
}
function Routing(props) {
const match = props.match;
return (
<div>
<Route exact path={match.url} component={EnterTheCode} />
<Route path={`${match.url}/PackSimulator`} component={PackSimulator} />
</div>
);
}

View File

@ -6,7 +6,7 @@ import s from '../styles/app.style';
/* Components */
import {PageNotFound, UnderConstruction} from './Snippets';
import EnterTheCode from './account/EnterTheCode';
import EnterTheCode from './entercode/index';
import Collection from './collection/index';
import Portal from './portal/index';
import Home from './Home';

0
src/css/packs.css Normal file
View File