reorganized stuff

This commit is contained in:
Edin Dazdarevic
2015-01-25 13:38:25 +01:00
parent 769230eda1
commit 301e40f976
10 changed files with 116 additions and 107 deletions

View File

@@ -0,0 +1,13 @@
var React = require('react');
var ByCategory = React.createClass({
render: function() {
return (
<div>
<h3> Browse products by category</h3>
</div>
);
}
});
module.exports = ByCategory;

View File

@@ -0,0 +1,19 @@
var React = require('react'),
Router = require('react-router');
var BySection = React.createClass({
mixins: [Router.State],
render : function() {
return ( <div>
<div className='col-md-2'>
Here goes section for refining search, by section
</div>
<div className='col-md-10'>
<h2> Welcome to section {this.getParams().id} </h2>
</div>
</div> )
}
});
module.exports = BySection;