Skip to content

Commit

Permalink
added image into page
Browse files Browse the repository at this point in the history
  • Loading branch information
joelzhuang committed May 18, 2016
1 parent c3d250b commit e8a77cb
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
Binary file added content/images/1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions react/test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,18 @@ setInterval(function() {
document.getElementById('test')
);
}, 500);


var CommentBox = React.createClass({
render: function() {
return (
<div className="commentBox">
<img src="images/1.jpg"/>
</div>
);
}
});
ReactDOM.render(
<CommentBox />,
document.getElementById('sidebar')
);

0 comments on commit e8a77cb

Please sign in to comment.