-
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.
- Loading branch information
1 parent
b482333
commit 04d8c1b
Showing
13 changed files
with
1,348 additions
and
32 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Binary file not shown.
This file was deleted.
Oops, something went wrong.
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,5 @@ | ||
import React from 'react'; | ||
|
||
import App from '../App'; | ||
|
||
export default () => <App sport="Cricket" fileName="cricket.json"/>; |
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,5 @@ | ||
import React from 'react'; | ||
|
||
import App from '../App'; | ||
|
||
export default () => <App sport="Football" fileName="football.json"/>; |
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,21 @@ | ||
import React from 'react'; | ||
import { Link } from 'react-router-dom' | ||
import { Container, Row, Col, Button } from 'reactstrap'; | ||
|
||
|
||
export default () => ( | ||
<Container style={{ marginTop: 30 }}> | ||
<Row style={{ textAlign: 'center' }}> | ||
<Col> | ||
<Button color="light"> | ||
<Link to="/football">Football</Link> | ||
</Button> | ||
</Col> | ||
<Col> | ||
<Button color="light"> | ||
<Link to="/cricket">Cricket</Link> | ||
</Button> | ||
</Col> | ||
</Row> | ||
</Container> | ||
) |
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,16 @@ | ||
import React from 'react'; | ||
import { BrowserRouter, Route, Switch } from 'react-router-dom'; | ||
|
||
import Home from './Home'; | ||
import Football from './Football'; | ||
import Cricket from "./Cricket" | ||
|
||
export default () => ( | ||
<BrowserRouter> | ||
<Switch> | ||
<Route path="/" exact component={Home}/> | ||
<Route path="/football" exact component={Football}/> | ||
<Route path="/cricket" exact component={Cricket}/> | ||
</Switch> | ||
</BrowserRouter> | ||
) |