forked from karsrhyder/FairDrive
-
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
22836e9
commit b3a3ab4
Showing
8 changed files
with
119 additions
and
136 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,49 @@ | ||
import React from "react"; | ||
import styles from "styles.module.css"; | ||
import { NavLink } from "react-router-dom"; | ||
import { connect } from "react-redux"; | ||
|
||
class Account extends React.Component { | ||
render() { | ||
return ( | ||
<div className={styles.container}> | ||
<div className={styles.topbar}> | ||
<div className={styles.breadcrumb}>FairDrive / </div> | ||
<div className={styles.breadcrumbpath}> | ||
{/* by Fair Data Society */} | ||
</div> | ||
</div> | ||
<div className={styles.innercontainer}> | ||
<div className={styles.register}> | ||
<div className={styles.breadcrumbpath}>Login</div> | ||
<input type="text" placeholder="Handle" /> | ||
<input type="password" placeholder="Password" /> | ||
<NavLink to="/f"> | ||
<div className={styles.button}>Unlock</div> | ||
</NavLink> | ||
<NavLink to="/r" className={styles.createnew}> | ||
<div>Create new FairDrive</div> | ||
</NavLink> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
} | ||
} | ||
|
||
const mapStateToProps = (_, ownProps) => { | ||
const { directory } = (ownProps.match || {}).params || {}; | ||
// return createStructuredSelector({ | ||
// directory: () => directory, | ||
// directories: state => getDirectories(state, directory), | ||
// }); | ||
}; | ||
|
||
const mapDispatchToProps = dispatch => ({ | ||
//addHashtag: name => dispatch({ type: "ADD_HASHTAG", hashtag: { name } }) | ||
}); | ||
|
||
export default connect( | ||
mapStateToProps, | ||
mapDispatchToProps | ||
)(Account); |
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,50 @@ | ||
import React from "react"; | ||
import styles from "styles.module.css"; | ||
import { NavLink } from "react-router-dom"; | ||
import { connect } from "react-redux"; | ||
|
||
class Register extends React.Component { | ||
render() { | ||
return ( | ||
<div className={styles.container}> | ||
<div className={styles.topbar}> | ||
<div className={styles.breadcrumb}>FairDrive / </div> | ||
{/* <div className={styles.breadcrumbpath}> | ||
by Fair Data Society | ||
</div> */} | ||
</div> | ||
<div className={styles.innercontainer}> | ||
<div className={styles.register}> | ||
<div className={styles.breadcrumbpath}>Register</div> | ||
<input type="text" placeholder="Handle" /> | ||
<input type="password" placeholder="Password" /> | ||
<input type="password" placeholder="Password check" /> | ||
<NavLink to="/f"> | ||
<div className={styles.button}>Register</div> | ||
</NavLink> | ||
<NavLink to="/" className={styles.createnew}> | ||
<div>Unlock FairDrive</div> | ||
</NavLink> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
} | ||
} | ||
|
||
const mapStateToProps = (_, ownProps) => { | ||
const { directory } = (ownProps.match || {}).params || {}; | ||
// return createStructuredSelector({ | ||
// directory: () => directory, | ||
// directories: state => getDirectories(state, directory), | ||
// }); | ||
}; | ||
|
||
const mapDispatchToProps = dispatch => ({ | ||
//addHashtag: name => dispatch({ type: "ADD_HASHTAG", hashtag: { name } }) | ||
}); | ||
|
||
export default connect( | ||
mapStateToProps, | ||
mapDispatchToProps | ||
)(Register); |
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 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
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 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