Removed about and product page

pull/1/head
Nishant Arora 8 years ago
parent 86696d4b63
commit adc85ec689

@ -5,8 +5,6 @@ import { Router, Route, IndexRoute, IndexRedirect, hashHistory } from 'react-rou
import App from './static/app.jsx';
import Home from './static/home.jsx';
import Login from './static/login.jsx';
import About from './static/about.jsx';
import Product from './static/product.jsx';
import Article from './static/article.jsx';
import NewArticle from './static/new.jsx';
import EditArticle from './static/edit.jsx';
@ -20,8 +18,6 @@ render(
<IndexRoute component={Login}/>
<Route path="home" component={Home}/>
<Route path="login" component={Login}/>
<Route path="about" component={About}/>
<Route path="product" component={Product}/>
<Route path="article/new" component={NewArticle}/>
<Route path="article/edit/:articleId" component={EditArticle}/>
<Route path="article/history/:articleId" component={ArticleHistory}/>

@ -1,9 +0,0 @@
import React from 'react';
const About = React.createClass({
render () {
return <p>This is the about page.</p>;
}
});
export default About;

@ -1,9 +0,0 @@
import React from 'react';
const Product = React.createClass({
render () {
return <p>This is the product page</p>;
}
});
export default Product;
Loading…
Cancel
Save