function _templateObject2() {
  var data = _taggedTemplateLiteral(["\n  font-size: 50px;\n  line-height: 1.2;\n  font-weight: 300;\n  font-family: \"Rubik\", sans-serif;\n  margin-bottom: 12px;\n  @media (max-width: 640px) {\n    font-size: 36px;\n  }\n"]);

  _templateObject2 = function _templateObject2() {
    return data;
  };

  return data;
}

function _templateObject() {
  var data = _taggedTemplateLiteral(["\n  display: block;\n  font-size: 13px;\n  font-family: \"Rubik\", sans-serif;\n  text-transform: uppercase;\n  letter-spacing: 3px;\n"]);

  _templateObject = function _templateObject() {
    return data;
  };

  return data;
}

function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }

import PropTypes from "prop-types";
import { jsx, css } from "@emotion/core";
import Hero from "./Hero";
var teamTitleStyle = css(_templateObject());
var titleStyle = css(_templateObject2());

var CollectionHero = function CollectionHero(_ref) {
  var heroTitle = _ref.heroTitle,
      heroSubtitle = _ref.heroSubtitle,
      teamTitle = _ref.teamTitle;
  return jsx(Hero, null, jsx("div", null, jsx("span", {
    css: teamTitleStyle
  }, teamTitle), jsx("h1", {
    css: titleStyle
  }, heroTitle), jsx("h2", null, heroSubtitle)));
};

CollectionHero.propTypes = {
  teamTitle: PropTypes.string,
  heroTitle: PropTypes.string,
  heroSubtitle: PropTypes.string
};
export default CollectionHero;