reorganized stuff
This commit is contained in:
13
front-ui/app/components/browsing/byCategory.js
Normal file
13
front-ui/app/components/browsing/byCategory.js
Normal 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;
|
||||
19
front-ui/app/components/browsing/bySection.js
Normal file
19
front-ui/app/components/browsing/bySection.js
Normal 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;
|
||||
0
front-ui/app/components/browsing/bySubcategory.js
Normal file
0
front-ui/app/components/browsing/bySubcategory.js
Normal file
Reference in New Issue
Block a user