import React from 'react'; import PropTypes from 'prop-types'; import { Link } from 'react-router-dom'; import styled from 'styled-components'; import { Img } from 'normalized-styled-components'; import remcalc from 'remcalc'; import unitcalc from 'unitcalc'; import Logo from '@assets/triton_logo.png'; import { Col, Row } from 'react-styled-flexboxgrid'; import { P } from 'joyent-ui-toolkit'; const StyledHeader = styled.div` background-color: ${props => props.theme.primaryDarkBrand}; padding: ${unitcalc(2.5)} ${unitcalc(3)} ${unitcalc(2)} ${unitcalc(3)}; `; const StyledLogo = Img.extend` width: ${remcalc(87)}; height: ${remcalc(25)}; `; const StyledP = styled(P)` color: ${props => props.theme.white}; font-weight: 600; margin: ${unitcalc(0.5)} 0 0 0; `; const Header = ({ datacenter, username }) => ( {datacenter} {username} ); Header.propTypes = { datacenter: PropTypes.string, username: PropTypes.string }; export default Header;