<commit_before>import React from "react"
import styled from "styled-components"
import { Fonts } from "../Fonts"

interface NewsHeadlineProps {
  title: string
  article?: any
}

export const NewsHeadline: React.SFC<NewsHeadlineProps> = props => {
  const { title } = props
  return (
    <NewsHeadlineParent>
      <NewsHeadlineContainer>
        <Title>{title}</Title>
      </NewsHeadlineContainer>
    </NewsHeadlineParent>
  )
}

const NewsHeadlineParent = styled.div`
  margin: 0 40px;
`

const NewsHeadlineContainer = styled.div`
  display: flex;
  flex-direction: column;
  max-width: 780px;
  width: 100%;
  margin: 40px auto;
  box-sizing: border-box;
  margin-bottom: 30px;
`

const Title = styled.div`
  ${Fonts.garamond("s34")};
  font-weight: 600;
`<commit_msg>figured out what pMedia is for<commit_after>import React from "react"
import styled from "styled-components"
import { pMedia } from "../../Helpers"
import { Fonts } from "../Fonts"

interface NewsHeadlineProps {
  title: string
  article?: any
}

export const NewsHeadline: React.SFC<NewsHeadlineProps> = props => {
  const { title } = props
  return (
    <NewsHeadlineParent>
      <NewsHeadlineContainer>
        <Title>{title}</Title>
      </NewsHeadlineContainer>
    </NewsHeadlineParent>
  )
}

const NewsHeadlineParent = styled.div`
  margin: 0 40px;
  ${pMedia.sm`
    margin: 0 20px;
  `};
`

const NewsHeadlineContainer = styled.div`
  display: flex;
  flex-direction: column;
  max-width: 780px;
  width: 100%;
  margin: 40px auto;
  box-sizing: border-box;
  margin-bottom: 30px;
`

const Title = styled.div`
  ${Fonts.garamond("s34")};
  font-weight: 600;
  ${pMedia.sm`
    ${Fonts.garamond("s23")}
    line-height: 1.1;
  `};
`
{'fraction_non_alphanumeric': 0.13496218731820825, 'fraction_numerical': 0.02501454333915067, 'mean_word_length': 3.5866666666666664, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 19, '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': '4257535', 'n_tokens_mistral': 635, 'n_tokens_neox': 594, 'n_words': 141}