<commit_before>import React, { Component } from 'react';

export default class ProgressBar extends Component {
  constructor(props) {
    super(props);
    this.getClass = this.getClass.bind(this);
    this.logo_file_path = '/images/logo/logo_signup_page.png';
  }

  getClass(progressStep) {
    if (progressStep < this.props.progress) {
      return 'visited';
    } else if (progressStep === this.props.progress) {
      return 'active';
    }
    return 'unvisited';
  }

  render() {
    return (
      <div className="header">
        <img src={this.logo_file_path} alt="Sign Up" />
        <ul className="progress-bar">
          <li className={this.getClass(1)} id="progress-details">Details</li>
          <li className={this.getClass(2)} id="progress-finished">Finish</li>
        </ul>
      </div>
    );
  }
}

ProgressBar.propTypes = {
  progress: React.PropTypes.number.isRequired,
};
<commit_msg>inline the logo url again<commit_after>import React, { Component } from 'react';

export default class ProgressBar extends Component {
  constructor(props) {
    super(props);
    this.getClass = this.getClass.bind(this);
  }

  getClass(progressStep) {
    if (progressStep < this.props.progress) {
      return 'visited';
    } else if (progressStep === this.props.progress) {
      return 'active';
    }
    return 'unvisited';
  }

  render() {
    return (
      <div className="header">
        <img src="/images/logo/logo_signup_page.png" alt="Sign Up" />
        <ul className="progress-bar">
          <li className={this.getClass(1)} id="progress-details">Details</li>
          <li className={this.getClass(2)} id="progress-finished">Finish</li>
        </ul>
      </div>
    );
  }
}

ProgressBar.propTypes = {
  progress: React.PropTypes.number.isRequired,
};

{'fraction_non_alphanumeric': 0.14997202014549524, 'fraction_numerical': 0.002238388360380526, 'mean_word_length': 3.008968609865471, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 21, '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': '6599265', 'n_tokens_mistral': 558, 'n_tokens_neox': 559, 'n_words': 106}