diff --git a/src/js/components/common/Header.js b/src/js/components/common/Header.js index 318da14d..3d984198 100644 --- a/src/js/components/common/Header.js +++ b/src/js/components/common/Header.js @@ -1,11 +1,53 @@ /* @flow */ - - import React from 'react'; +import styled from 'styled-components'; +import colors from '~/js/config/colors'; + +const Wrapper = styled.header` + width: 100%; + height: 52px; + background: ${colors.color_header}; + + svg { + fill: ${colors.color_white}; + height: 28px; + width: 100px; + flex: 1; + } +`; + +const LayoutWrapper = styled.div` + width: 100%; + height: 100%; + max-width: 1170px; + margin: 0 auto; + padding: 0 32px; + display: flex; + align-items: center; +`; + +const A = styled.a` + color: ${colors.color_white}; + margin-left: 24px; + + &:visited { + color: ${colors.color_white}; + margin-left: 24px; + } + + &:first-child { + margin: 0px; + } + + &:hover, + &:active { + color: ${colors.color_text_secondary}; + } +`; const Header = (): React$Element => ( -
-
+ + @@ -16,13 +58,13 @@ const Header = (): React$Element => ( -
-
+ + ); export default Header; \ No newline at end of file diff --git a/src/js/config/colors.js b/src/js/config/colors.js index ce72470b..67da0cff 100644 --- a/src/js/config/colors.js +++ b/src/js/config/colors.js @@ -1,3 +1,30 @@ export default { - BLACK: '#000000', + color_white: '#ffffff', + + color_header: '#212121', + color_body: '#E3E3E3', + color_main: '#FBFBFB', + color_landing: '#F9F9F9', + + color_text_primary: '#494949', + color_text_secondary: '#757575', + + color_gray_light: '#F2F2F2', // hover menu + color_divider: '#E3E3E3', //#EBEBEB, + + color_green_primary: '#01B757', + color_green_secondary: '#00AB51', + color_green_tertiary: '#009546', + + color_info_primary: '#1E7FF0', + color_info_secondary: '#E1EFFF', + + color_warning_primary: '#EB8A00', + color_warning_secondary: '#FFEFD9', + + color_success_primary: '#01B757', + color_success_secondary: '#DFFFEE', + + color_error_primary: '#ED1212', + color_error_secondary: '#FFE9E9', }; \ No newline at end of file