diff options
author | Anike Arni <aarni@thoughtworks.com> | 2017-02-08 17:46:11 -0200 |
---|---|---|
committer | Anike Arni <aarni@thoughtworks.com> | 2017-02-08 17:46:44 -0200 |
commit | a76b524c147c79fefa7943230a33e7904af3c070 (patch) | |
tree | 4c38ed8a0d7c1654d3b9c93bbe0cae5b9459d849 /web-ui/src/common/header/header.js | |
parent | b9d0bea9e6688abfbbc919f90009f59ed153e7fb (diff) |
[#922] Creates header
with @tayanefernandes
Diffstat (limited to 'web-ui/src/common/header/header.js')
-rw-r--r-- | web-ui/src/common/header/header.js | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/web-ui/src/common/header/header.js b/web-ui/src/common/header/header.js new file mode 100644 index 00000000..b32988c6 --- /dev/null +++ b/web-ui/src/common/header/header.js @@ -0,0 +1,37 @@ +/* + * Copyright (c) 2017 ThoughtWorks, Inc. + * + * Pixelated is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Pixelated is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Pixelated. If not, see <http://www.gnu.org/licenses/>. + */ + +import React from 'react'; +import { translate } from 'react-i18next'; +import './header.scss'; + +export const Header = ({ t }) => ( + <header className='header-wrapper'> + <div className='header-content'> + <img className='header-logo' src='/startup-assets/pixelated-logo-orange.svg' alt='Pixelated' /> + </div> + <div className='header-icons'> + <a href='/'><i className='fa fa-sign-out' aria-hidden='true'></i></a> + </div> + </header> +); + +Header.propTypes = { + t: React.PropTypes.func.isRequired +}; + +export default translate('', { wait: true })(Header); |