<commit_before>import React from 'react'
import injectSheet from 'react-jss'
import PropTypes from 'prop-types'

import styles from './styles'

const Footer = props => {
  const getCopyrightYear = () => {
    const initYear = 2017
    const d = new Date()
    const y = d.getFullYear()
    return y > initYear ? `${initYear}–${y}` : initYear.toString()
  }

  const author = '<NAME>'
  const authorURL = 'https://github.com/nai888'
  const appGhURL = 'https://github.com/nai888/langua'
  const appBpURL = 'https://beerpay.io/nai888/langua'
  const version = '0.2.4'

  return (
    <footer>
      <div className={props.classes.footer}>
        <p className={props.classes.copyright}>
          <a
            href={appGhURL + '/blob/master/CHANGELOG.md'}
            target='_blank'
            rel='noopener noreferrer'
          >
            Version <i className='fas fa-code' /> {version}
          </a>
          . Built by{' '}
          <a href={authorURL} target='_blank' rel='noopener noreferrer'>
            {author}
          </a>
          , copyright <i className='far fa-copyright' /> {getCopyrightYear()}{' '}
          under the{' '}
          <a
            href='https://choosealicense.com/licenses/agpl-3.0/'
            target='_blank'
            rel='noopener noreferrer'
          >
            AGPL-3.0 <i className='fas fa-gavel' /> license
          </a>
          .
        </p>
        <p className={props.classes.links}>
          <a href={appGhURL} target='_blank' rel='noopener noreferrer'>
            View this project on <i className='fab fa-github' /> GitHub
          </a>{' '}
          or{' '}
          <a href={appBpURL} target='_blank' rel='noopener noreferrer'>
            buy {author} a <i className='fas fa-beer' /> beer
          </a>
          .
        </p>
      </div>
    </footer>
  )
}

Footer.propTypes = {
  classes: PropTypes.object
}

export default injectSheet(styles)(Footer)
<commit_msg>Adjust version number in footer<commit_after>import React from 'react'
import injectSheet from 'react-jss'
import PropTypes from 'prop-types'

import styles from './styles'

const Footer = props => {
  const getCopyrightYear = () => {
    const initYear = 2017
    const d = new Date()
    const y = d.getFullYear()
    return y > initYear ? `${initYear}–${y}` : initYear.toString()
  }

  const author = '<NAME>'
  const authorURL = 'https://github.com/nai888'
  const appGhURL = 'https://github.com/nai888/langua'
  const appBpURL = 'https://beerpay.io/nai888/langua'
  const version = '0.2.5'

  return (
    <footer>
      <div className={props.classes.footer}>
        <p className={props.classes.copyright}>
          <a
            href={appGhURL + '/blob/master/CHANGELOG.md'}
            target='_blank'
            rel='noopener noreferrer'
          >
            Version <i className='fas fa-code' /> {version}
          </a>
          . Built by{' '}
          <a href={authorURL} target='_blank' rel='noopener noreferrer'>
            {author}
          </a>
          , copyright <i className='far fa-copyright' /> {getCopyrightYear()}{' '}
          under the{' '}
          <a
            href='https://choosealicense.com/licenses/agpl-3.0/'
            target='_blank'
            rel='noopener noreferrer'
          >
            AGPL-3.0 <i className='fas fa-gavel' /> license
          </a>
          .
        </p>
        <p className={props.classes.links}>
          <a href={appGhURL} target='_blank' rel='noopener noreferrer'>
            View this project on <i className='fab fa-github' /> GitHub
          </a>{' '}
          or{' '}
          <a href={appBpURL} target='_blank' rel='noopener noreferrer'>
            buy {author} a <i className='fas fa-beer' /> beer
          </a>
          .
        </p>
      </div>
    </footer>
  )
}

Footer.propTypes = {
  classes: PropTypes.object
}

export default injectSheet(styles)(Footer)

{'fraction_non_alphanumeric': 0.1481859989780276, 'fraction_numerical': 0.010219724067450179, 'mean_word_length': 2.0, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 57, 'https://': 8, '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': '4799026', 'n_tokens_mistral': 1276, 'n_tokens_neox': 1242, 'n_words': 276}