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

const mysteryPineapple = require('./mystery_pineapple.gif');

const styles = {
  button: {
    fontSize: '30vmin',
    fontFamily: 'Comic Sans MS',
    fontWeight: '900',
    width: '90vmin',
    height: '90vmin',
    backgroundSize: 'cover',
    WebkitTextFillColor: 'white',
    WebkitTextStroke: '1.5vmin black',
  },
};

const SingleButton = ({ onClick, points, showFront, image }) => {
  const smallImage = `${image}?fm=jpg&fl=progressive&w=600&h=600&fit=thumb`;
  const buttonStyle = Object.assign({}, styles.button, { backgroundImage: `url("${mysteryPineapple}")` });
  let text = points;
  if (points === '80085') {
    text = '\u221e'; // Infinity symbol
  }
  if (points === '80086') {
    text = '';
  }
  if (showFront) {
    Object.assign(buttonStyle, { backgroundImage: `url("${smallImage}")` });
  }
  return (<commit_msg>Create index.jsx<commit_after>import React from 'react';
import PropTypes from 'prop-types';

const mysteryPineapple = require('./mystery_pineapple.gif');

const styles = {
  button: {
    fontSize: '30vmin',
    fontFamily: 'Comic Sans MS',
    fontWeight: '900',
    width: '90vmin',
    height: '90vmin',
    backgroundSize: 'cover',
    WebkitTextFillColor: 'white',
    WebkitTextStroke: '1.5vmin black',
    cursor: 'pointer',
  },
};

const SingleButton = ({ onClick, points, showFront, image }) => {
  const smallImage = `${image}?fm=jpg&fl=progressive&w=600&h=600&fit=thumb`;
  const buttonStyle = Object.assign({}, styles.button, { backgroundImage: `url("${mysteryPineapple}")` });
  let text = points;
  if (points === '80085') {
    text = '\u221e'; // Infinity symbol
  }
  if (points === '80086') {
    text = '';
  }
  if (showFront) {
    Object.assign(buttonStyle, { backgroundImage: `url("${smallImage}")` });
  }
  return (
{'fraction_non_alphanumeric': 0.1781485468245425, 'fraction_numerical': 0.03229278794402583, 'mean_word_length': 4.0379403794037945, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '2257329', 'n_tokens_mistral': 674, 'n_tokens_neox': 636, 'n_words': 139}