Skip to content

Commit

Permalink
create pages directories
Browse files Browse the repository at this point in the history
  • Loading branch information
caspg committed Nov 29, 2017
1 parent e18fc09 commit fca5ecd
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 1 deletion.
1 change: 1 addition & 0 deletions pages/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '../src/pages/Home';
2 changes: 1 addition & 1 deletion src/config/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default {
editData: '/editor/:mapType/edit-data',
editMap: '/editor/:mapType/edit-map',

clickEditor: '/click-editor',
clickEditor: '/click-editor',
clickMapEditor: '/click-editor/:mapType',

contact: '/contact',
Expand Down
16 changes: 16 additions & 0 deletions src/pages/Home/Home.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import React from 'react';
import PropTypes from 'prop-types';

Home.propTypes = {

};

function Home(props) {
return (
<div>
<h1>Home</h1>
</div>
);
}

export default Home;
1 change: 1 addition & 0 deletions src/pages/Home/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from './Home';

0 comments on commit fca5ecd

Please sign in to comment.