forked from CodeForPoznan/alinka-electron
-
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.
Merge branch 'master' of https://github.com/CodeForPoznan/alinka-elec…
…tron into CodeForPoznan#121
- Loading branch information
Showing
56 changed files
with
708 additions
and
27,945 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
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 |
---|---|---|
|
@@ -5,5 +5,6 @@ | |
/build/ | ||
/dist/ | ||
/node_modules/ | ||
/src/alinka.db | ||
|
||
output.docx |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import React from "react"; | ||
|
||
const Children = () => <div>Szukajka dzieci</div>; | ||
|
||
export default Children; |
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,17 +1,26 @@ | ||
import React from "react"; | ||
import { Route, withRouter, Switch } from "react-router-dom"; | ||
import styles from "./Dashboard.scss"; | ||
import ProgressBar from "./ProgressBar/ProgressBar"; | ||
import FormSteps from "./Form/FormSteps"; | ||
import routes from "../../routing/routes"; | ||
|
||
const Dashboard = () => { | ||
return ( | ||
<div className={styles.Dashboard}> | ||
<div className={styles.Wrapper}> | ||
<ProgressBar /> | ||
<FormSteps /> | ||
<Switch> | ||
{routes.map((route, index) => ( | ||
<Route | ||
key={index} | ||
index={route.id} | ||
path={route.path} | ||
render={() => route.component} | ||
exact={route.exact} | ||
/> | ||
))} | ||
</Switch> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Dashboard; | ||
export default withRouter(Dashboard); |
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
Oops, something went wrong.