<commit_before>import React from "react";
import { titleColors } from "../../util/globals";
import { titleStyles, titleFont, medGrey } from "../../globalStyles";
import Radium from "radium";

@Radium
class Title extends React.Component {
  constructor(props) {
    super(props);
  }
  static propTypes = {
    style: React.PropTypes.object.isRequired
  }
  getStyles() {
    return {
      title: {
        fontFamily: titleFont,
        fontSize: 106,
        marginTop: 0,
        marginBottom: 0,
        fontWeight: 300,
        color: medGrey,<commit_msg>Make splash page title responsive<commit_after>import React from "react";
import { connect } from "react-redux";
import { titleColors } from "../../util/globals";
import { titleStyles, titleFont, medGrey } from "../../globalStyles";
import Radium from "radium";

@connect((state) => {
  return {
    browserDimensions: state.browserDimensions.browserDimensions
  };
})
@Radium
class Title extends React.Component {
  constructor(props) {
    super(props);
  }
  static propTypes = {
    style: React.PropTypes.object.isRequired
  }
  getStyles() {
    let fontSize = 106;
    if (this.props.browserDimensions.width < 500) {
      fontSize = 84;
    }
    if (this.props.browserDimensions.width < 450) {
      fontSize = 78;
    }
    if (this.props.browserDimensions.width < 400) {
      fontSize = 72;
    }
    if (this.props.browserDimensions.width < 350) {
      fontSize = 66;
    }
    return {
      title: {
        fontFamily: titleFont,
        fontSize: fontSize,
        marginTop: 0,
        marginBottom: 0,
        fontWeight: 300,
        color: medGrey,
{'fraction_non_alphanumeric': 0.12331288343558282, 'fraction_numerical': 0.022085889570552148, 'mean_word_length': 2.6817155756207676, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5695918', 'n_tokens_mistral': 534, 'n_tokens_neox': 507, 'n_words': 122}