Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
import { styled } from 'styleh-components'
import { Heading } from 'atoms/Text'
import { PrimaryButton } from 'presets/Buttons'

const StyledButton = styled.withComponent(PrimaryButton)`
  width: rem(160);

  @phone-or-smaller() {
    width: rem(120);
  }
`

const StyledTitle = styled.withComponent(Heading)`
  font-size: 1.5rem;
  text-align: center;
  margin: 0;

  @tablet-or-smaller() {
    font-size: 1rem;
  }

  @phone-or-smaller() {
    font-size: rem(14);
    text-align: left;
  }
`

const ButtonWrapper = styled.div`
  margin-right: 1.5rem;
  max-width: rem(160);

  @phone-or-smaller() {
    margin-right: rem(10);
  }
`

const TitleWrapper = styled.div`
  margin: 0 rem(20);
  
  @phone-or-smaller() {
    margin-left: 0;
  }
`

const LogoWrapper = styled.div`
  flex-wrap: wrap;
  margin-left: 1.5rem;

  @phone-or-smaller() {
    display:none;
  }
`

const BannerWrapper = styled.div`
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: rem(10);
  height: rem(120);
  background: grey;

  ${props =>
    props.src &&
    styled.css`
      background: url(${props.src}) no-repeat;
      background-size: cover;
      background-position: center;
  `};

  @tablet-or-smaller() {
    height: rem(75);
  }
`
const Wrapper = styled.div` `

export {
  StyledButton,
  StyledTitle,
  ButtonWrapper,
  TitleWrapper,
  LogoWrapper,
  BannerWrapper,
  Wrapper,
}