Some petty changes& add multi device picture

This commit is contained in:
Qolzam
2017-08-23 19:47:31 +07:00
parent b42ccb714d
commit aafa5bfde0
6 changed files with 11 additions and 7 deletions

View File

@@ -112,9 +112,6 @@ export class ImageGallery extends Component {
imageList = () => { imageList = () => {
console.log('====================================');
console.log(this.props.images);
console.log('====================================');
return this.props.images.map((image, index) => { return this.props.images.map((image, index) => {
return (<GridTile return (<GridTile

View File

@@ -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 }) => { const mapStateToProps = ({authorize, global, user, post, comment, imageGallery , vote, notify,circle }) => {
return { return {

View File

@@ -290,8 +290,6 @@ static propTypes = {
* @param {event} evt is the event passed by click on read more * @param {event} evt is the event passed by click on read more
*/ */
handleReadMore(evt) { handleReadMore(evt) {
this.setState({ this.setState({
readMoreState: !this.state.readMoreState readMoreState: !this.state.readMoreState

View File

@@ -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. 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/). 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 >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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB