Some petty changes& add multi device picture
This commit is contained in:
@@ -112,9 +112,6 @@ export class ImageGallery extends Component {
|
||||
|
||||
imageList = () => {
|
||||
|
||||
console.log('====================================');
|
||||
console.log(this.props.images);
|
||||
console.log('====================================');
|
||||
return this.props.images.map((image, index) => {
|
||||
|
||||
return (<GridTile
|
||||
|
||||
@@ -199,7 +199,10 @@ const mapDispatchToProps = (dispatch, ownProps) => {
|
||||
|
||||
}
|
||||
|
||||
// - Map state to props
|
||||
/**
|
||||
* Map state to props
|
||||
* @param {object} state
|
||||
*/
|
||||
const mapStateToProps = ({authorize, global, user, post, comment, imageGallery , vote, notify,circle }) => {
|
||||
|
||||
return {
|
||||
|
||||
@@ -290,8 +290,6 @@ static propTypes = {
|
||||
* @param {event} evt is the event passed by click on read more
|
||||
*/
|
||||
handleReadMore(evt) {
|
||||
|
||||
|
||||
this.setState({
|
||||
readMoreState: !this.state.readMoreState
|
||||
|
||||
|
||||
@@ -102,4 +102,4 @@ export var postReducer = (state = defaultState, action) => {
|
||||
return state;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -13,6 +13,12 @@
|
||||
|
||||
The React Social Network is an open source project relying on [React](https://facebook.github.io/react/docs/hello-world.html) a powerful javascript library for building the user interface. In this project, I tried to show some features of react/react components as a social network.
|
||||
|
||||
<p align="center">
|
||||
<a href="http://greensocial.herokuapp.com/">
|
||||
<img height="128" width="128" src="https://raw.githubusercontent.com/Qolzam/react-social-network/master/docs/app/multi-device.png">
|
||||
</a>
|
||||
</p>
|
||||
|
||||
Since I started building this project I've planned to have a back end for this project so I haven't focused on performance until I build the back end and move some data procedure from end to back end. Therefore I need to change data structure and actions for [Redux](http://redux.js.org/).
|
||||
|
||||
>You should consult the [CHANGELOG](https://github.com/Qolzam/react-social-network/blob/master/CHANGELOG.md) and related issues for more information
|
||||
|
||||
BIN
docs/app/multi-device.png
Normal file
BIN
docs/app/multi-device.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.7 MiB |
Reference in New Issue
Block a user