diff --git a/src/common/layouts/App/App.jsx b/src/common/layouts/App/App.jsx deleted file mode 100644 index a5b82af..0000000 --- a/src/common/layouts/App/App.jsx +++ /dev/null @@ -1,28 +0,0 @@ -import React, { PropTypes } from 'react' -import Helmet from 'react-helmet' -import config from '../../config' - -import '../../styles/normalize.css' -import styles from './App.scss' - -const propTypes = { - children: PropTypes.object, -} - -function App(props) { - return ( -
- -
- Logo -

{config.app.title}

-
-
- {props.children} -
- ) -} - -App.propTypes = propTypes - -export default App diff --git a/src/common/layouts/App/App.scss b/src/common/layouts/App/App.scss deleted file mode 100644 index ddfd656..0000000 --- a/src/common/layouts/App/App.scss +++ /dev/null @@ -1,27 +0,0 @@ -@import '../../styles/variables'; - -body { - background-color: $color-dark-gray; - font-family: 'Helvetica-Light', Helvetica, Arial, sans-serif; -} - -.App { - color: $color-white; - - .header { - overflow: auto; - padding: 15px; - - img { - float: left; - height: 70px; - margin-right: 1em; - } - } - - hr { - margin-bottom: 0; - margin-top: 0; - opacity: 0.15; - } -} diff --git a/src/common/layouts/App/assets/logo.svg b/src/common/layouts/App/assets/logo.svg deleted file mode 100644 index b2204ca..0000000 --- a/src/common/layouts/App/assets/logo.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/src/common/layouts/App/index.js b/src/common/layouts/App/index.js deleted file mode 100644 index f22feb8..0000000 --- a/src/common/layouts/App/index.js +++ /dev/null @@ -1,3 +0,0 @@ -import App from './App' - -export default App diff --git a/src/common/layouts/AppLayout/AppLayout.jsx b/src/common/layouts/AppLayout/AppLayout.jsx new file mode 100644 index 0000000..820e55b --- /dev/null +++ b/src/common/layouts/AppLayout/AppLayout.jsx @@ -0,0 +1,31 @@ +import React, { PropTypes } from 'react' +import { Link } from 'react-router' +import Helmet from 'react-helmet' + +import config from '../../config' + +const propTypes = { + children: PropTypes.object +} + +function AppLayout(props) { + return ( +
+ + +

{config.app.title}

+ + + + {props.children} +
+ ) +} + +AppLayout.propTypes = propTypes + +export default AppLayout diff --git a/src/common/layouts/AppLayout/index.js b/src/common/layouts/AppLayout/index.js new file mode 100644 index 0000000..886421d --- /dev/null +++ b/src/common/layouts/AppLayout/index.js @@ -0,0 +1,6 @@ +// *** GLOBAL STYLES *** // +import 'common/styles/global/app.scss' + +import AppLayout from './AppLayout' + +export default AppLayout