import * as React from 'react'; import styled from 'styled-components'; import { colors } from '../style/colors'; import { Button } from './button'; export interface AnnouncementProps { headline: string; href: string; } const BrandColorSpan = styled.span` color: ${colors.white}; padding-right: 9px; `; const Wrap = styled.div` padding: 20px 0 56px 0; color: ${colors.brandLight}; `; const AnnouncementLink = styled(Button)` @media (max-width: 500px) { && { white-space: pre-wrap; line-height: 1.3; } } `; export const Announcement: React.StatelessComponent = (props: AnnouncementProps) => { return ( {'New!'} {props.headline} ); };