<commit_before>import React from 'react';
import PropTypes from 'prop-types';
import pullRequestAmount from './pullRequestAmount';

import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import {
  faTwitter as twitterIcon,
  faFacebookSquare as facebookIcon,
} from '@fortawesome/free-brands-svg-icons';

const ShareButtons = ({ username, pullRequestCount }) => (
  <div className="pb-8 flex justify-center">
    <div className="p-2" id="twitter-share">
      <a
        target="_blank"
        rel="noopener noreferrer"
        className="bg-mid-blue hover:bg-light-pink transition text-white hover:text-white px-2 py-1 pointer no-underline text-sm"
        href={`https://twitter.com/intent/tweet?text=My progress on hacktoberfest ${pullRequestCount} / ${pullRequestAmount}&url=${process.env.REACT_APP_HOSTNAME}/user/${username}&hashtags=hacktoberfest, hacktoberfestchecker`}
        data-size="large"
      >
        <FontAwesomeIcon icon={twitterIcon} size={'lg'} /> Tweet
      </a>
    </div>
    <div
      className="p-2"
      id="fb-share"
      data-href={`${process.env.REACT_APP_HOSTNAME}/user/${username}`}
      data-layout="button"
      data-size="large"
    >
      <a
        target="_blank"
        rel="noopener noreferrer"
        className="fb-xfbml-parse-ignore bg-mid-blue hover:bg-light-pink transition text-white hover:text-white px-2 py-1 pointer no-underline text-sm"
        href={`https://www.facebook.com/sharer/sharer.php?u=${process.env.REACT_APP_HOSTNAME}/user/${username}`}
      >
        <FontAwesomeIcon icon={facebookIcon} size={'lg'} /> Share
      </a>
    </div>
  </div>
);

ShareButtons.propTypes = {
  username: PropTypes.string.isRequired,
  pullRequestCount: PropTypes.number.isRequired,
};<commit_msg>Fix twitter hashtag (#446)<commit_after>import React from 'react';
import PropTypes from 'prop-types';
import pullRequestAmount from './pullRequestAmount';

import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import {
  faTwitter as twitterIcon,
  faFacebookSquare as facebookIcon,
} from '@fortawesome/free-brands-svg-icons';

const ShareButtons = ({ username, pullRequestCount }) => (
  <div className="pb-8 flex justify-center">
    <div className="p-2" id="twitter-share">
      <a
        target="_blank"
        rel="noopener noreferrer"
        className="bg-mid-blue hover:bg-light-pink transition text-white hover:text-white px-2 py-1 pointer no-underline text-sm"
        href={`https://twitter.com/intent/tweet?text=My progress on hacktoberfest ${pullRequestCount} / ${pullRequestAmount}&url=${process.env.REACT_APP_HOSTNAME}/user/${username}&hashtags=hacktoberfest,hacktoberfestchecker`}
        data-size="large"
      >
        <FontAwesomeIcon icon={twitterIcon} size={'lg'} /> Tweet
      </a>
    </div>
    <div
      className="p-2"
      id="fb-share"
      data-href={`${process.env.REACT_APP_HOSTNAME}/user/${username}`}
      data-layout="button"
      data-size="large"
    >
      <a
        target="_blank"
        rel="noopener noreferrer"
        className="fb-xfbml-parse-ignore bg-mid-blue hover:bg-light-pink transition text-white hover:text-white px-2 py-1 pointer no-underline text-sm"
        href={`https://www.facebook.com/sharer/sharer.php?u=${process.env.REACT_APP_HOSTNAME}/user/${username}`}
      >
        <FontAwesomeIcon icon={facebookIcon} size={'lg'} /> Share
      </a>
    </div>
  </div>
);

ShareButtons.propTypes = {
  username: PropTypes.string.isRequired,
  pullRequestCount: PropTypes.number.isRequired,
};
{'fraction_non_alphanumeric': 0.14790723981900453, 'fraction_numerical': 0.004807692307692308, 'mean_word_length': 3.587548638132296, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 29, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4149570', 'n_tokens_mistral': 1151, 'n_tokens_neox': 1146, 'n_words': 198}