-
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
73b60e2
commit 6ee0607
Showing
17 changed files
with
804 additions
and
24,701 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
SKIP_PREFLIGHT_CHECK=true |
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 |
---|---|---|
|
@@ -23,3 +23,5 @@ npm-debug.log* | |
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
yarn.lock | ||
package-lock* |
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 |
---|---|---|
@@ -1,15 +1,16 @@ | ||
import React from 'react'; | ||
import { Switch, Route, BrowserRouter } from 'react-router-dom'; | ||
import Home from './pages/home'; | ||
import React from "react"; | ||
import { Switch, Route, BrowserRouter } from "react-router-dom"; | ||
import Home from "./pages/home"; | ||
import Components from "./pages/components"; | ||
import Documentation from "./pages/documentation"; | ||
|
||
export default () => | ||
<BrowserRouter> | ||
<Switch> | ||
<Route path={"/"} component={Home} exact /> | ||
<Route path={"/documentation/:component"} component={Components} /> | ||
<Route path={"/documentation"} component={Documentation} /> | ||
<Route component={Home}/> | ||
</Switch> | ||
</BrowserRouter> | ||
export default () => ( | ||
<BrowserRouter> | ||
<Switch> | ||
<Route path={"/"} component={Home} exact /> | ||
<Route path={"/documentation/:component"} component={Components} /> | ||
<Route path={"/documentation"} component={Documentation} /> | ||
<Route component={Home} /> | ||
</Switch> | ||
</BrowserRouter> | ||
); |
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,11 +1,11 @@ | ||
import React from 'react'; | ||
import ReactDOM from 'react-dom'; | ||
import App from './App'; | ||
import * as serviceWorker from './serviceWorker'; | ||
import React from 'react' | ||
import ReactDOM from 'react-dom' | ||
import App from './App' | ||
import * as serviceWorker from './serviceWorker' | ||
|
||
ReactDOM.render(<App />, document.querySelector("#root")); | ||
ReactDOM.render(<App />, document.querySelector("#root")) | ||
|
||
// If you want your app to work offline and load faster, you can change | ||
// unregister() to register() below. Note this comes with some pitfalls. | ||
// Learn more about service workers: http://bit.ly/CRA-PWA | ||
serviceWorker.unregister(); | ||
serviceWorker.unregister() |
Oops, something went wrong.