mirror of
https://github.com/chaoticbackup/chaoticbackup.github.io.git
synced 2026-04-13 12:26:03 -05:00
rearranged css
This commit is contained in:
parent
34913705c0
commit
01413d9816
26
src/components/entercode/index.js
Normal file
26
src/components/entercode/index.js
Normal 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>
|
||||
);
|
||||
}
|
||||
|
|
@ -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
0
src/css/packs.css
Normal file
Loading…
Reference in New Issue
Block a user